-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #41 from anchore/svietry/cleanup
feat: pass empty string for namespace add account name to log and fix…
- Loading branch information
Showing
6 changed files
with
67 additions
and
34 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
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
log: | ||
# level of logging that anchore-ecs-inventory will do { 'error' | 'info' | 'debug } | ||
level: "info" | ||
|
||
# location to write the log file (default is not to have a log file) | ||
file: "" | ||
|
||
anchore: | ||
# anchore enterprise api url (e.g. http://localhost:8228) | ||
url: $ANCHORE_ECS_INVENTORY_ANCHORE_URL | ||
|
||
# anchore enterprise username | ||
user: $ANCHORE_ECS_INVENTORY_ANCHORE_USER | ||
|
||
# anchore enterprise password | ||
password: ANCHORE_ECS_INVENTORY_ANCHORE_PASSWORD | ||
|
||
# anchore enterprise account that the inventory will be sent | ||
account: $ANCHORE_ECS_INVENTORY_ANCHORE_ACCOUNT | ||
|
||
http: | ||
insecure: true | ||
timeout-seconds: 10 | ||
|
||
# the aws region | ||
region: $ANCHORE_ECS_INVENTORY_REGION | ||
|
||
# frequency of which to poll the region | ||
polling-interval-seconds: 300 | ||
|
||
quiet: false |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,18 +1,15 @@ | ||
version: '2.1' | ||
|
||
services: | ||
anchore-ecs-inventory: | ||
volumes: | ||
- ./config.yaml:/config.yaml:ro | ||
image: anchore/ecs-inventory:latest | ||
image: docker.io/anchore/ecs-inventory:latest | ||
container_name: anchore-ecs-inventory | ||
volumes: | ||
- ./anchore-ecs-inventory.yaml:/.anchore-ecs-inventory.yaml | ||
- ./aws.config:/.aws/credentials | ||
environment: | ||
ANCHORE_ENTERPRISE_API_PASSWORD: ${ANCHORE_ENTERPRISE_API_PASSWORD:-foobar} | ||
AWS_REGION: ${AWS_REGION:-us-west-2} | ||
AWS_ACCESS_KEY_ID: ${AWS_ACCESS_KEY_ID:-bar} | ||
AWS_SECRET_ACCESS_KEY: ${AWS_SECRET_ACCESS_KEY:-foo} | ||
command: | ||
[ | ||
"--config=config.yaml", | ||
"--polling-interval-seconds=300", | ||
"-v" | ||
] | ||
ANCHORE_ECS_INVENTORY_ANCHORE_URL: ${ANCHORE_ECS_INVENTORY_ANCHORE_URL:-http://localhost:8228} | ||
ANCHORE_ECS_INVENTORY_ANCHORE_USER: ${ANCHORE_ECS_INVENTORY_ANCHORE_USER:-admin} | ||
ANCHORE_ECS_INVENTORY_ANCHORE_PASSWORD: ${ANCHORE_ECS_INVENTORY_ANCHORE_PASSWORD:-foobar} | ||
ANCHORE_ECS_INVENTORY_ANCHORE_ACCOUNT: ${ANCHORE_ECS_INVENTORY_ANCHORE_ACCOUNT:-admin} | ||
ANCHORE_ECS_INVENTORY_REGION: ${ANCHORE_ECS_INVENTORY_REGION:-eu-west-2} |
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