: Fix and Suppress Issues in a Scan Result
Focus
Focus

Fix and Suppress Issues in a Scan Result

Table of Contents

Fix and Suppress Issues in a Scan Result

On
Projects
, you can remediate scan results across all code categories by adding issues to the fix cart to create a PR with a suggested fix. For every issue found on Prisma Cloud console, you can view information like origin of the issue in a file or repository, policy violation, and suggestions to remediate the issue.
  1. Access scan results on
    Projects
    .
    1. Select a code category with an issue.
    2. Select an issue from the resource block to view more information and suggested fixes in the resource explorer.
  2. Create a PR from the fix recommendation.
    1. Select an issue to see a fix recommendation in the resource explorer.
      You can fix one more issues at once by selecting issues across multiple resources or policy blocks and adding it to the fix cart.
    2. Select
      FIX
      to add the issue to the fix cart.
    3. Select
      Submit
      to create a PR with an issue fix.
      In this example, you see one or more issues added to the fix cart to from IaC Misconfiguration google_container_cluster.workload_cluster resource block.
      To completely resolve the issue, you need to access the PR on the VCS console and merge the fix with the default branch.
      For issues with no fix recommendation, you can remediate it by a
      Manual Fix
      or
      Suppress
      .

Manual Fix an issue

You can perform a manual fix for all issues. A manual fix enables you to access a specific commit to review the code to then resolve the issue manually using the policy guidelines on the Prisma Cloud console.

Suppress issues in a scan result

On
Code Security > Projects
, add a suppression rule to suppress issues across views to mitigate scan results.
  1. Access a code category then select the issue in the resource block to view more information and suggested fixes in the resource explorer.
  2. Select
    Suppress
    and then enter relevant information as
    Justification
    .
    You can optionally add an
    Expiration Time
    for the suppression.
  3. Select
    Suppress by
    to suppress issues based on the suppression types.
    • Resource
      : This enables you to suppress the issues by resources and at your next scan these resources will not be scanned. You can also view the number of resources that will be affected to make an informed decision.
    • Tags
      : This enables you to selectively suppress the violation to a tag.
    • Policy
      : This enables you to suppress the violation by policy and at your next scan the policy will not be scanned.
    • Repositories
      : This enables you to selectively suppress the issues across repositories. You are required to select the repositories from the list on the console.
      In this example, you see the repositories list for the suppression rule.
  4. Select
    Save
    .
    You can also view the suppressed result using the
    Issue Status
    filter.

Fix Vulnerability Issues

On
Projects
Vulnerabilities
view you see CVE issues that have an automatic fix on the console. You can choose to remediate a single CVE issue or choose to fix all issues in the issue block. When fixing the issue, the CVE
Root version
gets bumped to the latest version from a Pull Request that you need to submit from the
Fix cart
. The issue block will continue to be seen till the Pull Request with the fix is not merged.
  1. Select
    Code Security > Projects
    and then select
    Vulnerabilities
    view.
  2. Access any issue block and then select
    Fix
    corresponding to the issue.
    Optionally, you can select
    Fix All
    .
    When fixing the issue, you can verify all CVE’s getting fixed by a verification status corresponding to the CVE.
    In this example you see fixing CVE-2021-33194 automatically fixes CVE-2022-30322 with the current remediation.
  3. Select
    Submit
    on the
    Fix Cart
    to create a Pull Request (PR) with the fixes.

Recommended For You