Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat ECR registration #75

Open
wants to merge 19 commits into
base: main
Choose a base branch
from

stack id

5d682b0
Select commit
Loading
Failed to load commit list.
Open

Feat ECR registration #75

stack id
5d682b0
Select commit
Loading
Failed to load commit list.
aws-ia-automator-prod / Static Analysis succeeded Feb 12, 2025 in 0s

Static Analysis

Using config file: /task/635590e6-e978-11ef-867f-8e04f91bcce6/project/.project_config.yml
Step 1/2 : FROM public.ecr.aws/codebuild/amazonlinux2-x86_64-standard:4.0
 ---> 09ce0e823b3f
Step 2/2 : RUN pip3 install taskcat
 ---> Running in ccbb6ab76555
Collecting taskcat
  Downloading taskcat-0.9.56-py3-none-any.whl (123 kB)
Collecting tabulate<1.0,>=0.8.2
  Downloading tabulate-0.9.0-py3-none-any.whl (35 kB)
Requirement already satisfied: urllib3<2 in /root/.pyenv/versions/3.9.17/lib/python3.9/site-packages (from taskcat) (1.26.20)
Collecting yattag<2.0,>=1.10.0
  Downloading yattag-1.16.1.tar.gz (29 kB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting GitPython>=3.1.43
  Downloading GitPython-3.1.44-py3-none-any.whl (207 kB)
Requirement already satisfied: cfn_lint<2.0,>=0.78.1 in /root/.pyenv/versions/3.9.17/lib/python3.9/site-packages (from taskcat) (1.20.2)
Collecting markupsafe==2.0.1
  Downloading MarkupSafe-2.0.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (30 kB)
Collecting dataclasses-jsonschema<2.15.2,>=2.9.0
  Downloading dataclasses_jsonschema-2.15.1-py3-none-any.whl (17 kB)
Requirement already satisfied: setuptools>=40.4.3 in /root/.pyenv/versions/3.9.17/lib/python3.9/site-packages (from taskcat) (57.5.0)
Requirement already satisfied: pip in /root/.pyenv/versions/3.9.17/lib/python3.9/site-packages (from taskcat) (21.3.1)
Requirement already satisfied: docker<8.0,>=7.0 in /root/.pyenv/versions/3.9.17/lib/python3.9/site-packages (from taskcat) (7.1.0)
Collecting jsonschema<4.0,>=3.0
  Downloading jsonschema-3.2.0-py2.py3-none-any.whl (56 kB)
Collecting pathspec==0.10.3
  Downloading pathspec-0.10.3-py3-none-any.whl (29 kB)
Collecting reprint
  Downloading reprint-0.6.0-py2.py3-none-any.whl (6.0 kB)
Requirement already satisfied: PyYAML<7.0,>=6.0 in /root/.pyenv/versions/3.9.17/lib/python3.9/site-packages (from taskcat) (6.0.2)
Requirement already satisfied: boto3<2.0,>=1.9.21 in /root/.pyenv/versions/3.9.17/lib/python3.9/site-packages (from taskcat) (1.36.8)
Collecting dulwich<1.0,>=0.19
  Downloading dulwich-0.22.7-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (982 kB)
Requirement already satisfied: requests>=2.31.0 in /root/.pyenv/versions/3.9.17/lib/python3.9/site-packages (from taskcat) (2.32.3)
Requirement already satisfied: jinja2<4.0,>=3.1.1 in /root/.pyenv/versions/3.9.17/lib/python3.9/site-packages (from taskcat) (3.1.5)
Requirement already satisfied: botocore<2.0,>=1.12.21 in /root/.pyenv/versions/3.9.17/lib/python3.9/site-packages (from taskcat) (1.36.8)
Requirement already satisfied: s3transfer<0.12.0,>=0.11.0 in /root/.pyenv/versions/3.9.17/lib/python3.9/site-packages (from boto3<2.0,>=1.9.21->taskcat) (0.11.2)
Requirement already satisfied: jmespath<2.0.0,>=0.7.1 in /root/.pyenv/versions/3.9.17/lib/python3.9/site-packages (from boto3<2.0,>=1.9.21->taskcat) (1.0.1)
Requirement already satisfied: python-dateutil<3.0.0,>=2.1 in /root/.pyenv/versions/3.9.17/lib/python3.9/site-packages (from botocore<2.0,>=1.12.21->taskcat) (2.9.0.post0)
Requirement already satisfied: sympy>=1.0.0 in /root/.pyenv/versions/3.9.17/lib/python3.9/site-packages (from cfn_lint<2.0,>=0.78.1->taskcat) (1.13.3)
Requirement already satisfied: jsonpatch in /root/.pyenv/versions/3.9.17/lib/python3.9/site-packages (from cfn_lint<2.0,>=0.78.1->taskcat) (1.33)
Requirement already satisfied: aws-sam-translator>=1.94.0 in /root/.pyenv/versions/3.9.17/lib/python3.9/site-packages (from cfn_lint<2.0,>=0.78.1->taskcat) (1.94.0)
Requirement already satisfied: regex in /root/.pyenv/versions/3.9.17/lib/python3.9/site-packages (from cfn_lint<2.0,>=0.78.1->taskcat) (2024.11.6)
Requirement already satisfied: typing_extensions in /root/.pyenv/versions/3.9.17/lib/python3.9/site-packages (from cfn_lint<2.0,>=0.78.1->taskcat) (4.12.2)
Requirement already satisfied: networkx<4,>=2.4 in /root/.pyenv/versions/3.9.17/lib/python3.9/site-packages (from cfn_lint<2.0,>=0.78.1->taskcat) (3.2.1)
Collecting gitdb<5,>=4.0.1
  Downloading gitdb-4.0.12-py3-none-any.whl (62 kB)
Collecting pyrsistent>=0.14.0
  Downloading pyrsistent-0.20.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (117 kB)
Requirement already satisfied: attrs>=17.4.0 in /root/.pyenv/versions/3.9.17/lib/python3.9/site-packages (from jsonschema<4.0,>=3.0->taskcat) (25.1.0)
Requirement already satisfied: six>=1.11.0 in /root/.pyenv/versions/3.9.17/lib/python3.9/site-packages (from jsonschema<4.0,>=3.0->taskcat) (1.17.0)
Requirement already satisfied: idna<4,>=2.5 in /root/.pyenv/versions/3.9.17/lib/python3.9/site-packages (from requests>=2.31.0->taskcat) (3.10)
Requirement already satisfied: certifi>=2017.4.17 in /root/.pyenv/versions/3.9.17/lib/python3.9/site-packages (from requests>=2.31.0->taskcat) (2024.12.14)
Requirement already satisfied: charset-normalizer<4,>=2 in /root/.pyenv/versions/3.9.17/lib/python3.9/site-packages (from requests>=2.31.0->taskcat) (3.4.1)
Requirement already satisfied: colorama in /root/.pyenv/versions/3.9.17/lib/python3.9/site-packages (from reprint->taskcat) (0.4.6)
Collecting backports.shutil-get-terminal-size
  Downloading backports.shutil_get_terminal_size-1.0.0-py2.py3-none-any.whl (6.5 kB)
Requirement already satisfied: pydantic!=1.10.15,!=1.10.17,<3,>=1.8 in /root/.pyenv/versions/3.9.17/lib/python3.9/site-packages (from aws-sam-translator>=1.94.0->cfn_lint<2.0,>=0.78.1->taskcat) (2.10.6)
Collecting smmap<6,>=3.0.1
  Downloading smmap-5.0.2-py3-none-any.whl (24 kB)
Requirement already satisfied: mpmath<1.4,>=1.1.0 in /root/.pyenv/versions/3.9.17/lib/python3.9/site-packages (from sympy>=1.0.0->cfn_lint<2.0,>=0.78.1->taskcat) (1.3.0)
Requirement already satisfied: jsonpointer>=1.9 in /root/.pyenv/versions/3.9.17/lib/python3.9/site-packages (from jsonpatch->cfn_lint<2.0,>=0.78.1->taskcat) (3.0.0)
Requirement already satisfied: pydantic-core==2.27.2 in /root/.pyenv/versions/3.9.17/lib/python3.9/site-packages (from pydantic!=1.10.15,!=1.10.17,<3,>=1.8->aws-sam-translator>=1.94.0->cfn_lint<2.0,>=0.78.1->taskcat) (2.27.2)
Requirement already satisfied: annotated-types>=0.6.0 in /root/.pyenv/versions/3.9.17/lib/python3.9/site-packages (from pydantic!=1.10.15,!=1.10.17,<3,>=1.8->aws-sam-translator>=1.94.0->cfn_lint<2.0,>=0.78.1->taskcat) (0.7.0)
Building wheels for collected packages: yattag
  Building wheel for yattag (setup.py): started
  Building wheel for yattag (setup.py): finished with status 'done'
  Created wheel for yattag: filename=yattag-1.16.1-py3-none-any.whl size=15905 sha256=43f31e57828e2e8ca166f53c53ee7fb996511668280f281f6c4889e7245ad3d6
  Stored in directory: /root/.cache/pip/wheels/cf/f2/35/8117c55b7d22635469f914eb5788ef635682bf9a224dfdfee9
Successfully built yattag
Installing collected packages: pyrsistent, smmap, jsonschema, markupsafe, gitdb, backports.shutil-get-terminal-size, yattag, tabulate, reprint, pathspec, GitPython, dulwich, dataclasses-jsonschema, taskcat
  Attempting uninstall: jsonschema
    Found existing installation: jsonschema 4.23.0
    Uninstalling jsonschema-4.23.0:
      Successfully uninstalled jsonschema-4.23.0
  Attempting uninstall: markupsafe
    Found existing installation: MarkupSafe 3.0.2
    Uninstalling MarkupSafe-3.0.2:
      Successfully uninstalled MarkupSafe-3.0.2
�[91mERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
werkzeug 3.1.3 requires MarkupSafe>=2.1.1, but you have markupsafe 2.0.1 which is incompatible.
�[0m�[91mWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
�[0mSuccessfully installed GitPython-3.1.44 backports.shutil-get-terminal-size-1.0.0 dataclasses-jsonschema-2.15.1 dulwich-0.22.7 gitdb-4.0.12 jsonschema-3.2.0 markupsafe-2.0.1 pathspec-0.10.3 pyrsistent-0.20.0 reprint-0.6.0 smmap-5.0.2 tabulate-0.9.0 taskcat-0.9.56 yattag-1.16.1
�[91mWARNING: You are using pip version 21.3.1; however, version 25.0.1 is available.
You should consider upgrading via the '/root/.pyenv/versions/3.9.17/bin/python3.9 -m pip install --upgrade pip' command.
�[0m ---> 55e6ba8ce5af
sha256:55e6ba8ce5af55be95848347eea923a8f52698ab20a5bcef1e8e2f245bd388fd
Successfully built 55e6ba8ce5af
Successfully tagged custom-image:latest\n
Container created with ID: 7f27c48ca273b9dbe86434ad79c3f0cdf917d5ecdd7b240a7082abf955466a65

===========================================================================
TASK LOGS START
===========================================================================
+ PROJECT_PATH=/task/635590e6-e978-11ef-867f-8e04f91bcce6/project
+ PROJECT_TYPE_PATH=/task/635590e6-e978-11ef-867f-8e04f91bcce6/projecttype
+ cd /task/635590e6-e978-11ef-867f-8e04f91bcce6/project
+ find templates -name '*.yaml' -o -name '*.yml' -o -name '*.json'
+ xargs cfn-lint
+ taskcat lint
 _            _             _   
| |_ __ _ ___| | _____ __ _| |_ 
| __/ _` / __| |/ / __/ _` | __|
| || (_| \__ \   < (_| (_| | |_ 
 \__\__,_|___/_|\_\___\__,_|\__|
                                


version 0.9.56
[INFO   ] : Linting passed for file: /task/635590e6-e978-11ef-867f-8e04f91bcce6/project/templates/eks-root-roles.yml
[INFO   ] : Linting passed for file: /task/635590e6-e978-11ef-867f-8e04f91bcce6/project/templates/aws_cspm_cloudformation_v2.json
[INFO   ] : Linting passed for file: /task/635590e6-e978-11ef-867f-8e04f91bcce6/project/templates/aws_cspm_cloudformation_ioa_comm_gov.json
[INFO   ] : Linting passed for file: /task/635590e6-e978-11ef-867f-8e04f91bcce6/project/templates/eks-protection-stack.yml
[INFO   ] : Linting passed for file: /task/635590e6-e978-11ef-867f-8e04f91bcce6/project/templates/crowdstrike_init_stack.yaml
===========================================================================
TASK LOGS END
===========================================================================