To learn more, visit the Prisma Cloud CWP documentation.

Parameters

ParameterDescription
FunctionsA JSON-list of function objects to resolve.For more information on how to build the function JSON object, refer to the Prisma Documentation.

Example Output

{    "functions": [        {            "Secrets": [                "string"            ],            "_id": "string",            "accountID": "string",            "allCompliance": {                "compliance": [                    {                        "applicableRules": [                            "string"                        ],                        "binaryPkgs": [                            "string"                        ],                        "block": true,                        "cause": "string",                        "cri": true,                        "custom": true,                        "cve": "string",                        "cvss": 0,                        "description": "string",                        "discovered": "2019-08-24T14:15:22Z",                        "exploit": [                            "",                            "exploit-db",                            "exploit-windows",                            "cisa-kev"                        ],                        "exploits": [                            {                                "kind": [                                    "poc",                                    "in-the-wild"                                ],                                "link": "string",                                "source": [                                    "",                                    "exploit-db",                                    "exploit-windows",                                    "cisa-kev"                                ]                            }                        ],                        "fixDate": 0,                        "fixLink": "string",                        "functionLayer": "string",                        "gracePeriodDays": 0,                        "id": 0,                        "layerTime": 0,                        "link": "string",                        "packageName": "string",                        "packageVersion": "string",                        "published": 0,                        "riskFactors": {                            "property1": "string",                            "property2": "string"                        },                        "severity": "string",                        "status": "string",                        "templates": [                            [                                "PCI",                                "HIPAA",                                "NIST SP 800-190",                                "GDPR",                                "DISA STIG"                            ]                        ],                        "text": "string",                        "title": "string",                        "twistlock": true,                        "type": [                            "container",                            "image",                            "host_config",                            "daemon_config",                            "daemon_config_files",                            "security_operations",                            "k8s_master",                            "k8s_worker",                            "k8s_federation",                            "linux",                            "windows",                            "istio",                            "serverless",                            "custom",                            "docker_stig",                            "openshift_master",                            "openshift_worker",                            "application_control_linux"                        ],                        "vecStr": "string",                        "vulnTagInfos": [                            {                                "color": "string",                                "comment": "string",                                "name": "string"                            }                        ]                    }                ],                "enabled": true            },            "applicationName": "string",            "applications": [                {                    "installedFromPackage": true,                    "knownVulnerabilities": 0,                    "layerTime": 0,                    "name": "string",                    "path": "string",                    "service": true,                    "version": "string"                }            ],            "architecture": "string",            "baseImage": "string",            "binaries": [                {                    "altered": true,                    "cveCount": 0,                    "deps": [                        "string"                    ],                    "functionLayer": "string",                    "md5": "string",                    "missingPkg": true,                    "name": "string",                    "path": "string",                    "pkgRootDir": "string",                    "services": [                        "string"                    ],                    "version": "string"                }            ],            "cloudControllerAddress": "string",            "cloudMetadata": {                "accountID": "string",                "awsExecutionEnv": "string",                "image": "string",                "labels": [                    {                        "key": "string",                        "sourceName": "string",                        "sourceType": [                            "namespace",                            "deployment",                            "aws",                            "azure",                            "gcp",                            "oci"                        ],                        "timestamp": "2019-08-24T14:15:22Z",                        "value": "string"                    }                ],                "name": "string",                "provider": [                    "aws",                    "azure",                    "gcp",                    "alibaba",                    "oci",                    "others"                ],                "region": "string",                "resourceID": "string",                "resourceURL": "string",                "type": "string",                "vmID": "string",                "vmImageID": "string"            },            "clusterType": [                "ECS",                "EKS",                "GKE",                "Kubernetes"            ],            "clusters": [                "string"            ],            "collections": [                "string"            ],            "complianceDistribution": {                "critical": 0,                "high": 0,                "low": 0,                "medium": 0,                "total": 0            },            "complianceIssues": [                {                    "applicableRules": [                        "string"                    ],                    "binaryPkgs": [                        "string"                    ],                    "block": true,                    "cause": "string",                    "cri": true,                    "custom": true,                    "cve": "string",                    "cvss": 0,                    "description": "string",                    "discovered": "2019-08-24T14:15:22Z",                    "exploit": [                        "",                        "exploit-db",                        "exploit-windows",                        "cisa-kev"                    ],                    "exploits": [                        {                            "kind": [                                "poc",                                "in-the-wild"                            ],                            "link": "string",                            "source": [                                "",                                "exploit-db",                                "exploit-windows",                                "cisa-kev"                            ]                        }                    ],                    "fixDate": 0,                    "fixLink": "string",                    "functionLayer": "string",                    "gracePeriodDays": 0,                    "id": 0,                    "layerTime": 0,                    "link": "string",                    "packageName": "string",                    "packageVersion": "string",                    "published": 0,                    "riskFactors": {                        "property1": "string",                        "property2": "string"                    },                    "severity": "string",                    "status": "string",                    "templates": [                        [                            "PCI",                            "HIPAA",                            "NIST SP 800-190",                            "GDPR",                            "DISA STIG"                        ]                    ],                    "text": "string",                    "title": "string",                    "twistlock": true,                    "type": [                        "container",                        "image",                        "host_config",                        "daemon_config",                        "daemon_config_files",                        "security_operations",                        "k8s_master",                        "k8s_worker",                        "k8s_federation",                        "linux",                        "windows",                        "istio",                        "serverless",                        "custom",                        "docker_stig",                        "openshift_master",                        "openshift_worker",                        "application_control_linux"                    ],                    "vecStr": "string",                    "vulnTagInfos": [                        {                            "color": "string",                            "comment": "string",                            "name": "string"                        }                    ]                }            ],            "complianceIssuesCount": 0,            "complianceRiskScore": 0,            "creationTime": "2019-08-24T14:15:22Z",            "defended": true,            "defenderLayerARN": "string",            "description": "string",            "distro": "string",            "ecsClusterName": "string",            "envvars": [                "string"            ],            "err": "string",            "externalLabels": [                {                    "key": "string",                    "sourceName": "string",                    "sourceType": [                        "namespace",                        "deployment",                        "aws",                        "azure",                        "gcp",                        "oci"                    ],                    "timestamp": "2019-08-24T14:15:22Z",                    "value": "string"                }            ],            "files": [                {                    "md5": "string",                    "path": "string",                    "sha1": "string",                    "sha256": "string"                }            ],            "firstScanTime": "2019-08-24T14:15:22Z",            "functionLayers": [                {                    "id": "string",                    "name": "string",                    "version": "string"                }            ],            "functionTags": [                {                    "key": "string",                    "sourceName": "string",                    "sourceType": [                        "namespace",                        "deployment",                        "aws",                        "azure",                        "gcp",                        "oci"                    ],                    "timestamp": "2019-08-24T14:15:22Z",                    "value": "string"                }            ],            "handler": "string",            "hash": "string",            "history": [                {                    "baseLayer": true,                    "created": 0,                    "emptyLayer": true,                    "id": "string",                    "instruction": "string",                    "sizeBytes": 0,                    "tags": [                        "string"                    ],                    "vulnerabilities": [                        {                            "applicableRules": [                                "string"                            ],                            "binaryPkgs": [                                "string"                            ],                            "block": true,                            "cause": "string",                            "cri": true,                            "custom": true,                            "cve": "string",                            "cvss": 0,                            "description": "string",                            "discovered": "2019-08-24T14:15:22Z",                            "exploit": [                                "",                                "exploit-db",                                "exploit-windows",                                "cisa-kev"                            ],                            "exploits": [                                {                                    "kind": [                                        "poc",                                        "in-the-wild"                                    ],                                    "link": "string",                                    "source": [                                        "",                                        "exploit-db",                                        "exploit-windows",                                        "cisa-kev"                                    ]                                }                            ],                            "fixDate": 0,                            "fixLink": "string",                            "functionLayer": "string",                            "gracePeriodDays": 0,                            "id": 0,                            "layerTime": 0,                            "link": "string",                            "packageName": "string",                            "packageVersion": "string",                            "published": 0,                            "riskFactors": {                                "property1": "string",                                "property2": "string"                            },                            "severity": "string",                            "status": "string",                            "templates": [                                [                                    "PCI",                                    "HIPAA",                                    "NIST SP 800-190",                                    "GDPR",                                    "DISA STIG"                                ]                            ],                            "text": "string",                            "title": "string",                            "twistlock": true,                            "type": [                                "container",                                "image",                                "host_config",                                "daemon_config",                                "daemon_config_files",                                "security_operations",                                "k8s_master",                                "k8s_worker",                                "k8s_federation",                                "linux",                                "windows",                                "istio",                                "serverless",                                "custom",                                "docker_stig",                                "openshift_master",                                "openshift_worker",                                "application_control_linux"                            ],                            "vecStr": "string",                            "vulnTagInfos": [                                {                                    "color": "string",                                    "comment": "string",                                    "name": "string"                                }                            ]                        }                    ]                }            ],            "hostDevices": [                {                    "ip": "string",                    "name": "string"                }            ],            "hostname": "string",            "id": "string",            "image": {                "created": "2019-08-24T14:15:22Z",                "entrypoint": [                    "string"                ],                "env": [                    "string"                ],                "healthcheck": true,                "history": [                    {                        "baseLayer": true,                        "created": 0,                        "emptyLayer": true,                        "id": "string",                        "instruction": "string",                        "sizeBytes": 0,                        "tags": [                            "string"                        ],                        "vulnerabilities": [                            {                                "applicableRules": [                                    "string"                                ],                                "binaryPkgs": [                                    "string"                                ],                                "block": true,                                "cause": "string",                                "cri": true,                                "custom": true,                                "cve": "string",                                "cvss": 0,                                "description": "string",                                "discovered": "2019-08-24T14:15:22Z",                                "exploit": [                                    "",                                    "exploit-db",                                    "exploit-windows",                                    "cisa-kev"                                ],                                "exploits": [                                    {}                                ],                                "fixDate": 0,                                "fixLink": "string",                                "functionLayer": "string",                                "gracePeriodDays": 0,                                "id": 0,                                "layerTime": 0,                                "link": "string",                                "packageName": "string",                                "packageVersion": "string",                                "published": 0,                                "riskFactors": {                                    "property1": "string",                                    "property2": "string"                                },                                "severity": "string",                                "status": "string",                                "templates": [                                    [                                        "PCI",                                        "HIPAA",                                        "NIST SP 800-190",                                        "GDPR",                                        "DISA STIG"                                    ]                                ],                                "text": "string",                                "title": "string",                                "twistlock": true,                                "type": [                                    "container",                                    "image",                                    "host_config",                                    "daemon_config",                                    "daemon_config_files",                                    "security_operations",                                    "k8s_master",                                    "k8s_worker",                                    "k8s_federation",                                    "linux",                                    "windows",                                    "istio",                                    "serverless",                                    "custom",                                    "docker_stig",                                    "openshift_master",                                    "openshift_worker",                                    "application_control_linux"                                ],                                "vecStr": "string",                                "vulnTagInfos": [                                    {}                                ]                            }                        ]                    }                ],                "id": "string",                "labels": {                    "property1": "string",                    "property2": "string"                },                "layers": [                    "string"                ],                "os": "string",                "repoDigest": [                    "string"                ],                "repoTags": [                    "string"                ],                "user": "string",                "workingDir": "string"            },            "installedProducts": {                "agentless": true,                "apache": "string",                "awsCloud": true,                "crio": true,                "docker": "string",                "dockerEnterprise": true,                "hasPackageManager": true,                "k8sApiServer": true,                "k8sControllerManager": true,                "k8sEtcd": true,                "k8sFederationApiServer": true,                "k8sFederationControllerManager": true,                "k8sKubelet": true,                "k8sProxy": true,                "k8sScheduler": true,                "kubernetes": "string",                "openshift": true,                "openshiftVersion": "string",                "osDistro": "string",                "serverless": true,                "swarmManager": true,                "swarmNode": true            },            "invocations": 0,            "isARM64": true,            "k8sClusterAddr": "string",            "labels": [                "string"            ],            "lastModified": "2019-08-24T14:15:22Z",            "layers": [                "string"            ],            "memory": 0,            "missingDistroVulnCoverage": true,            "name": "string",            "namespaces": [                "string"            ],            "osDistro": "string",            "osDistroRelease": "string",            "osDistroVersion": "string",            "packageCorrelationDone": true,            "packageManager": true,            "packages": [                {                    "pkgs": [                        {                            "binaryIdx": [                                0                            ],                            "binaryPkgs": [                                "string"                            ],                            "cveCount": 0,                            "files": [                                {                                    "md5": "string",                                    "path": "string",                                    "sha1": "string",                                    "sha256": "string"                                }                            ],                            "functionLayer": "string",                            "goPkg": true,                            "jarIdentifier": "string",                            "layerTime": 0,                            "license": "string",                            "name": "string",                            "osPackage": true,                            "path": "string",                            "version": "string"                        }                    ],                    "pkgsType": [                        "nodejs",                        "gem",                        "python",                        "jar",                        "package",                        "windows",                        "binary",                        "nuget",                        "go"                    ]                }            ],            "platform": "string",            "provider": [                "aws",                "azure",                "gcp",                "alibaba",                "oci",                "others"            ],            "pushTime": "2019-08-24T14:15:22Z",            "region": "string",            "registryNamespace": "string",            "registryType": "string",            "repoDigests": [                "string"            ],            "repoTag": {                "digest": "string",                "id": "string",                "registry": "string",                "repo": "string",                "tag": "string"            },            "resourceGroupName": "string",            "rhelRepos": [                "string"            ],            "riskFactors": {                "property1": "string",                "property2": "string"            },            "role": "string",            "runtime": "string",            "scanBuildDate": "string",            "scanTime": "2019-08-24T14:15:22Z",            "scanVersion": "string",            "scannerVersion": "string",            "startupBinaries": [                {                    "altered": true,                    "cveCount": 0,                    "deps": [                        "string"                    ],                    "functionLayer": "string",                    "md5": "string",                    "missingPkg": true,                    "name": "string",                    "path": "string",                    "pkgRootDir": "string",                    "services": [                        "string"                    ],                    "version": "string"                }            ],            "status": "string",            "tags": [                {                    "digest": "string",                    "id": "string",                    "registry": "string",                    "repo": "string",                    "tag": "string"                }            ],            "timeout": 0,            "topLayer": "string",            "twistlockImage": true,            "type": [                "image",                "ciImage",                "container",                "host",                "agentlessHost",                "registry",                "serverlessScan",                "ciServerless",                "vm",                "tas",                "ciTas",                "cloudDiscovery",                "serverlessRadar",                "serverlessAutoDeploy",                "hostAutoDeploy",                "codeRepo",                "ciCodeRepo"            ],            "version": "string",            "vulnerabilities": [                {                    "applicableRules": [                        "string"                    ],                    "binaryPkgs": [                        "string"                    ],                    "block": true,                    "cause": "string",                    "cri": true,                    "custom": true,                    "cve": "string",                    "cvss": 0,                    "description": "string",                    "discovered": "2019-08-24T14:15:22Z",                    "exploit": [                        "",                        "exploit-db",                        "exploit-windows",                        "cisa-kev"                    ],                    "exploits": [                        {                            "kind": [                                "poc",                                "in-the-wild"                            ],                            "link": "string",                            "source": [                                "",                                "exploit-db",                                "exploit-windows",                                "cisa-kev"                            ]                        }                    ],                    "fixDate": 0,                    "fixLink": "string",                    "functionLayer": "string",                    "gracePeriodDays": 0,                    "id": 0,                    "layerTime": 0,                    "link": "string",                    "packageName": "string",                    "packageVersion": "string",                    "published": 0,                    "riskFactors": {                        "property1": "string",                        "property2": "string"                    },                    "severity": "string",                    "status": "string",                    "templates": [                        [                            "PCI",                            "HIPAA",                            "NIST SP 800-190",                            "GDPR",                            "DISA STIG"                        ]                    ],                    "text": "string",                    "title": "string",                    "twistlock": true,                    "type": [                        "container",                        "image",                        "host_config",                        "daemon_config",                        "daemon_config_files",                        "security_operations",                        "k8s_master",                        "k8s_worker",                        "k8s_federation",                        "linux",                        "windows",                        "istio",                        "serverless",                        "custom",                        "docker_stig",                        "openshift_master",                        "openshift_worker",                        "application_control_linux"                    ],                    "vecStr": "string",                    "vulnTagInfos": [                        {                            "color": "string",                            "comment": "string",                            "name": "string"                        }                    ]                }            ],            "vulnerabilitiesCount": 0,            "vulnerabilityDistribution": {                "critical": 0,                "high": 0,                "low": 0,                "medium": 0,                "total": 0            },            "vulnerabilityRiskScore": 0        }    ]}

Workflow Library Example

Resolve Functions with Prisma Cloud Cwp and Send Results Via Email

Preview this Workflow on desktop