Skip to content

security(trivy) - fix IAC vulnerabilities found by trivy job in the code #351

@abhisheksr01

Description

@abhisheksr01

Vulnerability Description

The Dockerfile, kubernetes and helm configs are failing when trivy config is executed in CI using the marketplace action.

Steps to Reproduce

  1. Commit a change to the repository
  2. The GHA CI pipeline executes and the sast-iac-trivy-hadolint job executes which scans the IAC for security vulnerabilities
  3. CI Execution fails since vulnerabilites of different severities are found

Impact

The pipeline fails because of vulnerabiliteis which imposes secutity risk.

Suggested Mitigation or Fix

Fix the code to mitigate static infra code analysis found by trivy.

CVSS Score (Optional):

Available in the CI execution

Metadata

Metadata

Assignees

No one assigned

    Labels

    vulnerabilitiesSomething in the repository is a security vulnerability.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions