Palo Alto Networks Scans API
The Scans API from Palo Alto Networks — 14 operation(s) for scans.
Operations 18
Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay
POST
/code/api/v1/scans/integrations
Refresh all resources with a full integration scan · Trigger a Scan
#
Ask an LLM
“How do I force Application Security to rescan every cloud and IaC resource across my integrations?”
“Can I refresh the current state of all AWS, Azure and GCP resources on demand?”
Tell an agent
Trigger a full scan of all integrated resources to refresh their state.
Kick off an asynchronous rescan across every cloud provider and IaC integration.
Ask an LLM
“Where can I list all CI image scan results on the older v34.03 Compute API?”
“Can the v34.03 scan results list be filtered to failed scans for a given CI job?”
Tell an agent
Using the v34.03 API, list CI image scan results for job {jobName}.
On v34.03, list CI image scans for image {imageID} between {from} and {to}.
Ask an LLM
“How do I push a twistcli scan result into Console through the v34.03 API?”
“Can I record a CLI scan's pass or fail outcome with the v34.03 scans endpoint?”
Tell an agent
Via v34.03, add a CLI scan result for job {jobName}, build {build}, passed: {pass}.
Record a v34.03 CLI scan result with vulnerability summary {vulnFailureSummary}.
GET
/api/v34.03/scans/download
Download CI image scan results (v34.03) · Download CI Image Scan Results
#
Ask an LLM
“How can I export CI image scan results as a file from the v34.03 API?”
“Is there a v34.03 download of scan results limited to a date range?”
Tell an agent
Download the v34.03 CI image scan results for job {jobName}.
Export v34.03 CI scan results from {from} to {to} as a download.
Ask an LLM
“How do I fetch a single CI image scan result by ID on the v34.03 API?”
“What does the v34.03 API return for one specific CI scan?”
Tell an agent
Get v34.03 CI image scan result {id}.
Using v34.03, show the details of CI scan {id}.
Ask an LLM
“Which CI image scans failed in the latest v34.04 Compute API results?”
“Can I filter v34.04 CI scan results by build number or image ID?”
Tell an agent
List v34.04 CI image scan results for build {build}.
Show v34.04 CI image scans with pass status {pass}, sorted by {sort}.
Ask an LLM
“How do I submit a CLI scan result to the current v34.04 scans endpoint?”
“Can the v34.04 API store a compliance failure summary with a CLI scan result?”
Tell an agent
Add a v34.04 CLI scan result for job {jobName} and build {build}.
Save a v34.04 CLI scan result with compliance summary {complianceFailureSummary}.
GET
/api/v34.04/scans/download
Download CI image scan results (v34.04) · Download CI Image Scan Results
#
Ask an LLM
“Can I download CI image scan results as a report file from the v34.04 API?”
“What filters apply when downloading v34.04 CI scan results, such as issue type?”
Tell an agent
Download v34.04 CI image scan results for image {imageID}.
Export v34.04 CI scan results filtered to issue type {issueType}.
Ask an LLM
“How do I look up one CI image scan by its ID on the v34.04 API?”
“Which details does the v34.04 API give for a single CI image scan?”
Tell an agent
Get v34.04 CI image scan result {id}.
Open CI scan {id} from the v34.04 API.
POST
/v1/scans
Start an AI red-team vulnerability scan · Palo Alto Networks Start Vulnerability Scan
#
Ask an LLM
“How do I start an AI vulnerability scan against a registered model target?”
“Can I add custom attack prompts on top of the built-in attack library?”
Tell an agent
Start an AI vulnerability scan on target {target_id} testing categories {attack_categories}.
Red-team target {target_id} on {attack_categories} with custom prompts {custom_prompts}, max {max_attacks_per_category} attacks each.
GET
/v1/scans/{scan_id}
Check an AI vulnerability scan's progress · Palo Alto Networks Get Scan Status
#
Ask an LLM
“Has my AI red-team vulnerability scan finished yet?”
“What progress percentage does a running AI vulnerability scan report?”
Tell an agent
Check the progress of AI vulnerability scan {scan_id}.
Tell me whether AI red-team scan {scan_id} is completed.
GET
/v1/scans/{scan_id}/results
Get an AI vulnerability scan report · Palo Alto Networks Get Scan Results and Report
#
Ask an LLM
“What vulnerabilities did my completed AI red-team scan find, and what is the overall risk score?”
“Can I limit the AI scan report to high-severity findings in one attack category?”
Tell an agent
Get the vulnerability report for AI scan {scan_id}.
Show {severity} findings in category {category} from AI scan {scan_id}.
GET
/scans/integrations
List CI/CD pipeline scan integrations · Palo Alto Networks List CI/CD Scan Integrations
#
Ask an LLM
“Which CI/CD pipelines like Jenkins or GitHub Actions are configured for automated scanning?”
“Can I page through my configured CI platform scan integrations?”
Tell an agent
List my CI/CD scan integrations.
Show {limit} CI/CD scan integrations starting at offset {offset}.
POST
/scans
Trigger an IaC and SCA scan on a repository branch · Palo Alto Networks Trigger a Scan
#
Ask an LLM
“How do I scan one repository branch for IaC misconfigurations and vulnerable dependencies?”
“Can I choose which scan types run when triggering a repository scan?”
Tell an agent
Trigger an IaC and SCA scan of repository {repositoryId}.
Scan branch {branch} of repository {repositoryId} with scan types {scanTypes}.
Ask an LLM
“What did the vulnerability and compliance scans from my CI/CD pipelines report?”
“Can I search pipeline scan results by scan target type?”
Tell an agent
Get CI/CD pipeline scan results matching {search}.
Show twistcli pipeline scan results of type {type}.
Ask an LLM
“Has the IaC scan I triggered on my repository completed?”
“What summary results does a finished repository code scan show?”
Tell an agent
Check the status of repository code scan {scan_id}.
Poll repository scan {scan_id} until it completes and summarize it.
POST
/v1/scan/sync/request
Scan an AI prompt or response synchronously · Send a Synchronous Scan Request
#
Ask an LLM
“How do I check a user prompt or model response for threats and get the verdict right away?”
“Which AI security profile is applied when I scan a prompt in real time?”
Tell an agent
Scan contents {contents} synchronously with AI profile {ai_profile}.
Run a real-time AI security scan on {contents} under profile {ai_profile} for session {session_id}.
POST
/v1/scan/async/request
Submit an asynchronous AI security scan · Send an Asynchronous Scan Request
#
Ask an LLM
“Can I queue AI prompt scans in the background and get a scan ID and report ID back?”
“What does an asynchronous AI security scan request return?”
Tell an agent
Submit an asynchronous AI security scan request.
Queue a background AI prompt scan and give me the scan_id and report_id.