> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/application-security/code-security/application-security-scans-management/manage-scans-through-the-tenant-ui/ci-image-scans.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# CI Image scans

Container image scanning provides automated security assessments during the CI/CD build phase, detecting vulnerabilities, malware, exposed secrets, and image misconfigurations before images are pushed to registries or deployed to production.

The CI Image Scans page lists each image scan that the Cortex CLI runs and uploads in CI, with the number of vulnerability, malware, and secret findings in the image and the result of the scan: Pass, Block, or Error. The CI Image Scan trigger in an AppSec policy decides which image findings block the build and which become issues.

## Prerequisites

* At least one CI pipeline runs cortexcli image scan with an API key that has upload permission, and uploads results to your tenant, either directly or through the Cortex Cloud plugin for Jenkins
* Your role grants access to the scan pages under **Settings > Configurations > Roles > Application Security Scans**. The CI Image Scans page uses the same access as the CI Code Scans page, and introduces no new role or permission
* To create or edit policies, your role grants access to **Application Security > AppSec Policies** with **Edit** permissions

## Multi-surface visibility overview

To support both security teams conducting central oversight and developers operating inside CI/CD tools, CI Image scan results is surfaced across three primary locations:

* **AppSec scans management** (**Application Security > Scans > CI Image Scans**): Centralized tenant view for security teams, providing a historical, searchable ledger of every container image scan that pipelines upload to your tenant
* **Jenkins project and build pages:** Native, in-tool visibility for developers and DevSecOps engineers who work inside Jenkins and may not log into the tenant console. The Cortex Cloud Jenkins plugin displays scan summaries, policy status, and vulnerability trend graphs directly on project pages and build summaries
* **CI build logs and terminal output:** Direct stdout/console output from cortexcli image scan executions, printing finding breakdowns, matched AppSec policy IDs, and exit codes into build logs

## AppSec scans management: Findings and scan results

Centralized scan history is managed under **Application Security > Scans > CI Image Scans**.

#### Core data model: Findings only (not assets or issues)

A key distinction of the Scans Management surface is that it displays raw findings counts only—it does **NOT** display managed assets nor open issues:

* **Raw findings**: Provides direct visibility into security finding counts detected inside the container image
* **Vulnerabilities**: Total vulnerability count alongside severity breakdowns (Critical, High, Medium, Low)
* **Malware**: Total count of detected malicious files/binaries (flagged with a red indicator when >0)
* **Secrets**: Total count of exposed API keys, tokens, or credentials (flagged with a red indicator when >0)
* **Historical build log**: Each uploaded scan appears as its own row, so repeated scans of the same image appear as separate rows. A rebuilt image that changed produces a new digest, so compare Digest values to track build-over-build remediation progress
* **Default time frame**: Scans from the last 7 days are displayed by default upon landing

#### Scans management table fields

The following attributes are displayed as columns when the CI Image Scans table first opens, or after you reset the table to its default state.

| Field           | Source and description                                                                                                                                                   |
| --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Image Name      | Scanned container image name and tag (or sha256: identifier).                                                                                                            |
| Digest          | Unique sha256 image digest.                                                                                                                                              |
| Host            | Machine or runner that executed the scan.                                                                                                                                |
| Job Name        | CI job that ran the scan. The cell is empty when the pipeline does not report a job name                                                                                 |
| Vulnerabilities | Total vulnerability count followed by a count per severity in the order Critical, High, Medium, Low. A fifth, grey count can follow the Low count. The total excludes it |
| Malware         | Number of malware findings detected (>0 indicated by a red dot) and a grey dot marks zero. The cell may be empty on error                                                |
| Secrets         | Number of secret findings detected (>0 indicated by a red dot) and a grey dot marks zero. The cell may be empty on error                                                 |
| Scan Date       | When the scan ran                                                                                                                                                        |
| Scan Result     | Result of the scan: Passed (green), Blocked (red), or Error (yellow)                                                                                                     |

## Scan outcomes and policy evaluation

Every uploaded scan carries a Scan result value:

#### Passed (green)

* **Meaning**: The scan completed without a block result. Findings can still appear in the count columns
* **Pipeline effect**: The scan step does not fail on policy. A Jenkins job that uses Fail build on severity can still fail the build while the row reads Passed

#### Blocked (red)

* **Meaning**: The scan uncovered findings (vulnerabilities, secrets, malware, or image misconfigurations) that matched an active AppSec policy rule configured with a Block CI action
* **Pipeline effect**: The scan step returns exit code `1`. The build stops only if the pipeline acts on that exit code. A scan step run with `--soft-fail`, or a Jenkins job that uses the Advisory only gating strategy, continues and can push the image. Exit code `1` also covers general operational failures, so confirm in the CI job log that the build stopped

#### Error (yellow)

* **Meaning**: The scan did not complete, and the image was not assessed. The Vulnerabilities, Malware, and Secrets cells are empty
* **Pipeline effect**: Execution errors, version mismatches, and CLI usage errors return exit code `2`. Some operational failures return exit code `1`, the same code as a policy block, so the exit code alone does not separate the two. A scan step run with `--no-fail-on-crash` converts exit code `2` to `0` and continues with an unassessed image. Monitor scan step failures in the CI system as well as on this page

##

<br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://cortex-docs.paloaltonetworks.com/application-security/code-security/application-security-scans-management/manage-scans-through-the-tenant-ui/ci-image-scans.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
