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

Dynamically add POC topic based on POC variable #145

Merged
merged 6 commits into from
Oct 23, 2024
Merged

Conversation

levgorbunov1
Copy link
Contributor

No description provided.

@levgorbunov1 levgorbunov1 requested a review from a team as a code owner October 23, 2024 09:34
Copy link
Contributor

Trivy Scan Failed

Show Output ```hcl

Trivy will check the following folders:
.


Running Trivy in .
2024-10-23T09:35:41Z INFO [vulndb] Need to update DB
2024-10-23T09:35:41Z INFO [vulndb] Downloading vulnerability DB...
2024-10-23T09:35:41Z INFO [vulndb] Downloading artifact... repo="ghcr.io/aquasecurity/trivy-db:2"
2024-10-23T09:35:41Z ERROR [vulndb] Failed to download artifact repo="ghcr.io/aquasecurity/trivy-db:2" err="OCI repository error: 1 error occurred:\n\t* GET https://ghcr.io/v2/aquasecurity/trivy-db/manifests/2: TOOMANYREQUESTS: retry-after: 825.822µs, allowed: 44000/minute\n\n"
2024-10-23T09:35:41Z FATAL Fatal error init error: DB error: failed to download vulnerability DB: OCI artifact error: failed to download vulnerability DB: failed to download artifact from any source
trivy_exitcode=1

</details> #### `Checkov Scan` Success
<details><summary>Show Output</summary>

```hcl

*****************************

Checkov will check the following folders:
.

*****************************

Running Checkov in .
Excluding the following checks: CKV_GIT_1
terraform scan results:

Passed checks: 2, Failed checks: 0, Skipped checks: 3

github_actions scan results:

Passed checks: 148, Failed checks: 0, Skipped checks: 0


checkov_exitcode=0

CTFLint Scan Success

Show Output
*****************************

Setting default tflint config...
Running tflint --init...
Installing "terraform" plugin...
Installed "terraform" (source: github.com/terraform-linters/tflint-ruleset-terraform, version: 0.5.0)
tflint will check the following folders:
.

*****************************

Running tflint in .
Excluding the following checks: terraform_unused_declarations
tflint_exitcode=0

Trivy Scan Failed

Show Output
*****************************

Trivy will check the following folders:
.

*****************************

Running Trivy in .
2024-10-23T09:35:41Z	INFO	[vulndb] Need to update DB
2024-10-23T09:35:41Z	INFO	[vulndb] Downloading vulnerability DB...
2024-10-23T09:35:41Z	INFO	[vulndb] Downloading artifact...	repo="ghcr.io/aquasecurity/trivy-db:2"
2024-10-23T09:35:41Z	ERROR	[vulndb] Failed to download artifact	repo="ghcr.io/aquasecurity/trivy-db:2" err="OCI repository error: 1 error occurred:\n\t* GET https://ghcr.io/v2/aquasecurity/trivy-db/manifests/2: TOOMANYREQUESTS: retry-after: 825.822µs, allowed: 44000/minute\n\n"
2024-10-23T09:35:41Z	FATAL	Fatal error	init error: DB error: failed to download vulnerability DB: OCI artifact error: failed to download vulnerability DB: failed to download artifact from any source
trivy_exitcode=1

variables.tf Outdated Show resolved Hide resolved
Copy link
Contributor

Trivy Scan Failed

Show Output ```hcl

Trivy will check the following folders:
.


Running Trivy in .
2024-10-23T09:52:20Z INFO [vulndb] Need to update DB
2024-10-23T09:52:20Z INFO [vulndb] Downloading vulnerability DB...
2024-10-23T09:52:20Z INFO [vulndb] Downloading artifact... repo="ghcr.io/aquasecurity/trivy-db:2"
2024-10-23T09:52:20Z ERROR [vulndb] Failed to download artifact repo="ghcr.io/aquasecurity/trivy-db:2" err="OCI repository error: 1 error occurred:\n\t* GET https://ghcr.io/v2/aquasecurity/trivy-db/manifests/2: TOOMANYREQUESTS: retry-after: 1.057326ms, allowed: 44000/minute\n\n"
2024-10-23T09:52:20Z FATAL Fatal error init error: DB error: failed to download vulnerability DB: OCI artifact error: failed to download vulnerability DB: failed to download artifact from any source
trivy_exitcode=1

</details> #### `Checkov Scan` Success
<details><summary>Show Output</summary>

```hcl

