-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Added Flags for Assertions & Binary Download
- Loading branch information
Showing
3 changed files
with
35 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,11 @@ None. | |
|
||
Available variables are listed below, along with default values (see defaults/main.yml): | ||
|
||
```yaml | ||
ecomscan_binary_download: true | ||
``` | ||
Boolean to set if we should try and download the latest copy of Ecomscan | ||
```yaml | ||
ecomscan_binary_source: 'https://ecomscan.com/downloads/linux-amd64/ecomscan' | ||
``` | ||
|
@@ -51,6 +56,18 @@ ecomscan_deep: false | |
Boolean toggle to decide if Ecomscan should perform a deep or regular scan | ||
```yaml | ||
ecomscan_assert_no_malware: false | ||
``` | ||
Boolean toggle to decide if we should assert that no malware is present. Is this is set to true, the playbook will exit with code `2`. | ||
|
||
|
||
```yaml | ||
ecomscan_assert_no_vulnerabilities: false | ||
``` | ||
Boolean toggle to decide if we should assert that no vulnerabilities is present. Is this is set to true, the playbook will exit with code `2` | ||
|
||
|
||
## Example Playbook | ||
An example playbook usage | ||
```yaml | ||
|
@@ -86,4 +103,4 @@ magento2: | |
ansible_user: client2_mage_prod | ||
ecomscan_report_email: [email protected],[email protected] | ||
ecomscan_project_root: /var/www/vhosts/prod.client2.com/htdocs/release/ | ||
``` | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters