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

adding tags to the rest of the environments #9511

Merged
merged 2 commits into from
Mar 11, 2025
Merged

Conversation

markgov
Copy link
Contributor

@markgov markgov commented Mar 11, 2025

A reference to the issue / Description of it

This work covers the environments that i could not add from the second PR due to the docker instance running out of space

How does this PR fix the problem?

add the default tag to the provider files for the rest of the environments excluding the core accounts

How has this been tested?

Please describe the tests that you ran and provide instructions to reproduce.

{Please write here}

Deployment Plan / Instructions

Will this deployment impact the platform and / or services on it?

{Please write here}

Checklist (check x in [ ] of list items)

  • I have performed a self-review of my own code
  • All checks have passed
  • I have made corresponding changes to the documentation
  • Plan and discussed how it should be deployed to PROD (If needed)

Additional comments (if any)

{Please write here}

@markgov markgov requested a review from a team as a code owner March 11, 2025 09:10
Copy link
Contributor

Trivy Scan Success

Show Output ```hcl

Trivy will check the following folders:
terraform/environments/mi-platform
terraform/environments/mlra
terraform/environments/moj-network-operations-centre
terraform/environments/mojfin
terraform/environments/ncas
terraform/environments/nomis-combined-reporting
terraform/environments/nomis-data-hub
terraform/environments/nomis
terraform/environments/oas
terraform/environments/oasys-national-reporting
terraform/environments/oasys
terraform/environments/observability-platform
terraform/environments/operations-engineering
terraform/environments/opg-lpa-data-store
terraform/environments/panda-cyber-appsec-lab
terraform/environments/performance-hub
terraform/environments/planetfm
terraform/environments/portal
terraform/environments/ppud
terraform/environments/pra-register
terraform/environments/refer-monitor
terraform/environments/tipstaff
terraform/environments/tribunals
terraform/environments/wardship
terraform/environments/xhibit-portal
terraform/environments/youth-justice-app-framework


Running Trivy in terraform/environments/mi-platform
2025-03-11T09:12:35Z INFO [vulndb] Need to update DB
2025-03-11T09:12:35Z INFO [vulndb] Downloading vulnerability DB...
2025-03-11T09:12:35Z INFO [vulndb] Downloading artifact... repo="public.ecr.aws/aquasecurity/trivy-db:2"
2025-03-11T09:12:37Z INFO [vulndb] Artifact successfully downloaded repo="public.ecr.aws/aquasecurity/trivy-db:2"
2025-03-11T09:12:37Z INFO [vuln] Vulnerability scanning is enabled
2025-03-11T09:12:37Z INFO [misconfig] Misconfiguration scanning is enabled
2025-03-11T09:12:37Z INFO [misconfig] Need to update the built-in checks
2025-03-11T09:12:37Z INFO [misconfig] Downloading the built-in checks...
163.77 KiB / 163.77 KiB [------------------------------------------------------] 100.00% ? p/s 100ms2025-03-11T09:12:37Z INFO [secret] Secret scanning is enabled
2025-03-11T09:12:37Z INFO [secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-03-11T09:12:37Z INFO [secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-03-11T09:12:38Z INFO [terraform scanner] Scanning root module file_path="."
2025-03-11T09:12:38Z WARN [terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly. module="root" variables="networking"
2025-03-11T09:12:38Z INFO Number of language-specific files num=0
2025-03-11T09:12:38Z INFO Detected config files num=1
trivy_exitcode=0


Running Trivy in terraform/environments/mlra
2025-03-11T09:12:39Z INFO [vuln] Vulnerability scanning is enabled
2025-03-11T09:12:39Z INFO [misconfig] Misconfiguration scanning is enabled
2025-03-11T09:12:39Z INFO [secret] Secret scanning is enabled
2025-03-11T09:12:39Z INFO [secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-03-11T09:12:39Z INFO [secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-03-11T09:12:40Z INFO [terraform scanner] Scanning root module file_path="."
2025-03-11T09:12:40Z WARN [terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly. module="root" variables="networking"
2025-03-11T09:12:40Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ram-ec2-retagging[0].data.aws_subnet.host" value="cty.NilVal"
2025-03-11T09:12:40Z INFO Number of language-specific files num=0
2025-03-11T09:12:40Z INFO Detected config files num=1
trivy_exitcode=0


Running Trivy in terraform/environments/moj-network-operations-centre
2025-03-11T09:12:40Z INFO [vuln] Vulnerability scanning is enabled
2025-03-11T09:12:40Z INFO [misconfig] Misconfiguration scanning is enabled
2025-03-11T09:12:40Z INFO [secret] Secret scanning is enabled
2025-03-11T09:12:40Z INFO [secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-03-11T09:12:40Z INFO [secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-03-11T09:12:41Z INFO [terraform scanner] Scanning root module file_path="."
2025-03-11T09:12:41Z WARN [terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly. module="root" variables="networking"
2025-03-11T09:12:41Z INFO Number of language-specific files num=0
2025-03-11T09:12:41Z INFO Detected config files num=1
trivy_exitcode=0


Running Trivy in terraform/environments/mojfin
2025-03-11T09:12:41Z INFO [vuln] Vulnerability scanning is enabled
2025-03-11T09:12:41Z INFO [misconfig] Misconfiguration scanning is enabled
2025-03-11T09:12:41Z INFO [secret] Secret scanning is enabled
2025-03-11T09:12:41Z INFO [secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-03-11T09:12:41Z INFO [secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-03-11T09:12:42Z INFO [terraform scanner] Scanning root module file_path="."
2025-03-11T09:12:42Z WARN [terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly. module="root" variables="networking"
2025-03-11T09:12:42Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ram-ec2-retagging[0].data.aws_subnet.host" value="cty.NilVal"
2025-03-11T09:12:43Z INFO Number of language-specific files num=0
2025-03-11T09:12:43Z INFO Detected config files num=1
trivy_exitcode=0


Running Trivy in terraform/environments/ncas
2025-03-11T09:12:43Z INFO [vuln] Vulnerability scanning is enabled
2025-03-11T09:12:43Z INFO [misconfig] Misconfiguration scanning is enabled
2025-03-11T09:12:43Z INFO [secret] Secret scanning is enabled
2025-03-11T09:12:43Z INFO [secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-03-11T09:12:43Z INFO [secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-03-11T09:12:44Z INFO [terraform scanner] Scanning root module file_path="."
2025-03-11T09:12:44Z WARN [terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly. module="root" variables="networking"
2025-03-11T09:12:44Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ram-ec2-retagging[0].data.aws_subnet.host" value="cty.NilVal"
2025-03-11T09:12:44Z INFO Number of language-specific files num=0
2025-03-11T09:12:44Z INFO Detected config files num=1
trivy_exitcode=0


Running Trivy in terraform/environments/nomis-combined-reporting
2025-03-11T09:12:44Z INFO [vuln] Vulnerability scanning is enabled
2025-03-11T09:12:44Z INFO [misconfig] Misconfiguration scanning is enabled
2025-03-11T09:12:44Z INFO [secret] Secret scanning is enabled
2025-03-11T09:12:44Z INFO [secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-03-11T09:12:44Z INFO [secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-03-11T09:12:45Z INFO [terraform scanner] Scanning root module file_path="."
2025-03-11T09:12:45Z WARN [terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly. module="root" variables="networking"
2025-03-11T09:12:45Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ram-ec2-retagging[0].data.aws_subnet.host" value="cty.NilVal"
2025-03-11T09:12:45Z INFO Number of language-specific files num=0
2025-03-11T09:12:45Z INFO Detected config files num=1
trivy_exitcode=0


Running Trivy in terraform/environments/nomis-data-hub
2025-03-11T09:12:45Z INFO [vuln] Vulnerability scanning is enabled
2025-03-11T09:12:45Z INFO [misconfig] Misconfiguration scanning is enabled
2025-03-11T09:12:45Z INFO [secret] Secret scanning is enabled
2025-03-11T09:12:45Z INFO [secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-03-11T09:12:45Z INFO [secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-03-11T09:12:46Z INFO [terraform scanner] Scanning root module file_path="."
2025-03-11T09:12:46Z WARN [terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly. module="root" variables="networking"
2025-03-11T09:12:46Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ram-ec2-retagging[0].data.aws_subnet.host" value="cty.NilVal"
2025-03-11T09:12:46Z INFO Number of language-specific files num=0
2025-03-11T09:12:46Z INFO Detected config files num=1
trivy_exitcode=0


Running Trivy in terraform/environments/nomis
2025-03-11T09:12:47Z INFO [vuln] Vulnerability scanning is enabled
2025-03-11T09:12:47Z INFO [misconfig] Misconfiguration scanning is enabled
2025-03-11T09:12:47Z INFO [secret] Secret scanning is enabled
2025-03-11T09:12:47Z INFO [secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-03-11T09:12:47Z INFO [secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-03-11T09:12:48Z INFO [terraform scanner] Scanning root module file_path="."
2025-03-11T09:12:48Z WARN [terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly. module="root" variables="networking"
2025-03-11T09:12:48Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ram-ec2-retagging[0].data.aws_subnet.host" value="cty.NilVal"
2025-03-11T09:12:48Z INFO Number of language-specific files num=0
2025-03-11T09:12:48Z INFO Detected config files num=1
trivy_exitcode=0


Running Trivy in terraform/environments/oas
2025-03-11T09:12:48Z INFO [vuln] Vulnerability scanning is enabled
2025-03-11T09:12:48Z INFO [misconfig] Misconfiguration scanning is enabled
2025-03-11T09:12:48Z INFO [secret] Secret scanning is enabled
2025-03-11T09:12:48Z INFO [secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-03-11T09:12:48Z INFO [secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-03-11T09:12:49Z INFO [terraform scanner] Scanning root module file_path="."
2025-03-11T09:12:49Z WARN [terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly. module="root" variables="networking"
2025-03-11T09:12:49Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ram-ec2-retagging[0].data.aws_subnet.host" value="cty.NilVal"
2025-03-11T09:12:49Z INFO Number of language-specific files num=0
2025-03-11T09:12:49Z INFO Detected config files num=1
trivy_exitcode=0


Running Trivy in terraform/environments/oasys-national-reporting
2025-03-11T09:12:49Z INFO [vuln] Vulnerability scanning is enabled
2025-03-11T09:12:49Z INFO [misconfig] Misconfiguration scanning is enabled
2025-03-11T09:12:49Z INFO [secret] Secret scanning is enabled
2025-03-11T09:12:49Z INFO [secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-03-11T09:12:49Z INFO [secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-03-11T09:12:50Z INFO [terraform scanner] Scanning root module file_path="."
2025-03-11T09:12:50Z WARN [terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly. module="root" variables="networking"
2025-03-11T09:12:50Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ram-ec2-retagging[0].data.aws_subnet.host" value="cty.NilVal"
2025-03-11T09:12:50Z INFO Number of language-specific files num=0
2025-03-11T09:12:50Z INFO Detected config files num=1
trivy_exitcode=0


Running Trivy in terraform/environments/oasys
2025-03-11T09:12:50Z INFO [vuln] Vulnerability scanning is enabled
2025-03-11T09:12:50Z INFO [misconfig] Misconfiguration scanning is enabled
2025-03-11T09:12:50Z INFO [secret] Secret scanning is enabled
2025-03-11T09:12:50Z INFO [secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-03-11T09:12:50Z INFO [secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-03-11T09:12:51Z INFO [terraform scanner] Scanning root module file_path="."
2025-03-11T09:12:51Z WARN [terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly. module="root" variables="networking"
2025-03-11T09:12:51Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ram-ec2-retagging[0].data.aws_subnet.host" value="cty.NilVal"
2025-03-11T09:12:51Z INFO Number of language-specific files num=0
2025-03-11T09:12:51Z INFO Detected config files num=1
trivy_exitcode=0


Running Trivy in terraform/environments/observability-platform
2025-03-11T09:12:52Z INFO [vuln] Vulnerability scanning is enabled
2025-03-11T09:12:52Z INFO [misconfig] Misconfiguration scanning is enabled
2025-03-11T09:12:52Z INFO [secret] Secret scanning is enabled
2025-03-11T09:12:52Z INFO [secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-03-11T09:12:52Z INFO [secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-03-11T09:12:53Z INFO [terraform scanner] Scanning root module file_path="."
2025-03-11T09:12:53Z WARN [terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly. module="root" variables="networking"
2025-03-11T09:12:53Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ram-ec2-retagging[0].data.aws_subnet.host" value="cty.NilVal"
2025-03-11T09:12:53Z INFO Number of language-specific files num=0
2025-03-11T09:12:53Z INFO Detected config files num=1
trivy_exitcode=0


Running Trivy in terraform/environments/operations-engineering
2025-03-11T09:12:53Z INFO [vuln] Vulnerability scanning is enabled
2025-03-11T09:12:53Z INFO [misconfig] Misconfiguration scanning is enabled
2025-03-11T09:12:53Z INFO [secret] Secret scanning is enabled
2025-03-11T09:12:53Z INFO [secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-03-11T09:12:53Z INFO [secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-03-11T09:12:54Z INFO [terraform scanner] Scanning root module file_path="."
2025-03-11T09:12:54Z WARN [terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly. module="root" variables="networking"
2025-03-11T09:12:54Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ram-ec2-retagging[0].data.aws_subnet.host" value="cty.NilVal"
2025-03-11T09:12:54Z INFO Number of language-specific files num=0
2025-03-11T09:12:54Z INFO Detected config files num=1
trivy_exitcode=0


Running Trivy in terraform/environments/opg-lpa-data-store
2025-03-11T09:12:54Z INFO [vuln] Vulnerability scanning is enabled
2025-03-11T09:12:54Z INFO [misconfig] Misconfiguration scanning is enabled
2025-03-11T09:12:54Z INFO [secret] Secret scanning is enabled
2025-03-11T09:12:54Z INFO [secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-03-11T09:12:54Z INFO [secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-03-11T09:12:55Z INFO [terraform scanner] Scanning root module file_path="."
2025-03-11T09:12:55Z WARN [terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly. module="root" variables="networking"
2025-03-11T09:12:55Z INFO Number of language-specific files num=0
2025-03-11T09:12:55Z INFO Detected config files num=1
trivy_exitcode=0


Running Trivy in terraform/environments/panda-cyber-appsec-lab
2025-03-11T09:12:55Z INFO [vuln] Vulnerability scanning is enabled
2025-03-11T09:12:55Z INFO [misconfig] Misconfiguration scanning is enabled
2025-03-11T09:12:55Z INFO [secret] Secret scanning is enabled
2025-03-11T09:12:55Z INFO [secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-03-11T09:12:55Z INFO [secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-03-11T09:12:56Z INFO [terraform scanner] Scanning root module file_path="."
2025-03-11T09:12:56Z WARN [terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly. module="root" variables="networking"
2025-03-11T09:12:56Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ram-ec2-retagging[0].data.aws_subnet.host" value="cty.NilVal"
2025-03-11T09:12:57Z INFO Number of language-specific files num=0
2025-03-11T09:12:57Z INFO Detected config files num=1
trivy_exitcode=0


Running Trivy in terraform/environments/performance-hub
2025-03-11T09:12:57Z INFO [vuln] Vulnerability scanning is enabled
2025-03-11T09:12:57Z INFO [misconfig] Misconfiguration scanning is enabled
2025-03-11T09:12:57Z INFO [secret] Secret scanning is enabled
2025-03-11T09:12:57Z INFO [secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-03-11T09:12:57Z INFO [secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-03-11T09:12:58Z INFO [terraform scanner] Scanning root module file_path="."
2025-03-11T09:12:58Z WARN [terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly. module="root" variables="networking"
2025-03-11T09:12:58Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ram-ec2-retagging[0].data.aws_subnet.host" value="cty.NilVal"
2025-03-11T09:12:58Z INFO Number of language-specific files num=0
2025-03-11T09:12:58Z INFO Detected config files num=1
trivy_exitcode=0


Running Trivy in terraform/environments/planetfm
2025-03-11T09:12:58Z INFO [vuln] Vulnerability scanning is enabled
2025-03-11T09:12:58Z INFO [misconfig] Misconfiguration scanning is enabled
2025-03-11T09:12:58Z INFO [secret] Secret scanning is enabled
2025-03-11T09:12:58Z INFO [secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-03-11T09:12:58Z INFO [secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-03-11T09:12:59Z INFO [terraform scanner] Scanning root module file_path="."
2025-03-11T09:12:59Z WARN [terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly. module="root" variables="networking"
2025-03-11T09:12:59Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ram-ec2-retagging[0].data.aws_subnet.host" value="cty.NilVal"
2025-03-11T09:12:59Z INFO Number of language-specific files num=0
2025-03-11T09:12:59Z INFO Detected config files num=1
trivy_exitcode=0


Running Trivy in terraform/environments/portal
2025-03-11T09:12:59Z INFO [vuln] Vulnerability scanning is enabled
2025-03-11T09:12:59Z INFO [misconfig] Misconfiguration scanning is enabled
2025-03-11T09:12:59Z INFO [secret] Secret scanning is enabled
2025-03-11T09:12:59Z INFO [secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-03-11T09:12:59Z INFO [secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-03-11T09:13:00Z INFO [terraform scanner] Scanning root module file_path="."
2025-03-11T09:13:00Z WARN [terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly. module="root" variables="networking"
2025-03-11T09:13:00Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ram-ec2-retagging[0].data.aws_subnet.host" value="cty.NilVal"
2025-03-11T09:13:00Z INFO Number of language-specific files num=0
2025-03-11T09:13:00Z INFO Detected config files num=1
trivy_exitcode=0


Running Trivy in terraform/environments/ppud
2025-03-11T09:13:00Z INFO [vuln] Vulnerability scanning is enabled
2025-03-11T09:13:00Z INFO [misconfig] Misconfiguration scanning is enabled
2025-03-11T09:13:00Z INFO [secret] Secret scanning is enabled
2025-03-11T09:13:00Z INFO [secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-03-11T09:13:00Z INFO [secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-03-11T09:13:01Z INFO [terraform scanner] Scanning root module file_path="."
2025-03-11T09:13:01Z WARN [terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly. module="root" variables="networking"
2025-03-11T09:13:01Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ram-ec2-retagging[0].data.aws_subnet.host" value="cty.NilVal"
2025-03-11T09:13:02Z INFO Number of language-specific files num=0
2025-03-11T09:13:02Z INFO Detected config files num=1
trivy_exitcode=0


Running Trivy in terraform/environments/pra-register
2025-03-11T09:13:02Z INFO [vuln] Vulnerability scanning is enabled
2025-03-11T09:13:02Z INFO [misconfig] Misconfiguration scanning is enabled
2025-03-11T09:13:02Z INFO [secret] Secret scanning is enabled
2025-03-11T09:13:02Z INFO [secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-03-11T09:13:02Z INFO [secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-03-11T09:13:03Z INFO [terraform scanner] Scanning root module file_path="."
2025-03-11T09:13:03Z WARN [terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly. module="root" variables="networking"
2025-03-11T09:13:03Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ram-ec2-retagging[0].data.aws_subnet.host" value="cty.NilVal"
2025-03-11T09:13:03Z INFO Number of language-specific files num=0
2025-03-11T09:13:03Z INFO Detected config files num=1
trivy_exitcode=0


Running Trivy in terraform/environments/refer-monitor
2025-03-11T09:13:03Z INFO [vuln] Vulnerability scanning is enabled
2025-03-11T09:13:03Z INFO [misconfig] Misconfiguration scanning is enabled
2025-03-11T09:13:03Z INFO [secret] Secret scanning is enabled
2025-03-11T09:13:03Z INFO [secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-03-11T09:13:03Z INFO [secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-03-11T09:13:04Z INFO [terraform scanner] Scanning root module file_path="."
2025-03-11T09:13:04Z WARN [terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly. module="root" variables="networking"
2025-03-11T09:13:04Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ram-ec2-retagging[0].data.aws_subnet.host" value="cty.NilVal"
2025-03-11T09:13:04Z INFO Number of language-specific files num=0
2025-03-11T09:13:04Z INFO Detected config files num=1
trivy_exitcode=0


Running Trivy in terraform/environments/tipstaff
2025-03-11T09:13:04Z INFO [vuln] Vulnerability scanning is enabled
2025-03-11T09:13:04Z INFO [misconfig] Misconfiguration scanning is enabled
2025-03-11T09:13:04Z INFO [secret] Secret scanning is enabled
2025-03-11T09:13:04Z INFO [secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-03-11T09:13:04Z INFO [secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-03-11T09:13:05Z INFO [terraform scanner] Scanning root module file_path="."
2025-03-11T09:13:05Z WARN [terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly. module="root" variables="networking"
2025-03-11T09:13:05Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ram-ec2-retagging[0].data.aws_subnet.host" value="cty.NilVal"
2025-03-11T09:13:05Z INFO Number of language-specific files num=0
2025-03-11T09:13:05Z INFO Detected config files num=1
trivy_exitcode=0


Running Trivy in terraform/environments/tribunals
2025-03-11T09:13:05Z INFO [vuln] Vulnerability scanning is enabled
2025-03-11T09:13:05Z INFO [misconfig] Misconfiguration scanning is enabled
2025-03-11T09:13:05Z INFO [secret] Secret scanning is enabled
2025-03-11T09:13:05Z INFO [secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-03-11T09:13:05Z INFO [secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-03-11T09:13:06Z INFO [terraform scanner] Scanning root module file_path="."
2025-03-11T09:13:06Z WARN [terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly. module="root" variables="networking"
2025-03-11T09:13:06Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ram-ec2-retagging[0].data.aws_subnet.host" value="cty.NilVal"
2025-03-11T09:13:07Z INFO Number of language-specific files num=0
2025-03-11T09:13:07Z INFO Detected config files num=1
trivy_exitcode=0


Running Trivy in terraform/environments/wardship
2025-03-11T09:13:07Z INFO [vuln] Vulnerability scanning is enabled
2025-03-11T09:13:07Z INFO [misconfig] Misconfiguration scanning is enabled
2025-03-11T09:13:07Z INFO [secret] Secret scanning is enabled
2025-03-11T09:13:07Z INFO [secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-03-11T09:13:07Z INFO [secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-03-11T09:13:08Z INFO [terraform scanner] Scanning root module file_path="."
2025-03-11T09:13:08Z WARN [terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly. module="root" variables="networking"
2025-03-11T09:13:08Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ram-ec2-retagging[0].data.aws_subnet.host" value="cty.NilVal"
2025-03-11T09:13:08Z INFO Number of language-specific files num=0
2025-03-11T09:13:08Z INFO Detected config files num=2
trivy_exitcode=0


Running Trivy in terraform/environments/xhibit-portal
2025-03-11T09:13:08Z INFO [vuln] Vulnerability scanning is enabled
2025-03-11T09:13:08Z INFO [misconfig] Misconfiguration scanning is enabled
2025-03-11T09:13:08Z INFO [secret] Secret scanning is enabled
2025-03-11T09:13:08Z INFO [secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-03-11T09:13:08Z INFO [secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-03-11T09:13:09Z INFO [terraform scanner] Scanning root module file_path="."
2025-03-11T09:13:09Z WARN [terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly. module="root" variables="networking"
2025-03-11T09:13:09Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ram-ec2-retagging[0].data.aws_subnet.host" value="cty.NilVal"
2025-03-11T09:13:09Z INFO Number of language-specific files num=0
2025-03-11T09:13:09Z INFO Detected config files num=1
trivy_exitcode=0


Running Trivy in terraform/environments/youth-justice-app-framework
2025-03-11T09:13:09Z INFO [vuln] Vulnerability scanning is enabled
2025-03-11T09:13:09Z INFO [misconfig] Misconfiguration scanning is enabled
2025-03-11T09:13:09Z INFO [secret] Secret scanning is enabled
2025-03-11T09:13:09Z INFO [secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-03-11T09:13:09Z INFO [secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-03-11T09:13:10Z INFO [terraform scanner] Scanning root module file_path="."
2025-03-11T09:13:10Z WARN [terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly. module="root" variables="networking"
2025-03-11T09:13:10Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ram-ec2-retagging[0].data.aws_subnet.host" value="cty.NilVal"
2025-03-11T09:13:10Z INFO Number of language-specific files num=0
2025-03-11T09:13:10Z INFO Detected config files num=2
trivy_exitcode=0

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

```hcl

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

Checkov will check the following folders:
terraform/environments/mi-platform
terraform/environments/mlra
terraform/environments/moj-network-operations-centre
terraform/environments/mojfin
terraform/environments/ncas
terraform/environments/nomis-combined-reporting
terraform/environments/nomis-data-hub
terraform/environments/nomis
terraform/environments/oas
terraform/environments/oasys-national-reporting
terraform/environments/oasys
terraform/environments/observability-platform
terraform/environments/operations-engineering
terraform/environments/opg-lpa-data-store
terraform/environments/panda-cyber-appsec-lab
terraform/environments/performance-hub
terraform/environments/planetfm
terraform/environments/portal
terraform/environments/ppud
terraform/environments/pra-register
terraform/environments/refer-monitor
terraform/environments/tipstaff
terraform/environments/tribunals
terraform/environments/wardship
terraform/environments/xhibit-portal
terraform/environments/youth-justice-app-framework

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

Running Checkov in terraform/environments/mi-platform
Excluding the following checks: CKV_GIT_1,CKV_AWS_126,CKV2_AWS_38,CKV2_AWS_39
terraform scan results:

Passed checks: 5, Failed checks: 0, Skipped checks: 0


checkov_exitcode=0

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

Running Checkov in terraform/environments/mlra
Excluding the following checks: CKV_GIT_1,CKV_AWS_126,CKV2_AWS_38,CKV2_AWS_39
terraform scan results:

Passed checks: 5, Failed checks: 0, Skipped checks: 0


checkov_exitcode=0

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

Running Checkov in terraform/environments/moj-network-operations-centre
Excluding the following checks: CKV_GIT_1,CKV_AWS_126,CKV2_AWS_38,CKV2_AWS_39
terraform scan results:

Passed checks: 5, Failed checks: 0, Skipped checks: 0


checkov_exitcode=0

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

Running Checkov in terraform/environments/mojfin
Excluding the following checks: CKV_GIT_1,CKV_AWS_126,CKV2_AWS_38,CKV2_AWS_39
terraform scan results:

Passed checks: 5, Failed checks: 0, Skipped checks: 0


checkov_exitcode=0

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

Running Checkov in terraform/environments/ncas
Excluding the following checks: CKV_GIT_1,CKV_AWS_126,CKV2_AWS_38,CKV2_AWS_39
terraform scan results:

Passed checks: 5, Failed checks: 0, Skipped checks: 0


checkov_exitcode=0

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

Running Checkov in terraform/environments/nomis-combined-reporting
Excluding the following checks: CKV_GIT_1,CKV_AWS_126,CKV2_AWS_38,CKV2_AWS_39
terraform scan results:

Passed checks: 5, Failed checks: 0, Skipped checks: 0


checkov_exitcode=0

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

Running Checkov in terraform/environments/nomis-data-hub
Excluding the following checks: CKV_GIT_1,CKV_AWS_126,CKV2_AWS_38,CKV2_AWS_39
terraform scan results:

Passed checks: 5, Failed checks: 0, Skipped checks: 0


checkov_exitcode=0

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

Running Checkov in terraform/environments/nomis
Excluding the following checks: CKV_GIT_1,CKV_AWS_126,CKV2_AWS_38,CKV2_AWS_39
terraform scan results:

Passed checks: 5, Failed checks: 0, Skipped checks: 0


checkov_exitcode=0

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

Running Checkov in terraform/environments/oas
Excluding the following checks: CKV_GIT_1,CKV_AWS_126,CKV2_AWS_38,CKV2_AWS_39
terraform scan results:

Passed checks: 5, Failed checks: 0, Skipped checks: 0


checkov_exitcode=0

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

Running Checkov in terraform/environments/oasys-national-reporting
Excluding the following checks: CKV_GIT_1,CKV_AWS_126,CKV2_AWS_38,CKV2_AWS_39
terraform scan results:

Passed checks: 5, Failed checks: 0, Skipped checks: 0


checkov_exitcode=0

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

Running Checkov in terraform/environments/oasys
Excluding the following checks: CKV_GIT_1,CKV_AWS_126,CKV2_AWS_38,CKV2_AWS_39
terraform scan results:

Passed checks: 5, Failed checks: 0, Skipped checks: 0


checkov_exitcode=0

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

Running Checkov in terraform/environments/observability-platform
Excluding the following checks: CKV_GIT_1,CKV_AWS_126,CKV2_AWS_38,CKV2_AWS_39
terraform scan results:

Passed checks: 5, Failed checks: 0, Skipped checks: 0


checkov_exitcode=0

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

Running Checkov in terraform/environments/operations-engineering
Excluding the following checks: CKV_GIT_1,CKV_AWS_126,CKV2_AWS_38,CKV2_AWS_39
terraform scan results:

Passed checks: 5, Failed checks: 0, Skipped checks: 0


checkov_exitcode=0

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

Running Checkov in terraform/environments/opg-lpa-data-store
Excluding the following checks: CKV_GIT_1,CKV_AWS_126,CKV2_AWS_38,CKV2_AWS_39
terraform scan results:

Passed checks: 5, Failed checks: 0, Skipped checks: 0


checkov_exitcode=0

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

Running Checkov in terraform/environments/panda-cyber-appsec-lab
Excluding the following checks: CKV_GIT_1,CKV_AWS_126,CKV2_AWS_38,CKV2_AWS_39
terraform scan results:

Passed checks: 5, Failed checks: 0, Skipped checks: 0


checkov_exitcode=0

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

Running Checkov in terraform/environments/performance-hub
Excluding the following checks: CKV_GIT_1,CKV_AWS_126,CKV2_AWS_38,CKV2_AWS_39
terraform scan results:

Passed checks: 5, Failed checks: 0, Skipped checks: 0


checkov_exitcode=0

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

Running Checkov in terraform/environments/planetfm
Excluding the following checks: CKV_GIT_1,CKV_AWS_126,CKV2_AWS_38,CKV2_AWS_39
terraform scan results:

Passed checks: 5, Failed checks: 0, Skipped checks: 0


checkov_exitcode=0

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

Running Checkov in terraform/environments/portal
Excluding the following checks: CKV_GIT_1,CKV_AWS_126,CKV2_AWS_38,CKV2_AWS_39
terraform scan results:

Passed checks: 5, Failed checks: 0, Skipped checks: 0


checkov_exitcode=0

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

Running Checkov in terraform/environments/ppud
Excluding the following checks: CKV_GIT_1,CKV_AWS_126,CKV2_AWS_38,CKV2_AWS_39
terraform scan results:

Passed checks: 5, Failed checks: 0, Skipped checks: 0


checkov_exitcode=0

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

Running Checkov in terraform/environments/pra-register
Excluding the following checks: CKV_GIT_1,CKV_AWS_126,CKV2_AWS_38,CKV2_AWS_39
terraform scan results:

Passed checks: 6, Failed checks: 0, Skipped checks: 1


checkov_exitcode=0

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

Running Checkov in terraform/environments/refer-monitor
Excluding the following checks: CKV_GIT_1,CKV_AWS_126,CKV2_AWS_38,CKV2_AWS_39
terraform scan results:

Passed checks: 5, Failed checks: 0, Skipped checks: 0


checkov_exitcode=0

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

Running Checkov in terraform/environments/tipstaff
Excluding the following checks: CKV_GIT_1,CKV_AWS_126,CKV2_AWS_38,CKV2_AWS_39
terraform scan results:

Passed checks: 5, Failed checks: 0, Skipped checks: 0


checkov_exitcode=0

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

Running Checkov in terraform/environments/tribunals
Excluding the following checks: CKV_GIT_1,CKV_AWS_126,CKV2_AWS_38,CKV2_AWS_39
terraform scan results:

Passed checks: 5, Failed checks: 0, Skipped checks: 0


checkov_exitcode=0

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

Running Checkov in terraform/environments/wardship
Excluding the following checks: CKV_GIT_1,CKV_AWS_126,CKV2_AWS_38,CKV2_AWS_39
terraform scan results:

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


checkov_exitcode=0

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

Running Checkov in terraform/environments/xhibit-portal
Excluding the following checks: CKV_GIT_1,CKV_AWS_126,CKV2_AWS_38,CKV2_AWS_39
terraform scan results:

Passed checks: 5, Failed checks: 0, Skipped checks: 0


checkov_exitcode=0

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

Running Checkov in terraform/environments/youth-justice-app-framework
Excluding the following checks: CKV_GIT_1,CKV_AWS_126,CKV2_AWS_38,CKV2_AWS_39
terraform scan results:

Passed checks: 19, Failed checks: 0, Skipped checks: 5


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.9.1)
tflint will check the following folders:
terraform/environments/mi-platform
terraform/environments/mlra
terraform/environments/moj-network-operations-centre
terraform/environments/mojfin
terraform/environments/ncas
terraform/environments/nomis-combined-reporting
terraform/environments/nomis-data-hub
terraform/environments/nomis
terraform/environments/oas
terraform/environments/oasys-national-reporting
terraform/environments/oasys
terraform/environments/observability-platform
terraform/environments/operations-engineering
terraform/environments/opg-lpa-data-store
terraform/environments/panda-cyber-appsec-lab
terraform/environments/performance-hub
terraform/environments/planetfm
terraform/environments/portal
terraform/environments/ppud
terraform/environments/pra-register
terraform/environments/refer-monitor
terraform/environments/tipstaff
terraform/environments/tribunals
terraform/environments/wardship
terraform/environments/xhibit-portal
terraform/environments/youth-justice-app-framework

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

Running tflint in terraform/environments/mi-platform
Excluding the following checks: terraform_unused_declarations
tflint_exitcode=0

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

Running tflint in terraform/environments/mlra
Excluding the following checks: terraform_unused_declarations
tflint_exitcode=0

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

Running tflint in terraform/environments/moj-network-operations-centre
Excluding the following checks: terraform_unused_declarations
tflint_exitcode=0

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

Running tflint in terraform/environments/mojfin
Excluding the following checks: terraform_unused_declarations
tflint_exitcode=0

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

Running tflint in terraform/environments/ncas
Excluding the following checks: terraform_unused_declarations
tflint_exitcode=0

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

Running tflint in terraform/environments/nomis-combined-reporting
Excluding the following checks: terraform_unused_declarations
tflint_exitcode=0

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

Running tflint in terraform/environments/nomis-data-hub
Excluding the following checks: terraform_unused_declarations
tflint_exitcode=0

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

Running tflint in terraform/environments/nomis
Excluding the following checks: terraform_unused_declarations
tflint_exitcode=0

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

Running tflint in terraform/environments/oas
Excluding the following checks: terraform_unused_declarations
tflint_exitcode=0

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

Running tflint in terraform/environments/oasys-national-reporting
Excluding the following checks: terraform_unused_declarations
tflint_exitcode=0

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

Running tflint in terraform/environments/oasys
Excluding the following checks: terraform_unused_declarations
tflint_exitcode=0

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

Running tflint in terraform/environments/observability-platform
Excluding the following checks: terraform_unused_declarations
tflint_exitcode=0

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

Running tflint in terraform/environments/operations-engineering
Excluding the following checks: terraform_unused_declarations
tflint_exitcode=0

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

Running tflint in terraform/environments/opg-lpa-data-store
Excluding the following checks: terraform_unused_declarations
tflint_exitcode=0

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

Running tflint in terraform/environments/panda-cyber-appsec-lab
Excluding the following checks: terraform_unused_declarations
tflint_exitcode=0

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

Running tflint in terraform/environments/performance-hub
Excluding the following checks: terraform_unused_declarations
tflint_exitcode=0

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

Running tflint in terraform/environments/planetfm
Excluding the following checks: terraform_unused_declarations
tflint_exitcode=0

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

Running tflint in terraform/environments/portal
Excluding the following checks: terraform_unused_declarations
tflint_exitcode=0

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

Running tflint in terraform/environments/ppud
Excluding the following checks: terraform_unused_declarations
tflint_exitcode=0

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

Running tflint in terraform/environments/pra-register
Excluding the following checks: terraform_unused_declarations
tflint_exitcode=0

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

Running tflint in terraform/environments/refer-monitor
Excluding the following checks: terraform_unused_declarations
tflint_exitcode=0

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

Running tflint in terraform/environments/tipstaff
Excluding the following checks: terraform_unused_declarations
tflint_exitcode=0

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

Running tflint in terraform/environments/tribunals
Excluding the following checks: terraform_unused_declarations
tflint_exitcode=0

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

Running tflint in terraform/environments/wardship
Excluding the following checks: terraform_unused_declarations
tflint_exitcode=0

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

Running tflint in terraform/environments/xhibit-portal
Excluding the following checks: terraform_unused_declarations
tflint_exitcode=0

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

Running tflint in terraform/environments/youth-justice-app-framework
Excluding the following checks: terraform_unused_declarations
tflint_exitcode=0

Trivy Scan Success

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

Trivy will check the following folders:
terraform/environments/mi-platform
terraform/environments/mlra
terraform/environments/moj-network-operations-centre
terraform/environments/mojfin
terraform/environments/ncas
terraform/environments/nomis-combined-reporting
terraform/environments/nomis-data-hub
terraform/environments/nomis
terraform/environments/oas
terraform/environments/oasys-national-reporting
terraform/environments/oasys
terraform/environments/observability-platform
terraform/environments/operations-engineering
terraform/environments/opg-lpa-data-store
terraform/environments/panda-cyber-appsec-lab
terraform/environments/performance-hub
terraform/environments/planetfm
terraform/environments/portal
terraform/environments/ppud
terraform/environments/pra-register
terraform/environments/refer-monitor
terraform/environments/tipstaff
terraform/environments/tribunals
terraform/environments/wardship
terraform/environments/xhibit-portal
terraform/environments/youth-justice-app-framework

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

Running Trivy in terraform/environments/mi-platform
2025-03-11T09:12:35Z	INFO	[vulndb] Need to update DB
2025-03-11T09:12:35Z	INFO	[vulndb] Downloading vulnerability DB...
2025-03-11T09:12:35Z	INFO	[vulndb] Downloading artifact...	repo="public.ecr.aws/aquasecurity/trivy-db:2"
2025-03-11T09:12:37Z	INFO	[vulndb] Artifact successfully downloaded	repo="public.ecr.aws/aquasecurity/trivy-db:2"
2025-03-11T09:12:37Z	INFO	[vuln] Vulnerability scanning is enabled
2025-03-11T09:12:37Z	INFO	[misconfig] Misconfiguration scanning is enabled
2025-03-11T09:12:37Z	INFO	[misconfig] Need to update the built-in checks
2025-03-11T09:12:37Z	INFO	[misconfig] Downloading the built-in checks...
163.77 KiB / 163.77 KiB [------------------------------------------------------] 100.00% ? p/s 100ms2025-03-11T09:12:37Z	INFO	[secret] Secret scanning is enabled
2025-03-11T09:12:37Z	INFO	[secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-03-11T09:12:37Z	INFO	[secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-03-11T09:12:38Z	INFO	[terraform scanner] Scanning root module	file_path="."
2025-03-11T09:12:38Z	WARN	[terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly.	module="root" variables="networking"
2025-03-11T09:12:38Z	INFO	Number of language-specific files	num=0
2025-03-11T09:12:38Z	INFO	Detected config files	num=1
trivy_exitcode=0

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

Running Trivy in terraform/environments/mlra
2025-03-11T09:12:39Z	INFO	[vuln] Vulnerability scanning is enabled
2025-03-11T09:12:39Z	INFO	[misconfig] Misconfiguration scanning is enabled
2025-03-11T09:12:39Z	INFO	[secret] Secret scanning is enabled
2025-03-11T09:12:39Z	INFO	[secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-03-11T09:12:39Z	INFO	[secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-03-11T09:12:40Z	INFO	[terraform scanner] Scanning root module	file_path="."
2025-03-11T09:12:40Z	WARN	[terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly.	module="root" variables="networking"
2025-03-11T09:12:40Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ram-ec2-retagging[0].data.aws_subnet.host" value="cty.NilVal"
2025-03-11T09:12:40Z	INFO	Number of language-specific files	num=0
2025-03-11T09:12:40Z	INFO	Detected config files	num=1
trivy_exitcode=0

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

Running Trivy in terraform/environments/moj-network-operations-centre
2025-03-11T09:12:40Z	INFO	[vuln] Vulnerability scanning is enabled
2025-03-11T09:12:40Z	INFO	[misconfig] Misconfiguration scanning is enabled
2025-03-11T09:12:40Z	INFO	[secret] Secret scanning is enabled
2025-03-11T09:12:40Z	INFO	[secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-03-11T09:12:40Z	INFO	[secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-03-11T09:12:41Z	INFO	[terraform scanner] Scanning root module	file_path="."
2025-03-11T09:12:41Z	WARN	[terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly.	module="root" variables="networking"
2025-03-11T09:12:41Z	INFO	Number of language-specific files	num=0
2025-03-11T09:12:41Z	INFO	Detected config files	num=1
trivy_exitcode=0

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

Running Trivy in terraform/environments/mojfin
2025-03-11T09:12:41Z	INFO	[vuln] Vulnerability scanning is enabled
2025-03-11T09:12:41Z	INFO	[misconfig] Misconfiguration scanning is enabled
2025-03-11T09:12:41Z	INFO	[secret] Secret scanning is enabled
2025-03-11T09:12:41Z	INFO	[secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-03-11T09:12:41Z	INFO	[secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-03-11T09:12:42Z	INFO	[terraform scanner] Scanning root module	file_path="."
2025-03-11T09:12:42Z	WARN	[terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly.	module="root" variables="networking"
2025-03-11T09:12:42Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ram-ec2-retagging[0].data.aws_subnet.host" value="cty.NilVal"
2025-03-11T09:12:43Z	INFO	Number of language-specific files	num=0
2025-03-11T09:12:43Z	INFO	Detected config files	num=1
trivy_exitcode=0

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

Running Trivy in terraform/environments/ncas
2025-03-11T09:12:43Z	INFO	[vuln] Vulnerability scanning is enabled
2025-03-11T09:12:43Z	INFO	[misconfig] Misconfiguration scanning is enabled
2025-03-11T09:12:43Z	INFO	[secret] Secret scanning is enabled
2025-03-11T09:12:43Z	INFO	[secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-03-11T09:12:43Z	INFO	[secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-03-11T09:12:44Z	INFO	[terraform scanner] Scanning root module	file_path="."
2025-03-11T09:12:44Z	WARN	[terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly.	module="root" variables="networking"
2025-03-11T09:12:44Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ram-ec2-retagging[0].data.aws_subnet.host" value="cty.NilVal"
2025-03-11T09:12:44Z	INFO	Number of language-specific files	num=0
2025-03-11T09:12:44Z	INFO	Detected config files	num=1
trivy_exitcode=0

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

Running Trivy in terraform/environments/nomis-combined-reporting
2025-03-11T09:12:44Z	INFO	[vuln] Vulnerability scanning is enabled
2025-03-11T09:12:44Z	INFO	[misconfig] Misconfiguration scanning is enabled
2025-03-11T09:12:44Z	INFO	[secret] Secret scanning is enabled
2025-03-11T09:12:44Z	INFO	[secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-03-11T09:12:44Z	INFO	[secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-03-11T09:12:45Z	INFO	[terraform scanner] Scanning root module	file_path="."
2025-03-11T09:12:45Z	WARN	[terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly.	module="root" variables="networking"
2025-03-11T09:12:45Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ram-ec2-retagging[0].data.aws_subnet.host" value="cty.NilVal"
2025-03-11T09:12:45Z	INFO	Number of language-specific files	num=0
2025-03-11T09:12:45Z	INFO	Detected config files	num=1
trivy_exitcode=0

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

Running Trivy in terraform/environments/nomis-data-hub
2025-03-11T09:12:45Z	INFO	[vuln] Vulnerability scanning is enabled
2025-03-11T09:12:45Z	INFO	[misconfig] Misconfiguration scanning is enabled
2025-03-11T09:12:45Z	INFO	[secret] Secret scanning is enabled
2025-03-11T09:12:45Z	INFO	[secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-03-11T09:12:45Z	INFO	[secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-03-11T09:12:46Z	INFO	[terraform scanner] Scanning root module	file_path="."
2025-03-11T09:12:46Z	WARN	[terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly.	module="root" variables="networking"
2025-03-11T09:12:46Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ram-ec2-retagging[0].data.aws_subnet.host" value="cty.NilVal"
2025-03-11T09:12:46Z	INFO	Number of language-specific files	num=0
2025-03-11T09:12:46Z	INFO	Detected config files	num=1
trivy_exitcode=0

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

Running Trivy in terraform/environments/nomis
2025-03-11T09:12:47Z	INFO	[vuln] Vulnerability scanning is enabled
2025-03-11T09:12:47Z	INFO	[misconfig] Misconfiguration scanning is enabled
2025-03-11T09:12:47Z	INFO	[secret] Secret scanning is enabled
2025-03-11T09:12:47Z	INFO	[secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-03-11T09:12:47Z	INFO	[secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-03-11T09:12:48Z	INFO	[terraform scanner] Scanning root module	file_path="."
2025-03-11T09:12:48Z	WARN	[terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly.	module="root" variables="networking"
2025-03-11T09:12:48Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ram-ec2-retagging[0].data.aws_subnet.host" value="cty.NilVal"
2025-03-11T09:12:48Z	INFO	Number of language-specific files	num=0
2025-03-11T09:12:48Z	INFO	Detected config files	num=1
trivy_exitcode=0

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

Running Trivy in terraform/environments/oas
2025-03-11T09:12:48Z	INFO	[vuln] Vulnerability scanning is enabled
2025-03-11T09:12:48Z	INFO	[misconfig] Misconfiguration scanning is enabled
2025-03-11T09:12:48Z	INFO	[secret] Secret scanning is enabled
2025-03-11T09:12:48Z	INFO	[secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-03-11T09:12:48Z	INFO	[secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-03-11T09:12:49Z	INFO	[terraform scanner] Scanning root module	file_path="."
2025-03-11T09:12:49Z	WARN	[terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly.	module="root" variables="networking"
2025-03-11T09:12:49Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ram-ec2-retagging[0].data.aws_subnet.host" value="cty.NilVal"
2025-03-11T09:12:49Z	INFO	Number of language-specific files	num=0
2025-03-11T09:12:49Z	INFO	Detected config files	num=1
trivy_exitcode=0

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

Running Trivy in terraform/environments/oasys-national-reporting
2025-03-11T09:12:49Z	INFO	[vuln] Vulnerability scanning is enabled
2025-03-11T09:12:49Z	INFO	[misconfig] Misconfiguration scanning is enabled
2025-03-11T09:12:49Z	INFO	[secret] Secret scanning is enabled
2025-03-11T09:12:49Z	INFO	[secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-03-11T09:12:49Z	INFO	[secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-03-11T09:12:50Z	INFO	[terraform scanner] Scanning root module	file_path="."
2025-03-11T09:12:50Z	WARN	[terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly.	module="root" variables="networking"
2025-03-11T09:12:50Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ram-ec2-retagging[0].data.aws_subnet.host" value="cty.NilVal"
2025-03-11T09:12:50Z	INFO	Number of language-specific files	num=0
2025-03-11T09:12:50Z	INFO	Detected config files	num=1
trivy_exitcode=0

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

Running Trivy in terraform/environments/oasys
2025-03-11T09:12:50Z	INFO	[vuln] Vulnerability scanning is enabled
2025-03-11T09:12:50Z	INFO	[misconfig] Misconfiguration scanning is enabled
2025-03-11T09:12:50Z	INFO	[secret] Secret scanning is enabled
2025-03-11T09:12:50Z	INFO	[secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-03-11T09:12:50Z	INFO	[secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-03-11T09:12:51Z	INFO	[terraform scanner] Scanning root module	file_path="."
2025-03-11T09:12:51Z	WARN	[terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly.	module="root" variables="networking"
2025-03-11T09:12:51Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ram-ec2-retagging[0].data.aws_subnet.host" value="cty.NilVal"
2025-03-11T09:12:51Z	INFO	Number of language-specific files	num=0
2025-03-11T09:12:51Z	INFO	Detected config files	num=1
trivy_exitcode=0

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

Running Trivy in terraform/environments/observability-platform
2025-03-11T09:12:52Z	INFO	[vuln] Vulnerability scanning is enabled
2025-03-11T09:12:52Z	INFO	[misconfig] Misconfiguration scanning is enabled
2025-03-11T09:12:52Z	INFO	[secret] Secret scanning is enabled
2025-03-11T09:12:52Z	INFO	[secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-03-11T09:12:52Z	INFO	[secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-03-11T09:12:53Z	INFO	[terraform scanner] Scanning root module	file_path="."
2025-03-11T09:12:53Z	WARN	[terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly.	module="root" variables="networking"
2025-03-11T09:12:53Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ram-ec2-retagging[0].data.aws_subnet.host" value="cty.NilVal"
2025-03-11T09:12:53Z	INFO	Number of language-specific files	num=0
2025-03-11T09:12:53Z	INFO	Detected config files	num=1
trivy_exitcode=0

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

Running Trivy in terraform/environments/operations-engineering
2025-03-11T09:12:53Z	INFO	[vuln] Vulnerability scanning is enabled
2025-03-11T09:12:53Z	INFO	[misconfig] Misconfiguration scanning is enabled
2025-03-11T09:12:53Z	INFO	[secret] Secret scanning is enabled
2025-03-11T09:12:53Z	INFO	[secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-03-11T09:12:53Z	INFO	[secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-03-11T09:12:54Z	INFO	[terraform scanner] Scanning root module	file_path="."
2025-03-11T09:12:54Z	WARN	[terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly.	module="root" variables="networking"
2025-03-11T09:12:54Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ram-ec2-retagging[0].data.aws_subnet.host" value="cty.NilVal"
2025-03-11T09:12:54Z	INFO	Number of language-specific files	num=0
2025-03-11T09:12:54Z	INFO	Detected config files	num=1
trivy_exitcode=0

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

Running Trivy in terraform/environments/opg-lpa-data-store
2025-03-11T09:12:54Z	INFO	[vuln] Vulnerability scanning is enabled
2025-03-11T09:12:54Z	INFO	[misconfig] Misconfiguration scanning is enabled
2025-03-11T09:12:54Z	INFO	[secret] Secret scanning is enabled
2025-03-11T09:12:54Z	INFO	[secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-03-11T09:12:54Z	INFO	[secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-03-11T09:12:55Z	INFO	[terraform scanner] Scanning root module	file_path="."
2025-03-11T09:12:55Z	WARN	[terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly.	module="root" variables="networking"
2025-03-11T09:12:55Z	INFO	Number of language-specific files	num=0
2025-03-11T09:12:55Z	INFO	Detected config files	num=1
trivy_exitcode=0

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

Running Trivy in terraform/environments/panda-cyber-appsec-lab
2025-03-11T09:12:55Z	INFO	[vuln] Vulnerability scanning is enabled
2025-03-11T09:12:55Z	INFO	[misconfig] Misconfiguration scanning is enabled
2025-03-11T09:12:55Z	INFO	[secret] Secret scanning is enabled
2025-03-11T09:12:55Z	INFO	[secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-03-11T09:12:55Z	INFO	[secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-03-11T09:12:56Z	INFO	[terraform scanner] Scanning root module	file_path="."
2025-03-11T09:12:56Z	WARN	[terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly.	module="root" variables="networking"
2025-03-11T09:12:56Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ram-ec2-retagging[0].data.aws_subnet.host" value="cty.NilVal"
2025-03-11T09:12:57Z	INFO	Number of language-specific files	num=0
2025-03-11T09:12:57Z	INFO	Detected config files	num=1
trivy_exitcode=0

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

Running Trivy in terraform/environments/performance-hub
2025-03-11T09:12:57Z	INFO	[vuln] Vulnerability scanning is enabled
2025-03-11T09:12:57Z	INFO	[misconfig] Misconfiguration scanning is enabled
2025-03-11T09:12:57Z	INFO	[secret] Secret scanning is enabled
2025-03-11T09:12:57Z	INFO	[secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-03-11T09:12:57Z	INFO	[secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-03-11T09:12:58Z	INFO	[terraform scanner] Scanning root module	file_path="."
2025-03-11T09:12:58Z	WARN	[terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly.	module="root" variables="networking"
2025-03-11T09:12:58Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ram-ec2-retagging[0].data.aws_subnet.host" value="cty.NilVal"
2025-03-11T09:12:58Z	INFO	Number of language-specific files	num=0
2025-03-11T09:12:58Z	INFO	Detected config files	num=1
trivy_exitcode=0

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

Running Trivy in terraform/environments/planetfm
2025-03-11T09:12:58Z	INFO	[vuln] Vulnerability scanning is enabled
2025-03-11T09:12:58Z	INFO	[misconfig] Misconfiguration scanning is enabled
2025-03-11T09:12:58Z	INFO	[secret] Secret scanning is enabled
2025-03-11T09:12:58Z	INFO	[secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-03-11T09:12:58Z	INFO	[secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-03-11T09:12:59Z	INFO	[terraform scanner] Scanning root module	file_path="."
2025-03-11T09:12:59Z	WARN	[terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly.	module="root" variables="networking"
2025-03-11T09:12:59Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ram-ec2-retagging[0].data.aws_subnet.host" value="cty.NilVal"
2025-03-11T09:12:59Z	INFO	Number of language-specific files	num=0
2025-03-11T09:12:59Z	INFO	Detected config files	num=1
trivy_exitcode=0

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

Running Trivy in terraform/environments/portal
2025-03-11T09:12:59Z	INFO	[vuln] Vulnerability scanning is enabled
2025-03-11T09:12:59Z	INFO	[misconfig] Misconfiguration scanning is enabled
2025-03-11T09:12:59Z	INFO	[secret] Secret scanning is enabled
2025-03-11T09:12:59Z	INFO	[secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-03-11T09:12:59Z	INFO	[secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-03-11T09:13:00Z	INFO	[terraform scanner] Scanning root module	file_path="."
2025-03-11T09:13:00Z	WARN	[terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly.	module="root" variables="networking"
2025-03-11T09:13:00Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ram-ec2-retagging[0].data.aws_subnet.host" value="cty.NilVal"
2025-03-11T09:13:00Z	INFO	Number of language-specific files	num=0
2025-03-11T09:13:00Z	INFO	Detected config files	num=1
trivy_exitcode=0

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

Running Trivy in terraform/environments/ppud
2025-03-11T09:13:00Z	INFO	[vuln] Vulnerability scanning is enabled
2025-03-11T09:13:00Z	INFO	[misconfig] Misconfiguration scanning is enabled
2025-03-11T09:13:00Z	INFO	[secret] Secret scanning is enabled
2025-03-11T09:13:00Z	INFO	[secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-03-11T09:13:00Z	INFO	[secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-03-11T09:13:01Z	INFO	[terraform scanner] Scanning root module	file_path="."
2025-03-11T09:13:01Z	WARN	[terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly.	module="root" variables="networking"
2025-03-11T09:13:01Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ram-ec2-retagging[0].data.aws_subnet.host" value="cty.NilVal"
2025-03-11T09:13:02Z	INFO	Number of language-specific files	num=0
2025-03-11T09:13:02Z	INFO	Detected config files	num=1
trivy_exitcode=0

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

Running Trivy in terraform/environments/pra-register
2025-03-11T09:13:02Z	INFO	[vuln] Vulnerability scanning is enabled
2025-03-11T09:13:02Z	INFO	[misconfig] Misconfiguration scanning is enabled
2025-03-11T09:13:02Z	INFO	[secret] Secret scanning is enabled
2025-03-11T09:13:02Z	INFO	[secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-03-11T09:13:02Z	INFO	[secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-03-11T09:13:03Z	INFO	[terraform scanner] Scanning root module	file_path="."
2025-03-11T09:13:03Z	WARN	[terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly.	module="root" variables="networking"
2025-03-11T09:13:03Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ram-ec2-retagging[0].data.aws_subnet.host" value="cty.NilVal"
2025-03-11T09:13:03Z	INFO	Number of language-specific files	num=0
2025-03-11T09:13:03Z	INFO	Detected config files	num=1
trivy_exitcode=0

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

Running Trivy in terraform/environments/refer-monitor
2025-03-11T09:13:03Z	INFO	[vuln] Vulnerability scanning is enabled
2025-03-11T09:13:03Z	INFO	[misconfig] Misconfiguration scanning is enabled
2025-03-11T09:13:03Z	INFO	[secret] Secret scanning is enabled
2025-03-11T09:13:03Z	INFO	[secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-03-11T09:13:03Z	INFO	[secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-03-11T09:13:04Z	INFO	[terraform scanner] Scanning root module	file_path="."
2025-03-11T09:13:04Z	WARN	[terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly.	module="root" variables="networking"
2025-03-11T09:13:04Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ram-ec2-retagging[0].data.aws_subnet.host" value="cty.NilVal"
2025-03-11T09:13:04Z	INFO	Number of language-specific files	num=0
2025-03-11T09:13:04Z	INFO	Detected config files	num=1
trivy_exitcode=0

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

Running Trivy in terraform/environments/tipstaff
2025-03-11T09:13:04Z	INFO	[vuln] Vulnerability scanning is enabled
2025-03-11T09:13:04Z	INFO	[misconfig] Misconfiguration scanning is enabled
2025-03-11T09:13:04Z	INFO	[secret] Secret scanning is enabled
2025-03-11T09:13:04Z	INFO	[secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-03-11T09:13:04Z	INFO	[secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-03-11T09:13:05Z	INFO	[terraform scanner] Scanning root module	file_path="."
2025-03-11T09:13:05Z	WARN	[terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly.	module="root" variables="networking"
2025-03-11T09:13:05Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ram-ec2-retagging[0].data.aws_subnet.host" value="cty.NilVal"
2025-03-11T09:13:05Z	INFO	Number of language-specific files	num=0
2025-03-11T09:13:05Z	INFO	Detected config files	num=1
trivy_exitcode=0

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

Running Trivy in terraform/environments/tribunals
2025-03-11T09:13:05Z	INFO	[vuln] Vulnerability scanning is enabled
2025-03-11T09:13:05Z	INFO	[misconfig] Misconfiguration scanning is enabled
2025-03-11T09:13:05Z	INFO	[secret] Secret scanning is enabled
2025-03-11T09:13:05Z	INFO	[secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-03-11T09:13:05Z	INFO	[secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-03-11T09:13:06Z	INFO	[terraform scanner] Scanning root module	file_path="."
2025-03-11T09:13:06Z	WARN	[terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly.	module="root" variables="networking"
2025-03-11T09:13:06Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ram-ec2-retagging[0].data.aws_subnet.host" value="cty.NilVal"
2025-03-11T09:13:07Z	INFO	Number of language-specific files	num=0
2025-03-11T09:13:07Z	INFO	Detected config files	num=1
trivy_exitcode=0

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

Running Trivy in terraform/environments/wardship
2025-03-11T09:13:07Z	INFO	[vuln] Vulnerability scanning is enabled
2025-03-11T09:13:07Z	INFO	[misconfig] Misconfiguration scanning is enabled
2025-03-11T09:13:07Z	INFO	[secret] Secret scanning is enabled
2025-03-11T09:13:07Z	INFO	[secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-03-11T09:13:07Z	INFO	[secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-03-11T09:13:08Z	INFO	[terraform scanner] Scanning root module	file_path="."
2025-03-11T09:13:08Z	WARN	[terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly.	module="root" variables="networking"
2025-03-11T09:13:08Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ram-ec2-retagging[0].data.aws_subnet.host" value="cty.NilVal"
2025-03-11T09:13:08Z	INFO	Number of language-specific files	num=0
2025-03-11T09:13:08Z	INFO	Detected config files	num=2
trivy_exitcode=0

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

Running Trivy in terraform/environments/xhibit-portal
2025-03-11T09:13:08Z	INFO	[vuln] Vulnerability scanning is enabled
2025-03-11T09:13:08Z	INFO	[misconfig] Misconfiguration scanning is enabled
2025-03-11T09:13:08Z	INFO	[secret] Secret scanning is enabled
2025-03-11T09:13:08Z	INFO	[secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-03-11T09:13:08Z	INFO	[secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-03-11T09:13:09Z	INFO	[terraform scanner] Scanning root module	file_path="."
2025-03-11T09:13:09Z	WARN	[terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly.	module="root" variables="networking"
2025-03-11T09:13:09Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ram-ec2-retagging[0].data.aws_subnet.host" value="cty.NilVal"
2025-03-11T09:13:09Z	INFO	Number of language-specific files	num=0
2025-03-11T09:13:09Z	INFO	Detected config files	num=1
trivy_exitcode=0

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

Running Trivy in terraform/environments/youth-justice-app-framework
2025-03-11T09:13:09Z	INFO	[vuln] Vulnerability scanning is enabled
2025-03-11T09:13:09Z	INFO	[misconfig] Misconfiguration scanning is enabled
2025-03-11T09:13:09Z	INFO	[secret] Secret scanning is enabled
2025-03-11T09:13:09Z	INFO	[secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-03-11T09:13:09Z	INFO	[secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-03-11T09:13:10Z	INFO	[terraform scanner] Scanning root module	file_path="."
2025-03-11T09:13:10Z	WARN	[terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly.	module="root" variables="networking"
2025-03-11T09:13:10Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ram-ec2-retagging[0].data.aws_subnet.host" value="cty.NilVal"
2025-03-11T09:13:10Z	INFO	Number of language-specific files	num=0
2025-03-11T09:13:10Z	INFO	Detected config files	num=2
trivy_exitcode=0

Copy link
Contributor

@Kudzai-moj Kudzai-moj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@markgov markgov added this pull request to the merge queue Mar 11, 2025
Merged via the queue into main with commit 714f6f0 Mar 11, 2025
9 checks passed
@markgov markgov deleted the feat/deafult-tagging branch March 11, 2025 11:18
Copy link
Contributor

Trivy Scan Success

Show Output ```hcl

Trivy will check the following folders:

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

```hcl

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

Checkov will check the following folders:

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.9.1)
tflint will check the following folders:

Trivy Scan Success

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

Trivy will check the following folders:

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