*****************************

Checkov will check the following folders:
.

*****************************

Running Checkov in .
Excluding the following checks: CKV_GIT_1
terraform scan results:

Passed checks: 2, Failed checks: 0, Skipped checks: 3

github_actions scan results:

Passed checks: 148, Failed checks: 0, Skipped checks: 0


checkov_exitcode=0

CTFLint Scan Success

Show Output
*****************************

Setting default tflint config...
Running tflint --init...
Installing "terraform" plugin...
Installed "terraform" (source: github.com/terraform-linters/tflint-ruleset-terraform, version: 0.5.0)
tflint will check the following folders:
.

*****************************

Running tflint in .
Excluding the following checks: terraform_unused_declarations
tflint_exitcode=0

Trivy Scan Failed

Show Output
*****************************

Trivy will check the following folders:
.

*****************************

Running Trivy in .
2024-10-23T09:52:20Z	INFO	[vulndb] Need to update DB
2024-10-23T09:52:20Z	INFO	[vulndb] Downloading vulnerability DB...
2024-10-23T09:52:20Z	INFO	[vulndb] Downloading artifact...	repo="ghcr.io/aquasecurity/trivy-db:2"
2024-10-23T09:52:20Z	ERROR	[vulndb] Failed to download artifact	repo="ghcr.io/aquasecurity/trivy-db:2" err="OCI repository error: 1 error occurred:\n\t* GET https://ghcr.io/v2/aquasecurity/trivy-db/manifests/2: TOOMANYREQUESTS: retry-after: 1.057326ms, allowed: 44000/minute\n\n"
2024-10-23T09:52:20Z	FATAL	Fatal error	init error: DB error: failed to download vulnerability DB: OCI artifact error: failed to download vulnerability DB: failed to download artifact from any source
trivy_exitcode=1

Copy link
Contributor

Trivy Scan Failed

Show Output ```hcl

Trivy will check the following folders:
.


Running Trivy in .
2024-10-23T09:55:15Z INFO [vulndb] Need to update DB
2024-10-23T09:55:15Z INFO [vulndb] Downloading vulnerability DB...
2024-10-23T09:55:15Z INFO [vulndb] Downloading artifact... repo="ghcr.io/aquasecurity/trivy-db:2"
2024-10-23T09:55:15Z ERROR [vulndb] Failed to download artifact repo="ghcr.io/aquasecurity/trivy-db:2" err="OCI repository error: 1 error occurred:\n\t* GET https://ghcr.io/v2/aquasecurity/trivy-db/manifests/2: TOOMANYREQUESTS: retry-after: 310.122µs, allowed: 44000/minute\n\n"
2024-10-23T09:55:15Z FATAL Fatal error init error: DB error: failed to download vulnerability DB: OCI artifact error: failed to download vulnerability DB: failed to download artifact from any source
trivy_exitcode=1

</details> #### `Checkov Scan` Success
<details><summary>Show Output</summary>

```hcl

*****************************

Checkov will check the following folders:
.

*****************************

Running Checkov in .
Excluding the following checks: CKV_GIT_1
terraform scan results:

Passed checks: 2, Failed checks: 0, Skipped checks: 3

github_actions scan results:

Passed checks: 148, Failed checks: 0, Skipped checks: 0


checkov_exitcode=0

CTFLint Scan Success

Show Output
*****************************

Setting default tflint config...
Running tflint --init...
Installing "terraform" plugin...
Installed "terraform" (source: github.com/terraform-linters/tflint-ruleset-terraform, version: 0.5.0)
tflint will check the following folders:
.

*****************************

Running tflint in .
Excluding the following checks: terraform_unused_declarations
tflint_exitcode=0

Trivy Scan Failed

Show Output
*****************************

Trivy will check the following folders:
.

*****************************

