CreatePrismaCloudComputeResourceComplianceReportButton

Generate a compliance report for Prisma Cloud resources - host, container or image.

python · Prisma Cloud Compute by Palo Alto Networks

Details

IDCreatePrismaCloudComputeResourceComplianceReportButton
Languagepython
From Version6.10.0
Docker Imagedemisto/python3:3.12.13.10116658

README

Generate a compliance report for Prisma Cloud resources - host, container or image.

Script Data


Name Description
Script Type python3
Cortex XSOAR Version 6.10.0

Dependencies


This script uses the following commands and scripts.

  • send-mail
  • ExportToXLSX
  • ConvertTableToHTML

Inputs


Argument Name Description
table The table of data.
title The title of the report.
to The to email address.
headers The headers for the HTML table.
resource_type The resource type.
output_type Whether to send the compliance issues as an html table or attached in xlsx file.
desired_severities A comma-separated list of severities which will be included in the compliance report. If no value is provided, all of the severities will be included. Example: “Critical, High”.”
desired_resources A comma-separated list of resources. In case the report should contain results only for specific resources, whether it’s a host, container ID or an image ID, provide the resources here.

Outputs


There are no outputs for this script.

commonfields:
  id: CreatePrismaCloudComputeResourceComplianceReportButton
  version: -1
name: CreatePrismaCloudComputeResourceComplianceReportButton
script: ''
type: python
tags: []
comment: Generate a compliance report for Prisma Cloud resources - host, container or image.
enabled: true
args:
- name: table
  required: true
  description: The table of data.
  isArray: true
- name: title
  required: true
  description: The title of the report.
- name: to
  required: true
  description: The to email address.
- name: headers
  description: The headers for the HTML table.
- name: resource_type
  required: true
  auto: PREDEFINED
  predefined:
  - container
  - image
  - host
  description: The resource type.
  type: unknown
- name: output_type
  required: true
  auto: PREDEFINED
  predefined:
  - html
  - xlsx
  description: Whether to send the compliance issues as an html table or attached in xlsx file.
- name: desired_severities
  auto: PREDEFINED
  predefined:
  - critical
  - high
  - medium
  - low
  description: 'A comma-separated list of severities which will be included in the compliance report. If no value is provided, all of the severities will be included. Example: "Critical, High"."'
  isArray: true
- name: desired_resources
  description: A comma-separated list of resources. In case the report should contain results only for specific resources, whether it's a host, container ID or an image ID, provide the resources here.
scripttarget: 0
subtype: python3
runonce: false
dockerimage: demisto/python3:3.12.13.10116658
runas: DBotWeakRole
engineinfo: {}
fromversion: 6.10.0
tests:
- No tests (auto formatted)