- Support AWS Multi Account
- Scan the vulnerabilities of Docker images
33d6cea FIX - fix TOC link
a074781 REMOVE - delete no need code
bdb83b1 UPDATE - modify loggging messge format
72052bd UPDATE - restrict module import
144110d UPDATE - add description about trivy
ecd1cbc UPDATE - support trivy option configuration in YAML
51de98a REMOVE - delete docker configurations
0571b5f FIX - failed lint check and test
d2eb7de UPDATE - replace github actions from pipenv to poetry
fff0d85 UPDATE - add packages paramter
5996b15 UPDATE - add config parameters
f92d10a UPDATE - add dist dir
898b04d UPDATE - add version option
2c81300 UPDATE - replace from pipenv to poetry
6961829 UPDATE - modify the timing that get slack data from environment variable
ee53af8 UPDATE - remove pulled images if remove_flag is True and raise exceptions
187fc8a FIX - fix newline of logging message
27dd719 FIX - fix python version
977c4aa FIX - apply matrix version test to pytest CI
0f15122 UPDATE - support matrix python version test
3ed9b36 UPDATE - add files to ignore
e2136b3 REMOVE - delete no need descriptions
c80a718 UPDATE - rename test job name
2f22fd4 UPDATE - modify to check if SLACK_WEBHOOK is set as environment variable when slack option is specified
617ed4a UPDATE - add remove_images to DockerImageHandler
cf6f5ec UPDATE - change RELEASE badge color
679684a UPDATE - modify most of description
a9840a6 UPDATE - rename workflow
79cd501 UPDATE - add comment
32bbe01 UPDATE - add comment
d3dfca4 ADD - create config sample file
b38d780 REMOVE - delete no need code
96a08f5 UPDATE - remove no need logging message
7556d8e UPDATE - allow account_id type is int
7cc2c9a UPDATE - rename from cli to main
84620ba UPDATE - add feature and remove no need description
08555bd FIX - fix key name is wrong
50cc667 UPDATE - add a option to suppress logging message
c09e981 UPDATE - add docker image existance test
0ef5000 UPDATE - create DockerHandler test and remove ECRHandler
05e4339 UPDATE - show the scan result
807fa89 UPDATE - convert from LOGGER to logger
5227397 ADD - add test.yml for test
1cadf0d FIX - boto3.session does not support ecr, so change from session to client
ce2743f FIX - fix argument key name
30731ea UPDATE - add remove_images if rm flag is true
ed82cdd UPDATE - rename from remove to remove_images
faeb2a2 UPDATE - add load configs
10a8cdd UPDATE - modify run function arguments
ddce18c ADD - add pull function to pull images from AWS ECR
1a8b05d UPDATE - add a exception for pull image error
d40945a UPDATE - move remove function from ecr to docker
94e2387 UPDATE - add remove function to remove pulled images
9289f88 UPDATE - change a little
ff7b917 REMOVE - delete no need code
e6b254c REMOVE - remove no need code
3e04152 REMOVE - not import no need module
e529d51 REMOVE - delete no need code
64f0ff4 UPDATE - add create_ecr_client() and remove no need code
a78e04d UPDATE - add two exceptions to raise authorization error
e729c3d UPDATE - move pull and login functions from ecr.py to docker.py
2e97dec FIX - fix a little
eeebe8e REMOVE - delete msg.py bacause it is not used at all
84afc0a UPDATE - translate from japanese to english
8a1a23b ADD - create two functions to set aws credentials as environment variable
8e76797 UPDATE - add debug to know result to set as env var to set_env_from_dict
82ca20a ADD - create utils.py to separate utility functions from ecranner.py
518650e UPDATE - include exception message to be able to know why exception raises
9f3212b UPDATE - cli() returns False when raises KeyboradInterrupt
96caed2 UPDATE - load .env file automatically if .env is found in current working directory
3d14104 UPDATE - change the argument of rename to EnvFileLoader.DEFAULT_FILENAME in case default filename changes
1f2a75e UPDATE - load default env_file (.env) if the one exists in current directory. raise exception if env_file is specified
1c7e621 UPDATE - allow to output logging message
c7e47d0 UPDATE - modify from default_filename class var to DEFAULT_FILENAME that means const var
0cd7b7b UPDATE - suppress traceback when catched KeyboardInterrupt
e6e2e85 UPDATE - modify to take kwargs as argument
13f5ec3 UPDATE - modify main function
cb8cd66 FIX - fix get default file path classmethods for config and dot env
2034918 FIX - change expected result to str object
9417b9b ADD - append test function for default config and dot env path getter
b9ac823 UPDATE - create getter to get default file path for config and dot env
ad1fc5f FIX - fix unexpected value "runs"
1790778 UPDATE - add a step to create dot env file for test
b0bb149 ADD - create ecranner.yml for test
95ee9b1 ADD - create load_yaml and load_dot_env functions
4b714b4 ADD - create ConfigurationNotFoundError exception
e5cd12e ADD - create split_env and set_env_from_dict functions
926b53f ADD - add EnvFileNotFoundError exception
d8d1855 UPDATE - ECRHandler base DockerHandler to make clear boundary between ecr and docker client
38ede54 ADD - create docker.py
313fd1c UPDATE - execute pipenv update
8e49ce2 ADD - create test for config.py
a682cb1 UPDATE - add a test pattern
232f8d6 FIX - fix to read all lines from env_file
b180546 UPDATE - set default value to Loader class
7a395bb UPDATE - move files for test from tests dir to tests/assets dir
c5816bd FIX - modify filepath for tests
fe00483 ADD - create config.py to load config and dot env file
f5a1e0a UPDATE - create NotAFileError exception
663f403 UPDATE - create ConfigurationError exception class
d3ec43a ADD - create ConfigSyntaxError exceptions
88205a7 ADD - create cli.py
a66dc81 UPDATE - add pyyaml module
e05d662 UPDATE - add sys.exit()
c666482 FIX - add newline at end of line
5a5e536 UPDATE - introduce SLACK_FLAG that not post to slack if this equals to 0
fc72d26 fix: change slack_ui url
629cf2e update: renew slack ui image
e3c784f add: runs slack.post with multi thread mode
ab12514 update: dockerd suppress logging and log level is error
8c514b1 update: loose coupling of slack post and generate_payload functions
297c117 add: create SlackNotificationError to raise error when slack response code is not 200
32d363a update: __decode_token returns tuple
4bb0345 update: renew slack ui image
fae26b3 update: make slack UI user-friendly
9548e27 update: add a arg to slack.post
5594b53 update: output logging when login succeed
01dc89d update: change base shell
10936d2 fix: modify ecr.py comments
fc278a4 update: change new slack_ui.png
226a03a update: add a license badge in README
f6c170c fix: missing aws default region when test
63b54cc fix: missing aws credentials when test
43523fa update: integrate lint.yml and test.yml
77d0d7a fix: missing SLACK_WEBHOOK
84c3f1a fix: missing AWS_ACCOUNT_ID environment variable
23610af fix: add TRIVY_VERSION environment for test
31742c3 update: add a GitHub Actions badge for test
39c3fc3 fix: modify event trigger of GitHub Actions
0da0583 update: create test.yml for GitHub Actions
beae337 fix: move os.getenv outside of try-except
7e8efbb fix: ecranner.py comments
de3ec0e update: modify slack ui
a9c090d update: change slatify parameter for new version
95363c2 update: add GitHub Actions badge
6452ae1 update: rename
a405461 fix: LOGGER message to describe docker image already exists
45ede4c update: modify the arguments of custom exceptions
5e627a5 update: add LoginRegistryError
cbb7264 update: check decoded authorization object type
c38a46b update: add DecodeAuthorizationTokenError
b36e5ee update: translate comments to English
8b054e4 update: suppress pytest logging output
f2a77b4 update: modify to copy self.params
3c66cca update: remove awscli because of no need
91ce2a1 update: modify because no use command
d4eec42 update: change ecr method name
69e9791 update: replace command to docker sdk and boto3
50ff052 update: add ecranner script
e81e4e1 update: replace docker pull command to docker sdk
640f398 update: install docker library
61b9c08 add: create file
b7f42a3 update: replace sample slack ui image
7ae07cd update: set slack username
308b0ca update: add description of SLACK_ICON parameter
bdd9033 update: replace new sample image
5d32e00 update: change color if vulnerabilities did not found
601b5f4 update: modify timeout to execute subprocess
d9c4bed update: remove no need module and change trivy command timeout
67e312d update: modify image name
166cbdb update: update the execution procedure
bbb0714 update: change url of slack_ui.png
35bc18b update: remove no need module
2d25696 update: add description for SLACK_CHANNEL parameter
fb845a8 update: replace slack ui image
1cb0bd7 update: change slack channel for github actions
b43b149 Create LICENSE
be7e215 initial commit