Running Trivy in .
2024-10-23T09:55:15Z	INFO	[vulndb] Need to update DB
2024-10-23T09:55:15Z	INFO	[vulndb] Downloading vulnerability DB...
2024-10-23T09:55:15Z	INFO	[vulndb] Downloading artifact...	repo="ghcr.io/aquasecurity/trivy-db:2"
2024-10-23T09:55:15Z	ERROR	[vulndb] Failed to download artifact	repo="ghcr.io/aquasecurity/trivy-db:2" err="OCI repository error: 1 error occurred:\n\t* GET https://ghcr.io/v2/aquasecurity/trivy-db/manifests/2: TOOMANYREQUESTS: retry-after: 310.122µs, allowed: 44000/minute\n\n"
2024-10-23T09:55:15Z	FATAL	Fatal error	init error: DB error: failed to download vulnerability DB: OCI artifact error: failed to download vulnerability DB: failed to download artifact from any source
trivy_exitcode=1

Copy link
Contributor

Trivy Scan Failed

Show Output ```hcl

Trivy will check the following folders:
.


Running Trivy in .
2024-10-23T09:57:45Z INFO [vulndb] Need to update DB
2024-10-23T09:57:45Z INFO [vulndb] Downloading vulnerability DB...
2024-10-23T09:57:45Z INFO [vulndb] Downloading artifact... repo="ghcr.io/aquasecurity/trivy-db:2"
2024-10-23T09:57:46Z ERROR [vulndb] Failed to download artifact repo="ghcr.io/aquasecurity/trivy-db:2" err="oci download error: failed to fetch the layer: GET https://ghcr.io/v2/aquasecurity/trivy-db/blobs/sha256:e2d46a4091d6f9019b0a39f2421b6cdd4014cc053b5934a61ef1752939615f40: TOOMANYREQUESTS: retry-after: 867.843µs, allowed: 44000/minute"
2024-10-23T09:57:46Z FATAL Fatal error init error: DB error: failed to download vulnerability DB: OCI artifact error: failed to download vulnerability DB: failed to download artifact from any source
trivy_exitcode=1

</details> #### `Checkov Scan` Success
<details><summary>Show Output</summary>

```hcl

*****************************

Checkov will check the following folders:
.

*****************************

Running Checkov in .
Excluding the following checks: CKV_GIT_1
terraform scan results:

Passed checks: 2, Failed checks: 0, Skipped checks: 3

github_actions scan results:

Passed checks: 148, Failed checks: 0, Skipped checks: 0


checkov_exitcode=0

CTFLint Scan Success

Show Output
*****************************

Setting default tflint config...
Running tflint --init...
Installing "terraform" plugin...
Installed "terraform" (source: github.com/terraform-linters/tflint-ruleset-terraform, version: 0.5.0)
tflint will check the following folders:
.

*****************************

Running tflint in .
Excluding the following checks: terraform_unused_declarations
tflint_exitcode=0

Trivy Scan Failed

Show Output
*****************************

Trivy will check the following folders:
.

*****************************

Running Trivy in .
2024-10-23T09:57:45Z	INFO	[vulndb] Need to update DB
2024-10-23T09:57:45Z	INFO	[vulndb] Downloading vulnerability DB...
2024-10-23T09:57:45Z	INFO	[vulndb] Downloading artifact...	repo="ghcr.io/aquasecurity/trivy-db:2"
2024-10-23T09:57:46Z	ERROR	[vulndb] Failed to download artifact	repo="ghcr.io/aquasecurity/trivy-db:2" err="oci download error: failed to fetch the layer: GET https://ghcr.io/v2/aquasecurity/trivy-db/blobs/sha256:e2d46a4091d6f9019b0a39f2421b6cdd4014cc053b5934a61ef1752939615f40: TOOMANYREQUESTS: retry-after: 867.843µs, allowed: 44000/minute"
2024-10-23T09:57:46Z	FATAL	Fatal error	init error: DB error: failed to download vulnerability DB: OCI artifact error: failed to download vulnerability DB: failed to download artifact from any source
trivy_exitcode=1

@levgorbunov1 levgorbunov1 merged commit c159462 into main Oct 23, 2024
2 of 3 checks passed
@levgorbunov1 levgorbunov1 deleted the poc-topic branch October 23, 2024 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants