DSPM
Remediate your data security risks. Integrate with Prisma Cloud DSPM to fetch your data security risks and remediate them with OOTB playbooks.
Network Security · DSPM
Details
| ID | DSPM |
|---|---|
| Provider | Palo Alto Networks |
| Category | Network Security |
| From Version | 6.10.0 |
| Docker Image | demisto/python3:3.12.13.10116658 |
README
Overview
The Prisma Cloud DSPM(Data Security Posture Management) integration enhances the management and remediation of DSPM risks. The integration provides users with actionable data, insights and a seamless workflow for addressing potential security threats.
Use Cases
- Remediation of DSPM out-of-the-box risks based on automated playbooks.
- Close or update risks by interacting with DSPM API using a dedicated list of building blocks.
- Distribute DSPM risks to other systems.
Prerequisites
- An active Prisma Cloud DSPM account
- Slack V3 Pack
- AWS-S3 Pack
- Core REST APIs pack
- Atlassian Jira v3 Pack
- Google Cloud Storage Pack ( Optional )
- Azure Storage Container Pack ( Optional )
Configure Cortex XSOAR on Prisma Cloud DSPM
- Log in to you Prisma Cloud DSPM platform.
- Navigate to Settings > Workflow > XSOAR.
- Click Connect to create and configure a new XSOAR integration.
- XSOAR link - Add the XSOAR API URL.
- Notified On - Select the Risks option.
- Severity Threshold - Set the severity threshold to receive notifications for assets that fall under that severity.
- Filter By Tags - Notifications will be sent for assets that match any of the selected tags.
- Advanced - Add required headers Authorization and x-xdr-auth-id
Configure Prisma Cloud DSPM on Cortex XSOAR
- Navigate to Settings & Info > Settings > Integrations > Instances.
- Search for Prisma Cloud DSPM.
-
Click Add instance to create and configure a new integration instance.
Parameter Description Required DSPM server URL The tenant URL of the Prisma Cloud DSPM True DSPM API Key API key to use for the connection. True Trust any certificate (not secure) False Use system proxy settings False Fetch incidents False - Click Test to validate the URLs, token, and connection.
Commands
You can execute these commands from the Cortex XSOAR CLI, as part of an automation, or in a playbook.
After you successfully execute a command, a DBot message appears in the War Room with the command details.
dspm-list-risk-findings
Retrieves risk findings matching the input criteria.
Base Command
dspm-list-risk-findings
Input
| Argument Name | Description | Required |
|---|---|---|
| rule_name_in | A comma-separated list of rule names. | Optional |
| rule_name_equal | The exact rule name. | Optional |
| dspm_tag_key_in | A comma-separated list of DSPM tag keys. | Optional |
| dspm_tag_key_equal | Exact DSPM tag key. | Optional |
| dspm_tag_value_in | A comma-separated list of DSPM tag values. | Optional |
| dspm_tag_value_equal | The exact DSPM tag value. | Optional |
| projectId_in | A comma-separated list of project IDs. | Optional |
| projectId_equal | The exact project ID. | Optional |
| cloud_provider_in | A comma-separated list of cloud providers. Possible values are: AWS, AZURE, GCP, SNOWFLAKE, FILE_SHARE, O365. Default is AWS. | Optional |
| cloud_provider_equal | The exact cloud provider. Possible values are: AWS, AZURE, GCP, SNOWFLAKE, FILE_SHARE, O365. | Optional |
| affects_in | A comma-separated list of affects. Possible values are: SECURITY, COMPLIANCE, GOVERNANCE, SECURITY_AND_COMPLIANCE, SECURITY_AND_GOVERNANCE, COMPLIANCE_AND_GOVERNANCE, SECURITY_AND_COMPLIANCE_AND_GOVERNANCE. | Optional |
| affects_equal | The exact effect. Possible values are: SECURITY, COMPLIANCE, GOVERNANCE, SECURITY_AND_COMPLIANCE, COMPLIANCE_AND_GOVERNANCE, SECURITY_AND_GOVERNANCE, SECURITY_AND_COMPLIANCE_AND_GOVERNANCE. | Optional |
| status_in | A comma-separated list of statuses. Possible values are: OPEN, CLOSED, UNIMPORTANT, WRONG, HANDLED, INVESTIGATING. | Optional |
| status_equal | The exact status. Possible values are: OPEN, CLOSED, UNIMPORTANT, WRONG, HANDLED, INVESTIGATING. | Optional |
| sort | The sort order. | Optional |
| limit | The maximum number of risk findings to retrieve. Default is 50. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| DSPM.RiskFinding.asset | Unknown | The asset details associated with the risk finding. |
| DSPM.RiskFinding.cloudEnvironment | String | The cloud environment (public or private) associated with the risk finding. |
| DSPM.RiskFinding.cloudProvider | String | The cloud provider associated with the risk finding (e.g., AWS, Azure, GCP). |
| DSPM.RiskFinding.complianceStandards | Unknown | The compliance standards relevant to the risk finding. |
| DSPM.RiskFinding.firstDiscovered | Date | The date the risk finding was first discovered. |
| DSPM.RiskFinding.id | String | The unique ID of the risk finding. |
| DSPM.RiskFinding.projectId | String | The project ID where the asset resides. |
| DSPM.RiskFinding.ruleName | String | The rule name associated with the risk finding. |
| DSPM.RiskFinding.severity | String | The severity of the risk finding (e.g., Low, Medium, High). |
| DSPM.RiskFinding.status | String | The current status of the risk finding (e.g., Open, Closed). |
Command example
#### Context Example
```json
{
"DSPM": {
"RiskFinding": [
{
"id": "00000000-0000-4f99-0000-616843b6b19e",
"ruleName": "Empty storage asset",
"severity": "LOW",
"asset": {},
"status": "OPEN",
"projectId": "********",
"cloudProvider": "AWS",
"cloudEnvironment": "UNKNOWN",
"firstDiscovered": "2024-09-27T11:55:39.059125Z",
"complianceStandards": {}
}
]
}
}
Human Readable Output
Results
Asset Cloud Environment Cloud Provider Compliance Standards First Discovered ID Project ID Rule Name Severity Status {} UNKNOWN AWS {} 2024-09-27T11:55:39.059125Z 00000000-0000-4f99-0000-616843b6b19e **** Empty storage asset LOW OPEN
dspm-get-risk-finding-by-id
Retrieves the details of a risk for the provided risk ID.
Base Command
dspm-get-risk-finding-by-id
Input
| Argument Name | Description | Required |
|---|---|---|
| finding_id | ID of the risk for which to retrieve details. | Required |
Context Output
| Path | Type | Description |
|---|---|---|
| DSPM.RiskFinding.asset | Unknown | The asset details associated with the risk finding. |
| DSPM.RiskFinding.cloudEnvironment | String | The cloud environment (public or private) associated with the risk finding. |
| DSPM.RiskFinding.cloudProvider | String | The cloud provider associated with the risk finding (e.g., AWS, Azure, GCP). |
| DSPM.RiskFinding.complianceStandards | Unknown | The compliance standards relevant to the risk finding. |
| DSPM.RiskFinding.firstDiscovered | Date | The date the risk finding was first discovered. |
| DSPM.RiskFinding.id | String | The unique ID of the risk finding. |
| DSPM.RiskFinding.projectId | String | The project ID where the asset resides. |
| DSPM.RiskFinding.ruleName | String | The rule name associated with the risk finding. |
| DSPM.RiskFinding.severity | String | The severity of the risk finding (e.g., Low, Medium, High). |
| DSPM.RiskFinding.status | String | The current status of the risk finding (e.g., Open, Closed). |
Command example
!dspm-get-risk-finding-by-id finding_id="00000000-0000-4f99-0000-616843b6b19e"
Context Example
{
"DSPM": {
"RiskFinding": {
"id": "00000000-0000-4f99-0000-616843b6b19e",
"ruleName": "Empty storage asset",
"severity": "LOW",
"asset": {},
"status": "OPEN",
"projectId": "********",
"cloudProvider": "AWS",
"cloudEnvironment": "UNKNOWN",
"firstDiscovered": "2024-09-27T11:55:39.059125Z",
"complianceStandards": {}
}
}
}
Human Readable Output
Results
Asset Cloud Environment Cloud Provider Compliance Standards First Discovered ID Project ID Rule Name Severity Status {} UNKNOWN AWS {} 2024-09-27T11:55:39.059125Z 00000000-0000-4f99-0000-616843b6b19e **** Empty storage asset LOW OPEN
dspm-list-assets
Retrieves a list of assets for the company.
Base Command
dspm-list-assets
Input
| Argument Name | Description | Required |
|---|---|---|
| region_in | A comma-separated list of regions. | Optional |
| region_equal | The exact region. | Optional |
| cloud_provider_in | A comma-separated list of cloud providers. Possible values are: AWS, AZURE, GCP, SNOWFLAKE, FILE_SHARE, O365. | Optional |
| cloud_provider_equal | The exact cloud provider. Possible values are: AWS, AZURE, GCP, SNOWFLAKE, FILE_SHARE, O365. | Optional |
| service_type_in | A comma-separated list of service types. | Optional |
| service_type_equal | The exact service type. | Optional |
| lifecycle_in | A comma-separated list of life cycles. Possible values are: RUNNING, STOPPED, DELETED. | Optional |
| lifecycle_equal | The exact lifecycle. Possible values are: RUNNING, STOPPED, DELETED. | Optional |
| sort | The sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported. | Optional |
| limit | The maximum number of assets to retrieve. Default is 50. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| DSPM.Asset.dataTypes | Unknown | Data types associated with the asset. |
| DSPM.Asset.dataTypeGroups | Unknown | Data type groups associated with the asset. |
| DSPM.Asset.assetDigTags | Unknown | Dig tags associated with the asset. |
| DSPM.Asset.cloudEnvironment | String | The cloud environment in which the asset exists. |
| DSPM.Asset.cloudProvider | String | The cloud provider for the asset. |
| DSPM.Asset.encrypted | Boolean | Indicates if the asset is encrypted. |
| DSPM.Asset.id | String | The unique identifier of the asset. |
| DSPM.Asset.lifecycle | String | Lifecycle status of the asset. |
| DSPM.Asset.name | String | The name of the asset. |
| DSPM.Asset.openAlertsCount | Number | The count of open alerts for the asset. |
| DSPM.Asset.openRisksCount | Number | The count of open risks for the asset. |
| DSPM.Asset.openToWorld | Boolean | Indicates if the asset is open to the world. |
| DSPM.Asset.projectId | String | The ID of the project associated with the asset. |
| DSPM.Asset.projectName | String | The name of the project associated with the asset. |
| DSPM.Asset.serviceType | String | The type of service associated with the asset. |
| DSPM.Asset.tags | Unknown | Tags related to the asset. |
Command example
!dspm-list-assets cloudProviderEqual=AWS serviceTypeEqual=S3
Context Example
{
"DSPM": {
"Assets": [{
"projectId": "************",
"projectName": "************",
"name": "dymmy-ci0jq3kgvjnccdfp-us-east-1",
"cloudProvider": "AWS",
"cloudEnvironment": "TESTING",
"serviceType": "S3",
"dataTypeGroups": [],
"dataTypes": [],
"lifecycle": "RUNNING",
"openRisksCount": 0,
"openAlertsCount": 0,
"encrypted": true,
"openToWorld": false,
"tags": {},
"assetDigTags": [],
"id": "arn:aws:s3:::dymmy-ci0jq3kgvjnccdfp-us-east-1"
}]
}
}
Human Readable Output
Results
Asset Dig Tags Cloud Environment Cloud Provider Encrypted ID Lifecycle Name Open Alerts Count Open Risks Count Open To World Project ID Project Name Service Type Tags Data Type Groups Data Types TESTING AWS true arn:aws:s3:::dymmy-ci0jq3kgvjnccdfp-us-east-1 RUNNING dymmy-ci0jq3kgvjnccdfp-us-east-1 0 0 false **** **** S3
dspm-get-asset-details
Retrieves details for the specified asset ID.
Base Command
dspm-get-asset-details
Input
| Argument Name | Description | Required |
|---|---|---|
| asset_id | ID of the asset for which to retrieve details. | Required |
Context Output
| Path | Type | Description |
|---|---|---|
| DSPM.AssetDetails.assetDigTags | Unknown | The dig tags associated with the asset. |
| DSPM.AssetDetails.cloudEnvironment | String | The cloud environment in which the asset exists. |
| DSPM.AssetDetails.cloudProvider | String | The cloud provider for the asset (e.g., AWS, Azure, GCP). |
| DSPM.AssetDetails.dataTypeGroups | Unknown | Groups of data types associated with the asset. |
| DSPM.AssetDetails.dataTypes | Unknown | The data types related to the asset. |
| DSPM.AssetDetails.encrypted | Boolean | Indicates if the asset is encrypted. |
| DSPM.AssetDetails.id | String | The unique identifier of the asset. |
| DSPM.AssetDetails.lifecycle | String | The lifecycle status of the asset. |
| DSPM.AssetDetails.name | String | The name of the asset. |
| DSPM.AssetDetails.openAlertsCount | Number | The count of open alerts for the asset. |
| DSPM.AssetDetails.openRisksCount | Number | The count of open risks for the asset. |
| DSPM.AssetDetails.openToWorld | Boolean | Indicates if the asset is open to the world. |
| DSPM.AssetDetails.projectId | String | The ID of the project associated with the asset. |
| DSPM.AssetDetails.projectName | String | The name of the project associated with the asset. |
| DSPM.AssetDetails.serviceType | String | The type of service associated with the asset. |
| DSPM.AssetDetails.tags | Unknown | Tags related to the asset. |
Command example
!dspm-get-asset-details asset_id="arn:aws:s3:::dummyS3-cifp-us-east-1"
Context Example
{
"DSPM": {
"AssetDetails": {
"assetDigTags": [],
"cloudEnvironment": "TESTING",
"cloudProvider": "AWS",
"dataTypeGroups": [],
"dataTypes": [],
"encrypted": true,
"id": "arn:aws:s3:::dummyS3-cifp-us-east-1",
"lifecycle": "RUNNING",
"name": "dymmy-ci0jq3kgvjnccdfp-us-east-1",
"openAlertsCount": 0,
"openRisksCount": 0,
"openToWorld": false,
"projectId": "************",
"projectName": "************",
"serviceType": "S3",
"tags": {}
}
}
}
Human Readable Output
Results
assetDigTags cloudEnvironment cloudProvider dataTypeGroups dataTypes encrypted id lifecycle name openAlertsCount openRisksCount openToWorld projectId projectName serviceType tags TESTING AWS true arn:aws:s3:::dummyS3-cifp-us-east-1 RUNNING dymmy-ci0jq3kgvjnccdfp-us-east-1 0 0 false **** **** S3
dspm-get-asset-files-by-id
Retrieves file details for the specified asset ID.
Base Command
dspm-get-asset-files-by-id
Input
| Argument Name | Description | Required |
|---|---|---|
| asset_id | ID of the asset for which to retrieve file details. | Required |
Context Output
| Path | Type | Description |
|---|---|---|
| DSPM.AssetFiles.filename | String | Asset file name. |
| DSPM.AssetFiles.path | String | Asset file path. |
| DSPM.AssetFiles.type | String | Asset file type. |
| DSPM.AssetFiles.size | String | Asset file size. |
| DSPM.AssetFiles.openToWorld | Boolean | Whether the asset is open to world. |
| DSPM.AssetFiles.isDeleted | Boolean | Whether the asset is deleted. |
| DSPM.AssetFiles.isMalicious | Boolean | Whether the asset is malicious. |
| DSPM.AssetFiles.dataTypes.name | String | Asset file data types name. |
| DSPM.AssetFiles.dataTypes.label | String | Asset file data types label. |
| DSPM.AssetFiles.dataTypes.count | Number | Asset file data types count. |
| DSPM.AssetFiles.dataTypes.valueDetails.masked_value | String | Asset file data types value detail masked value. |
| DSPM.AssetFiles.dataTypes.valueDetails.line | Number | Asset file data types value detail line. |
| DSPM.AssetFiles.labels | String | Asset file labels. |
| DSPM.AssetFiles.isDbDump | Boolean | Asset file is a database dump. |
Command example
!dspm-get-asset-files-by-id asset_id="arn:aws:s3:::dummyS3-cifp-us-east-1"
Context Example
{
"files": [
{
"filename": "268d4e2d-03f2-4044-b82d-8855b2e77f8d.csv",
"path": "268d4e2d-03f2-4044-b82d-8855b2e77f8d.csv",
"type": "Data Format",
"size": "17081",
"openToWorld": true,
"isDeleted": false,
"isMalicious": false,
"dataTypes": [
{
"name": "IP Address",
"label": "Sensitive",
"count": 100,
"valueDetails": [
{
"masked_value": "20.163.*.*",
"line": 3
},
{
"masked_value": "38.229.*.*",
"line": 4
},
{
"masked_value": "45.136.*.*",
"line": 5
}
]
},
{
"name": "Internal IP Address",
"label": "Sensitive",
"count": 100,
"valueDetails": [
{
"masked_value": "10.0.*.*",
"line": 2
},
{
"masked_value": "10.0.*.*",
"line": 8
},
{
"masked_value": "10.0.*.*",
"line": 14
}
]
}
],
"labels": [
"Sensitive"
],
"isDbDump": false
},
{
"filename": "data security test cases.pdf",
"path": "data security test cases.pdf",
"type": "Document",
"size": "73286",
"openToWorld": true,
"isDeleted": false,
"isMalicious": false,
"dataTypes": [
{
"name": "Street Address",
"label": "Sensitive",
"count": 1,
"valueDetails": [
{
"masked_value": "3** E*** R******* Street",
"line": null
}
]
},
{
"name": "Email Address",
"label": "PII",
"count": 1,
"valueDetails": [
{
"masked_value": "t**t@b****l.com",
"line": null
}
]
}
],
"labels": [
"PII",
"Sensitive"
],
"isDbDump": false
}
],
"filesCount": 2
}
Human Readable Output
filename path type size openToWorld isDeleted isMalicious dataTypes labels isDbDump 268d4e2d-03f2-4044-b82d-8855b2e77f8d.csv 268d4e2d-03f2-4044-b82d-8855b2e77f8d.csv Data Format 17081 true false false IP Address (Sensitive), Internal IP Address (Sensitive) Sensitive false data security test cases.pdf data security test cases.pdf Document 73286 true false false Street Address (Sensitive), Email Address (PII) PII, Sensitive false
dspm-get-list-of-asset-fields-by-id
Return list of fields for structured assets such as RDS, Aurora, and BigQuery.
Base Command
dspm-get-list-of-asset-fields-by-id
Input
| Argument Name | Description | Required |
|---|---|---|
| assetId | ID of the asset for which to retrieve field details. | Required |
Context Output
| Path | Type | Description |
|---|---|---|
| DSPM.AssetFields.name | String | Asset field name. |
| DSPM.AssetFields.path | String | Asset field path. |
| DSPM.AssetFields.tableName | String | Asset field table name. |
| DSPM.AssetFields.tableSize | String | Asset field table size. |
| DSPM.AssetFields.databaseName | String | Asset field database name. |
| DSPM.AssetFields.collectionName | String | Asset field collection name. |
| DSPM.AssetFields.type | String | Asset field type. |
| DSPM.AssetFields.dataTypes.name | String | Asset field data type name. |
| DSPM.AssetFields.dataTypes.label | String | Asset field data type label. |
| DSPM.AssetFields.dataTypes.hitPercentage | Number | Asset field data type hit percentage. |
| DSPM.AssetFields.dataTypes.maskedValues.masked_value | String | Asset field datat ype masked value. |
| DSPM.AssetFields.dataTypes.maskedValues.line | Number | Asset field data type masked value line. |
| DSPM.AssetFields.schemaName | String | Asset field schema name. |
Command example
!dspm-get-list-of-asset-fields-by-id assetId="arn:aws:rds:::dummyrds-cifp-us-east-1"
Context Example
{
"fields": [
{
"name": "maidenname",
"dataTypes": [],
"path": "/public/dummy",
"tableName": "dummy",
"tableSize": "29996",
"databaseName": "Hi",
"collectionName": null,
"type": "varchar",
"schemaName": "public"
},
{
"name": "phone",
"dataTypes": [],
"path": "/public/dummy",
"tableName": "dummy",
"tableSize": "29996",
"databaseName": "Hi",
"collectionName": null,
"type": "varchar",
"schemaName": "public"
}
],
"fieldsCount": 2
}
Human Readable Output
Asset Fields
| name | dataTypes | path | tableName | tableSize | databaseName | collectionName | type | schemaName |
|---|---|---|---|---|---|---|---|---|
| maidenname | [] | /public/dummy | dummy | 29996 | Hi | null | varchar | public |
| maidenname | [] | /public/dummy | dummy | 29996 | Hi | null | varchar | public |
dspm-get-data-types
Fetches the available data types for the DSPM integration.
Base Command
dspm-get-data-types
Input
There are no input arguments for this command.
Context Output
| Path | Type | Description |
|---|---|---|
| DSPM.DataTypes.Key | String | Data types key. |
| DSPM.DataTypes.No | Number | Data types number. |
Command example
#### Context Example
```json
{
"DSPM": {
"DataTypes": [
{
"Key": "ID Number - Aadhaar (India)",
"No": 1
},
{
"Key": "Artifactory API Key",
"No": 2
},
{
"Key": "AWS Secret Key",
"No": 3
},
{
"Key": "Credit Card Expiration Date",
"No": 4
},
{
"Key": "Certificate",
"No": 5
}
]
}
}
Human Readable Output
Data Types
No Key 1 ID Number - Aadhaar (India) 2 Artifactory API Key 3 AWS Secret Key 4 Credit Card Expiration Date 5 Certificate
dspm-list-labels
Returns a list of label names based on the company.
Base Command
dspm-list-labels
Input
There are no input arguments for this command.
Context Output
| Path | Type | Description |
|---|---|---|
| DSPM.Label.Key | String | Label key. |
| DSPM.Label.No | unknown | Label number. |
Command example
#### Context Example
```json
{
"DSPM": {
"Label": [
{
"Key": "PCI",
"No": 1
},
{
"Key": "PHI",
"No": 2
},
{
"Key": "PII",
"No": 3
},
{
"Key": "Confidential",
"No": 4
},
{
"Key": "Sensitive",
"No": 5
}
]
}
}
Human Readable Output
Data Types
No Key 1 PCI 2 PHI 3 PII 4 Confidential 5 Sensitive
dspm-list-data-types-findings
Retrieves a list of data type findings for the company.
Base Command
dspm-list-data-types-findings
Input
| Argument Name | Description | Required |
|---|---|---|
| region_in | A comma-separated list of regions. | Optional |
| region_equal | The exact region. | Optional |
| cloud_provider_in | A comma-separated list of cloud providers. Possible values are: AWS, AZURE, GCP, SNOWFLAKE, FILE_SHARE, O365. | Optional |
| cloud_provider_equal | The exact cloud provider. Possible values are: AWS, AZURE, GCP, SNOWFLAKE, FILE_SHARE, O365. | Optional |
| service_type_in | A comma-separated list of service types. | Optional |
| service_type_equal | The exact service type. | Optional |
| lifecycle_in | A comma-separated list of life cycles. | Optional |
| projectId_in | A comma-separated list of project IDs. | Optional |
| projectId_equal | The exact project ID. | Optional |
| lifecycle_equal | The exact life cycle. | Optional |
| sort | The sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported. | Optional |
| limit | The maximum number of data types findings to retrieve. Default is 50. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| DSPM.DataTypesFinding.dataTypeName | String | Represents the name of the data type being analyzed. |
| DSPM.DataTypesFinding.label | String | Label associated with the data type, such as PII. |
| DSPM.DataTypesFinding.records | Integer | The number of records associated with the data type. |
| DSPM.DataTypesFinding.publicRecords | Integer | The number of public records found for this data type. |
| DSPM.DataTypesFinding.assets | Integer | The number of assets associated with this data type. |
| DSPM.DataTypesFinding.clouds | String | The clouds where the data type was found (e.g., AWS, Azure). |
| DSPM.DataTypesFinding.regions | String | The regions where the data type was found. |
| DSPM.DataTypesFinding.lastFound | Date | The timestamp when the data type was last found. |
| DSPM.DataTypesFinding.recordsAtRisk.high | Integer | The number of high-risk records found for this data type. |
| DSPM.DataTypesFinding.recordsAtRisk.medium | Integer | The number of medium-risk records found for this data type. |
| DSPM.DataTypesFinding.recordsAtRisk.low | Integer | The number of low-risk records found for this data type. |
Command example
!dspm-list-data-types-findings cloudProviderEqual=AWS
Context Example
[{
"dataTypeName": "AADHAAR_INDIVIDUAL_IDENTIFICATION",
"label": "PII",
"records": 4,
"publicRecords": 0,
"assets": 1,
"clouds": [
"AWS"
],
"regions": [
"us-east-1"
],
"lastFound": "2024-05-09T03:24:29Z",
"recordsAtRisk": {
"high": 0,
"medium": 4,
"low": 0
}
}]
Human Readable Output
Data Types Findings
| dataTypeName | label | records | publicRecords | assets | clouds | regions | lastFound | recordsAtRisk.high | recordsAtRisk.medium | recordsAtRisk.low |
|---|---|---|---|---|---|---|---|---|---|---|
| AADHAAR_INDIVIDUAL_IDENTIFICATION | PII | 4 | 0 | 1 | AWS | us-east-1 | 2024-05-09T03:24:29Z | 0 | 4 | 0 |
dspm-update-risk-finding-status
Updates the status of a risk finding.
Base Command
dspm-update-risk-finding-status
Input
| Argument Name | Description | Required |
|---|---|---|
| risk_finding_id | Risk Finding ID. | Required |
| status | List of supported statuses. Possible values are: OPEN, CLOSED, UNIMPORTANT, WRONG, HANDLED, INVESTIGATING. | Required |
Context Output
| Path | Type | Description |
|---|---|---|
| DSPM.RiskFindingStatusUpdate.newStatus | String | Updated risk finding status. |
| DSPM.RiskFindingStatusUpdate.oldStatus | String | Old risk finding status. |
| DSPM.RiskFindingStatusUpdate.riskFindingId | String | Risk finding ID. |
Command example
!dspm-update-risk-finding-status riskFindingId="00000000-0000-4f99-0000-616843b6b19e" status=INVESTIGATING
Context Example
{
"DSPM": {
"RiskFindingStatusUpdate": {
"newStatus": "INVESTIGATING",
"oldStatus": "INVESTIGATING",
"riskFindingId": "00000000-0000-4f99-0000-616843b6b19e"
}
}
}
Human Readable Output
Risk Status Update
Risk Finding ID Old Status New Status 00000000-0000-4f99-0000-616843b6b19e INVESTIGATING INVESTIGATING
dspm-update-alert-status
Updates the status of an alert.
Base Command
dspm-update-alert-status
Input
| Argument Name | Description | Required |
|---|---|---|
| alert_id | Alert ID. | Required |
| status | List of supported statuses. Possible values are: OPEN, UNIMPORTANT, WRONG, HANDLED, INVESTIGATING. | Required |
Context Output
| Path | Type | Description |
|---|---|---|
| DSPM.AlertStatusUpdate.newStatus | String | Updated alert status. |
| DSPM.AlertStatusUpdate.oldStatus | String | Old alert status. |
| DSPM.AlertStatusUpdate.alertId | String | Alert ID. |
Command example
!dspm-update-alert-status alertId="000000608" status=INVESTIGATING
Context Example
{
"DSPM": {
"AlertStatusUpdate": {
"newStatus": "INVESTIGATING",
"oldStatus": "INVESTIGATING",
"alertId": "000000608"
}
}
}
Human Readable Output
Alert Status Update
Alert ID Old Status New Status 000000608 INVESTIGATING INVESTIGATING
dspm-list-alerts
Fetch list of alerts.
Base Command
dspm-list-alerts
Input
| Argument Name | Description | Required |
|---|---|---|
| detection_time_equals | The exact detection time (equals). detection time format - YYYY-MM-DDTHH:MM:SSZ. | Optional |
| detection_time_greater_than_or_equal | Detection time (greater than or equal). detection time format - YYYY-MM-DDTHH:MM:SSZ. | Optional |
| detection_time_greater_than | Detection time (greater than). detection time format - YYYY-MM-DDTHH:MM:SSZ. | Optional |
| detection_time_less_than_or_equal | Detection time (less than or equal). detection time format - YYYY-MM-DDTHH:MM:SSZ. | Optional |
| detection_time_less_than | Detection time (less than). detection time format - YYYY-MM-DDTHH:MM:SSZ. | Optional |
| policy_name_in | A comma-separated list of policy names. | Optional |
| policy_name_equals | The exact policy name. | Optional |
| asset_name_in | A comma-separated list of asset names. | Optional |
| asset_name_equals | The exact asset name. | Optional |
| cloud_provider_in | A comma-separated list of cloud providers. Possible values are: AWS, AZURE, GCP, SNOWFLAKE, FILE_SHARE, O365. | Optional |
| cloud_provider_equals | The exact cloud provider. Possible values are: AWS, AZURE, GCP, SNOWFLAKE, FILE_SHARE, O365. | Optional |
| destination_project_vendor_name_in | A comma-separated list of project vendor names. | Optional |
| destination_project_vendor_name_equals | The exact destination project vendor name. | Optional |
| cloud_environment_in | A comma-separated list of cloud environments. Possible values are: UNKNOWN, DEVELOPMENT, STAGING, TESTING, PRODUCTION. | Optional |
| cloud_environment_equals | The exact cloud environment. Possible values are: UNKNOWN, DEVELOPMENT, STAGING, TESTING, PRODUCTION. | Optional |
| policy_severity_in | A comma-separated list of policy severities. Possible values are: HIGH, MEDIUM, LOW. | Optional |
| policy_severity_equals | The exact policy severity. Possible values are: HIGH, MEDIUM, LOW. | Optional |
| category_type_in | A comma-separated list of category types. Possible values are: FIRST_MOVE, ATTACK, COMPLIANCE, ASSET_AT_RISK, RECONNAISSANCE. | Optional |
| category_type_equals | The exact category type. Possible values are: FIRST_MOVE, ATTACK, COMPLIANCE, ASSET_AT_RISK, RECONNAISSANCE. | Optional |
| status_in | A comma-separated list of statuses. Possible values are: OPEN, CLOSED, UNIMPORTANT, WRONG, HANDLED, INVESTIGATING. | Optional |
| status_equals | The exact status. Possible values are: OPEN, CLOSED, UNIMPORTANT, WRONG, HANDLED, INVESTIGATING. | Optional |
| sort | Sort order (property,asc|desc). | Optional |
| limit | The maximum number of alerts to retrieve. Default is 50. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| DSPM.Alert.id | String | Alert ID. |
| DSPM.Alert.detectionTime | Date | Alert detection time. |
| DSPM.Alert.policyName | String | Alert policy name. |
| DSPM.Alert.assetName | String | Alert asset name. |
| DSPM.Alert.assetLabels | Unknown | Alert asset label. |
| DSPM.Alert.cloudProvider | String | Alert cloud provider. |
| DSPM.Alert.destinationProjects | Unknown | Alert destination projects. |
| DSPM.Alert.cloudEnvironment | String | Alert cloud enviroment. |
| DSPM.Alert.policySeverity | String | Alert policy severity. |
| DSPM.Alert.policyCategoryType | String | Alert policy category type. |
| DSPM.Alert.status | String | Alert status. |
| DSPM.Alert.eventActor | String | Alert event actor. |
| DSPM.Alert.eventUserAgent | String | Alert event user agent. |
| DSPM.Alert.eventActionMedium | String | Alert event action medium. |
| DSPM.Alert.eventSource | String | Alert event source. |
| DSPM.Alert.policyFrameWorks | String | Alert policy frameworks. |
| DSPM.Alert.eventRawData | String | Alert event raw data. |
Command example
!dspm-list-alerts cloudEnvironmentEquals="TESTING"
Context Example
{
"DSPM": {
"Alerts": [
{
"id": "340256006",
"detectionTime": "2024-08-07T18:55:50.64996Z",
"policyName": "Asset made public",
"assetName": "mikeys3",
"assetLabels": [],
"cloudProvider": "AWS",
"destinationProjects": {},
"cloudEnvironment": "TESTING",
"policySeverity": "HIGH",
"policyCategoryType": "ATTACK",
"status": "OPEN",
"eventActor": "dummy_email",
"eventUserAgent": "[S3Console/0.4, aws-internal/3 aws-sdk-java/1.12.488 Linux/5.10.220-187.867.amzn2int.x86_64 OpenJDK_64-Bit_Server_VM/25.372-b08 java/1.8.0_372 vendor/Oracle_Corporation cfg/retry-mode/standard]",
"eventActionMedium": "CONSOLE",
"eventSource": "***.**.**.***.***",
"policyFrameWorks": [
"MITRE-T1098"
],
"eventRawData": "{\"eventVersion\":\"1.09\",\"userIdentity\":{\"type\":\"AssumedRole\",\"principalId\":\"AROASI3QR4HKUAIEPBICG:dummy_email\",\"arn\":\"arn:aws:sts::576847873638:assumed-role/sso_admin-tac-nam/dummy_email\",\"accountId\":\"576847873638\",\"accessKeyId\":\"ASIASI3QR4HK2LDI5JMN\",\"sessionContext\":{\"sessionIssuer\":{\"type\":\"Role\",\"principalId\":\"AROASI3QR4HKUAIEPBICG\",\"arn\":\"arn:aws:iam::576847873638:role/sso_admin-tac-nam\",\"accountId\":\"576847873638\",\"userName\":\"sso_admin-tac-nam\"},\"attributes\":{\"creationDate\":\"2024-08-07T18:51:51Z\",\"mfaAuthenticated\":\"false\"}}},\"eventTime\":\"2024-08-07T18:55:37Z\",\"eventSource\":\"s3.amazonaws.com\",\"eventName\":\"PutBucketPolicy\",\"awsRegion\":\"us-east-1\",\"sourceIPAddress\":\"***.**.**.***.***\",\"userAgent\":\"[S3Console/0.4, aws-internal/3 aws-sdk-java/1.12.488 Linux/5.10.220-187.867.amzn2int.x86_64 OpenJDK_64-Bit_Server_VM/25.372-b08 java/1.8.0_372 vendor/Oracle_Corporation cfg/retry-mode/standard]\",\"requestParameters\":{\"bucketPolicy\":{\"Version\":\"2012-10-17\",\"Statement\":[{\"Sid\":\"Statement1\",\"Effect\":\"Allow\",\"Principal\":\"*\",\"Action\":[\"s3:AbortMultipartUpload\",\"s3:DeleteObject\",\"s3:GetObject\",\"s3:ListBucketMultipartUploads\",\"s3:ListMultipartUploadParts\",\"s3:PutObject\"],\"Resource\":[\"arn:aws:s3:::mikeys3\",\"arn:aws:s3:::mikeys3/*\"]}]},\"bucketName\":\"mikeys3\",\"Host\":\"s3.amazonaws.com\",\"policy\":\"\"},\"responseElements\":null,\"additionalEventData\":{\"SignatureVersion\":\"SigV4\",\"CipherSuite\":\"TLS_AES_128_GCM_SHA256\",\"bytesTransferredIn\":568,\"AuthenticationMethod\":\"AuthHeader\",\"x-amz-id-2\":\"KXHYo+o2L/Gnk0pmKY+gV+0YufF6uGyD3GRwK+FXEJ7eai772ytOzbV9CwwoezhB5PPR/6RxZyhOyBowBOyQih\",\"bytesTransferredOut\":0},\"requestID\":\"CJ3J7M851NAGAF58\",\"eventID\":\"df06b9ad-79dc-4a17-ae0e-82ecff9cfa5e\",\"readOnly\":false,\"resources\":[{\"accountId\":\"576847873638\",\"type\":\"AWS::S3::Bucket\",\"ARN\":\"arn:aws:s3:::mikeys3\"}],\"eventType\":\"AwsApiCall\",\"managementEvent\":true,\"recipientAccountId\":\"576847873638\",\"vpcEndpointId\":\"vpce-f40dc59d\",\"eventCategory\":\"Management\",\"tlsDetails\":{\"tlsVersion\":\"TLSv1.3\",\"cipherSuite\":\"TLS_AES_128_GCM_SHA256\",\"clientProvidedHostHeader\":\"s3.amazonaws.com\"}}"
}
]
}
}
Human Readable Output
DSPM Alert
Alert ID Detection Time Policy Name Asset Name Cloud Provider Cloud Environment Policy Severity Policy Category Status Event Actor Event Action Medium Event Source Policy Frameworks eventRawData 340256006 2024-08-07T18:55:50.64996Z Asset made public mikeys3 AWS TESTING HIGH ATTACK OPEN dummy_email CONSOLE .**.**..*** MITRE-T1098 ”{"eventVersion":"1.09","userIdentity":{"type":"AssumedRole","principalId":"AROASI3QR4HKUAIEPBICG:dummy_email","arn":"arn:aws:sts::576847873638:assumed-role/sso_admin-tac-nam/dummy_email","accountId":"576847873638","accessKeyId":"ASIASI3QR4HK2LDI5JMN","sessionContext":{"sessionIssuer":{"type":"Role","principalId":"AROASI3QR4HKUAIEPBICG","arn":"arn:aws:iam::576847873638:role/sso_admin-tac-nam","accountId":"576847873638","userName":"sso_admin-tac-nam"},"attributes":{"creationDate":"2024-08-07T18:51:51Z","mfaAuthenticated":"false"}}},"eventTime":"2024-08-07T18:55:37Z","eventSource":"s3.amazonaws.com","eventName":"PutBucketPolicy","awsRegion":"us-east-1","sourceIPAddress":".**.**..**","userAgent":"[S3Console/0.4, aws-internal/3 aws-sdk-java/1.12.488 Linux/5.10.220-187.867.amzn2int.x86_64 OpenJDK_64-Bit_Server_VM/25.372-b08 java/1.8.0_372 vendor/Oracle_Corporation cfg/retry-mode/standard]","requestParameters":{"bucketPolicy":{"Version":"2012-10-17","Statement":[{"Sid":"Statement1","Effect":"Allow","Principal":"","Action":["s3:AbortMultipartUpload","s3:DeleteObject","s3:GetObject","s3:ListBucketMultipartUploads","s3:ListMultipartUploadParts","s3:PutObject"],"Resource":["arn:aws:s3:::mikeys3","arn:aws:s3:::mikeys3/*"]}]},"bucketName":"mikeys3","Host":"s3.amazonaws.com","policy":""},"responseElements":null,"additionalEventData":{"SignatureVersion":"SigV4","CipherSuite":"TLS_AES_128_GCM_SHA256","bytesTransferredIn":568,"AuthenticationMethod":"AuthHeader","x-amz-id-2":"KXHYo+o2TWL/Gnk0pmKY+gV+0YufF6uGyD3GRwK+FXEJ7eai772ytOzbV9CwwoBq+pezhB5PPR/6RxZyhOyZltIBowBOyQih","bytesTransferredOut":0},"requestID":"CJ3J7M851NAGAF58","eventID":"df06b9ad-79dc-4a17-ae0e-82ecff9cfa5e","readOnly":false,"resources":[{"accountId":"576847873638","type":"AWS::S3::Bucket","ARN":"arn:aws:s3:::mikeys3"}],"eventType":"AwsApiCall","managementEvent":true,"recipientAccountId":"576847873638","vpcEndpointId":"vpce-f40dc59d","eventCategory":"Management","tlsDetails":{"tlsVersion":"TLSv1.3","cipherSuite":"TLS_AES_128_GCM_SHA256","clientProvidedHostHeader":"s3.amazonaws.com"}}”
Configuration parameters
dspmBaseUrl— Your DSPM server URL (required)dspmApiKey— (required)insecure— Trust any certificate (not secure)proxy— Use system proxy settingsisFetch— Fetch incidents
Commands (12)
-
dspm-get-asset-detailsRetrieves details for the specified asset ID.
-
dspm-get-asset-files-by-idRetrieves file details for the specified asset ID.
-
dspm-get-data-typesFetches the available data types for the DSPM integration.
-
dspm-get-list-of-asset-fields-by-idReturn list of fields for structured assets such as RDS, Aurora, and BigQuery.
-
dspm-get-risk-finding-by-idRetrieves the details of a risk for the provided risk ID.
-
dspm-list-alertsFetch list of alerts.
-
dspm-list-assetsRetrieves a list of assets for the company.
-
dspm-list-data-types-findingsRetrieves a list of data type findings for the company.
-
dspm-list-labelsReturns a list of label names based on the company.
-
dspm-list-risk-findingsRetrieves risk findings matching the input criteria.
-
dspm-update-alert-statusUpdates the status of an alert.
-
dspm-update-risk-finding-statusUpdates the status of a risk finding.
commonfields: id: DSPM version: -1 sectionorder: - Connect - Collect name: DSPM display: Prisma Cloud DSPM category: Network Security provider: Palo Alto Networks description: | Remediate your data security risks. Integrate with Prisma Cloud DSPM to fetch your data security risks and remediate them with OOTB playbooks. configuration: - defaultvalue: https://api.dig.security/ display: Your DSPM server URL name: dspmBaseUrl required: true type: 0 section: Connect - displaypassword: DSPM API Key additionalinfo: API key to use for the connection. name: dspmApiKey required: true hiddenusername: true type: 9 section: Connect - display: Trust any certificate (not secure) name: insecure type: 8 required: false section: Connect - display: Use system proxy settings name: proxy type: 8 required: false section: Connect - display: Fetch incidents name: isFetch type: 8 required: false section: Collect script: commands: - arguments: - description: 'A comma-separated list of rule names.' isArray: true name: rule_name_in required: false secret: false - description: 'Exact rule name.' isArray: false name: rule_name_equal required: false secret: false - description: 'A comma-separated list of DSPM tag keys.' isArray: true name: dspm_tag_key_in required: false secret: false - description: 'Exact DSPM tag key.' isArray: false name: dspm_tag_key_equal required: false secret: false - description: 'A comma-separated list of DSPM tag values.' isArray: true name: dspm_tag_value_in required: false secret: false - description: 'Exact DSPM tag value.' isArray: false name: dspm_tag_value_equal required: false secret: false - description: 'A comma-separated list of project IDs.' isArray: true name: projectId_in required: false secret: false - description: 'Exact project ID.' isArray: false name: projectId_equal required: false secret: false - description: 'A comma-separated list of cloud providers.' isArray: true name: cloud_provider_in required: false secret: false auto: PREDEFINED predefined: - 'AWS' - 'AZURE' - 'GCP' - 'SNOWFLAKE' - 'FILE_SHARE' - 'O365' defaultValue: 'AWS' - description: 'Exact cloud provider.' isArray: false name: cloud_provider_equal required: false secret: false auto: PREDEFINED predefined: - 'AWS' - 'AZURE' - 'GCP' - 'SNOWFLAKE' - 'FILE_SHARE' - 'O365' - description: 'A comma-separated list of affects.' isArray: true name: affects_in required: false secret: false auto: PREDEFINED predefined: - 'SECURITY' - 'COMPLIANCE' - 'GOVERNANCE' - 'SECURITY_AND_COMPLIANCE' - 'SECURITY_AND_GOVERNANCE' - 'COMPLIANCE_AND_GOVERNANCE' - 'SECURITY_AND_COMPLIANCE_AND_GOVERNANCE' - description: 'Exact affect.' isArray: false name: affects_equal required: false secret: false auto: PREDEFINED predefined: - 'SECURITY' - 'COMPLIANCE' - 'GOVERNANCE' - 'SECURITY_AND_COMPLIANCE' - 'COMPLIANCE_AND_GOVERNANCE' - 'SECURITY_AND_GOVERNANCE' - 'SECURITY_AND_COMPLIANCE_AND_GOVERNANCE' - description: 'A comma-separated list of statuses.' isArray: true name: status_in required: false secret: false auto: PREDEFINED predefined: - 'OPEN' - 'CLOSED' - 'UNIMPORTANT' - 'WRONG' - 'HANDLED' - 'INVESTIGATING' - description: 'Exact status.' isArray: false name: status_equal required: false secret: false auto: PREDEFINED predefined: - 'OPEN' - 'CLOSED' - 'UNIMPORTANT' - 'WRONG' - 'HANDLED' - 'INVESTIGATING' - description: 'Sort order.' isArray: false name: sort required: false secret: false - description: 'The maximum number of risk findings to retrieve.' isArray: false name: limit required: false secret: false defaultValue: 50 description: Retrieves risk findings matching the input criteria. name: dspm-list-risk-findings outputs: - contextPath: DSPM.RiskFinding.asset description: 'The asset details associated with the risk finding.' type: Unknown - contextPath: DSPM.RiskFinding.cloudEnvironment description: 'The cloud environment (public or private) associated with the risk finding.' type: String - contextPath: DSPM.RiskFinding.cloudProvider description: 'The cloud provider associated with the risk finding (e.g., AWS, Azure, GCP).' type: String - contextPath: DSPM.RiskFinding.complianceStandards description: 'The compliance standards relevant to the risk finding.' type: Unknown - contextPath: DSPM.RiskFinding.firstDiscovered description: 'The date the risk finding was first discovered.' type: Date - contextPath: DSPM.RiskFinding.id description: 'The unique ID of the risk finding.' type: String - contextPath: DSPM.RiskFinding.projectId description: 'The project ID where the asset resides.' type: String - contextPath: DSPM.RiskFinding.ruleName description: 'The rule name associated with the risk finding.' type: String - contextPath: DSPM.RiskFinding.severity description: 'The severity of the risk finding (e.g., Low, Medium, High).' type: String - contextPath: DSPM.RiskFinding.status description: 'The current status of the risk finding (e.g., Open, Closed).' type: String - arguments: - description: ID of the risk for which to retrieve details. name: finding_id required: true description: Retrieves the details of a risk for the provided risk ID. name: dspm-get-risk-finding-by-id outputs: - contextPath: DSPM.RiskFinding.asset description: 'The asset details associated with the risk finding.' type: Unknown - contextPath: DSPM.RiskFinding.cloudEnvironment description: 'The cloud environment (public or private) associated with the risk finding.' type: String - contextPath: DSPM.RiskFinding.cloudProvider description: 'The cloud provider associated with the risk finding (e.g., AWS, Azure, GCP).' type: String - contextPath: DSPM.RiskFinding.complianceStandards description: 'The compliance standards relevant to the risk finding.' type: Unknown - contextPath: DSPM.RiskFinding.firstDiscovered description: 'The date the risk finding was first discovered.' type: Date - contextPath: DSPM.RiskFinding.id description: 'The unique ID of the risk finding.' type: String - contextPath: DSPM.RiskFinding.projectId description: 'The project ID where the asset resides.' type: String - contextPath: DSPM.RiskFinding.ruleName description: 'The rule name associated with the risk finding.' type: String - contextPath: DSPM.RiskFinding.severity description: 'The severity of the risk finding (e.g., Low, Medium, High).' type: String - contextPath: DSPM.RiskFinding.status description: 'The current status of the risk finding (e.g., Open, Closed).' type: String - arguments: - description: Comma-separated list of regions. isArray: false name: region_in required: false secret: false - description: Exact region. isArray: false name: region_equal required: false secret: false - description: 'Comma-separated list of cloud providers.' isArray: true name: cloud_provider_in required: false secret: false auto: PREDEFINED predefined: - 'AWS' - 'AZURE' - 'GCP' - 'SNOWFLAKE' - 'FILE_SHARE' - 'O365' - description: 'Exact cloud provider.' isArray: false name: cloud_provider_equal required: false secret: false auto: PREDEFINED predefined: - 'AWS' - 'AZURE' - 'GCP' - 'SNOWFLAKE' - 'FILE_SHARE' - 'O365' - description: Comma-separated list of service types. isArray: true name: service_type_in required: false secret: false - description: Exact Service Type. isArray: false name: service_type_equal required: false secret: false - description: Comma-separated list of life cycles. isArray: true name: lifecycle_in required: false secret: false auto: PREDEFINED predefined: - 'RUNNING' - 'STOPPED' - 'DELETED' - description: Exact life cycle. isArray: false name: lifecycle_equal required: false secret: false auto: PREDEFINED predefined: - 'RUNNING' - 'STOPPED' - 'DELETED' - description: 'Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.' isArray: false name: sort required: false secret: false - description: 'The maximum number of assets to retrieve.' isArray: false name: limit required: false secret: false defaultValue: 50 description: Retrieves a list of assets for the company. name: dspm-list-assets outputs: - contextPath: DSPM.Asset.dataTypes description: 'Data types associated with the asset.' type: Unknown - contextPath: DSPM.Asset.dataTypeGroups description: 'Data type groups associated with the asset.' type: Unknown - contextPath: DSPM.Asset.assetDigTags description: 'Dig tags associated with the asset.' type: Unknown - contextPath: DSPM.Asset.cloudEnvironment description: 'The cloud environment in which the asset exists.' type: String - contextPath: DSPM.Asset.cloudProvider description: 'The cloud provider for the asset.' type: String - contextPath: DSPM.Asset.encrypted description: 'Indicates if the asset is encrypted.' type: Boolean - contextPath: DSPM.Asset.id description: 'The unique identifier of the asset.' type: String - contextPath: DSPM.Asset.lifecycle description: 'Lifecycle status of the asset.' type: String - contextPath: DSPM.Asset.name description: 'The name of the asset.' type: String - contextPath: DSPM.Asset.openAlertsCount description: 'The count of open alerts for the asset.' type: Number - contextPath: DSPM.Asset.openRisksCount description: 'The count of open risks for the asset.' type: Number - contextPath: DSPM.Asset.openToWorld description: 'Indicates if the asset is open to the world.' type: Boolean - contextPath: DSPM.Asset.projectId description: 'The ID of the project associated with the asset.' type: String - contextPath: DSPM.Asset.projectName description: 'The name of the project associated with the asset.' type: String - contextPath: DSPM.Asset.serviceType description: 'The type of service associated with the asset.' type: String - contextPath: DSPM.Asset.tags description: 'Tags related to the asset.' type: Unknown - arguments: - description: ID of the asset for which to retrieve details. name: asset_id required: true description: Retrieves details for the specified asset ID. name: dspm-get-asset-details outputs: - contextPath: DSPM.AssetDetails.assetDigTags description: 'The dig tags associated with the asset.' type: Unknown - contextPath: DSPM.AssetDetails.cloudEnvironment description: 'The cloud environment in which the asset exists.' type: String - contextPath: DSPM.AssetDetails.cloudProvider description: 'The cloud provider for the asset (e.g., AWS, Azure, GCP).' type: String - contextPath: DSPM.AssetDetails.dataTypeGroups description: 'Groups of data types associated with the asset.' type: Unknown - contextPath: DSPM.AssetDetails.dataTypes description: 'The data types related to the asset.' type: Unknown - contextPath: DSPM.AssetDetails.encrypted description: 'Indicates if the asset is encrypted.' type: Boolean - contextPath: DSPM.AssetDetails.id description: 'The unique identifier of the asset.' type: String - contextPath: DSPM.AssetDetails.lifecycle description: 'The lifecycle status of the asset.' type: String - contextPath: DSPM.AssetDetails.name description: 'The name of the asset.' type: String - contextPath: DSPM.AssetDetails.openAlertsCount description: 'The count of open alerts for the asset.' type: Number - contextPath: DSPM.AssetDetails.openRisksCount description: 'The count of open risks for the asset.' type: Number - contextPath: DSPM.AssetDetails.openToWorld description: 'Indicates if the asset is open to the world.' type: Boolean - contextPath: DSPM.AssetDetails.projectId description: 'The ID of the project associated with the asset.' type: String - contextPath: DSPM.AssetDetails.projectName description: 'The name of the project associated with the asset.' type: String - contextPath: DSPM.AssetDetails.serviceType description: 'The type of service associated with the asset.' type: String - contextPath: DSPM.AssetDetails.tags description: 'Tags related to the asset.' type: Unknown - arguments: - description: ID of the asset for which to retrieve file details. name: asset_id required: true description: Retrieves file details for the specified asset ID. name: dspm-get-asset-files-by-id outputs: - contextPath: DSPM.AssetFiles.filename description: 'Asset file name.' type: String - contextPath: DSPM.AssetFiles.path description: 'Asset file path.' type: String - contextPath: DSPM.AssetFiles.type description: 'Asset file type.' type: String - contextPath: DSPM.AssetFiles.size description: 'Asset file size.' type: String - contextPath: DSPM.AssetFiles.openToWorld description: 'Asset open to world.' type: Boolean - contextPath: DSPM.AssetFiles.isDeleted description: 'Whether asset is deleted.' type: Boolean - contextPath: DSPM.AssetFiles.isMalicious description: 'Whether asset is malicious.' type: Boolean - contextPath: DSPM.AssetFiles.dataTypes.name description: 'Asset file data types name.' type: String - contextPath: DSPM.AssetFiles.dataTypes.label description: 'Asset file data types label.' type: String - contextPath: DSPM.AssetFiles.dataTypes.count description: 'Asset file data types count.' type: Number - contextPath: DSPM.AssetFiles.dataTypes.valueDetails.masked_value description: 'Asset file data types value detail masked value.' type: String - contextPath: DSPM.AssetFiles.dataTypes.valueDetails.line description: 'Asset file data types value detail line.' type: Number - contextPath: DSPM.AssetFiles.labels description: 'Asset file labels.' type: String - contextPath: DSPM.AssetFiles.isDbDump description: 'Asset file is a database dump.' type: Boolean - arguments: - description: ID of the asset for which to retrieve field details. name: assetId required: true description: Return list of fields for structured assets such as RDS, Aurora, and BigQuery. name: dspm-get-list-of-asset-fields-by-id outputs: - contextPath: DSPM.AssetFields.name description: 'Asset field name.' type: String - contextPath: DSPM.AssetFields.path description: 'Asset field path.' type: String - contextPath: DSPM.AssetFields.tableName description: 'Asset field table name.' type: String - contextPath: DSPM.AssetFields.tableSize description: 'Asset field table size.' type: String - contextPath: DSPM.AssetFields.databaseName description: 'Asset field database name.' type: String - contextPath: DSPM.AssetFields.collectionName description: 'Asset field collection name.' type: String - contextPath: DSPM.AssetFields.type description: 'Asset field type.' type: String - contextPath: DSPM.AssetFields.dataTypes.name description: 'Asset field data type name.' type: String - contextPath: DSPM.AssetFields.dataTypes.label description: 'Asset field data type label.' type: String - contextPath: DSPM.AssetFields.dataTypes.hitPercentage description: 'Asset field data type hit percentage.' type: Number - contextPath: DSPM.AssetFields.dataTypes.maskedValues.masked_value description: 'Asset field datat ype masked value.' type: String - contextPath: DSPM.AssetFields.dataTypes.maskedValues.line description: 'Asset field data type masked value line.' type: Number - contextPath: DSPM.AssetFields.schemaName description: 'Asset field schema name.' type: String - arguments: [] name: dspm-get-data-types description: 'Fetches the available data types for the DSPM integration.' outputs: - contextPath: DSPM.DataTypes.Key description: 'Data types key.' type: String - contextPath: DSPM.DataTypes.No description: 'Data types number.' type: Number - arguments: [] description: Returns a list of label names based on the company. name: dspm-list-labels outputs: - contextPath: DSPM.Label.Key description: 'Label key.' type: String - contextPath: DSPM.Label.No description: 'Label number.' - arguments: - description: Comma-separated list of regions. isArray: true name: region_in required: false secret: false - description: Exact region. isArray: false name: region_equal required: false secret: false - description: 'A comma-separated list of cloud providers.' isArray: true name: cloud_provider_in required: false secret: false auto: PREDEFINED predefined: - 'AWS' - 'AZURE' - 'GCP' - 'SNOWFLAKE' - 'FILE_SHARE' - 'O365' - description: 'Exact cloud provider.' isArray: false name: cloud_provider_equal required: false secret: false auto: PREDEFINED predefined: - 'AWS' - 'AZURE' - 'GCP' - 'SNOWFLAKE' - 'FILE_SHARE' - 'O365' - description: Comma-separated list of service types. isArray: true name: service_type_in required: false secret: false - description: Exact service type. isArray: false name: service_type_equal required: false secret: false - description: Comma-separated list of life cycles. isArray: true name: lifecycle_in required: false secret: false auto: PREDEFINED predefined: - 'RUNNING' - 'STOPPED' - 'DELETED' - description: 'A comma-separated list of project IDs.' isArray: true name: projectId_in required: false secret: false - description: 'Exact project ID.' isArray: false name: projectId_equal required: false secret: false - description: Exact life cycle. isArray: false name: lifecycle_equal required: false secret: false auto: PREDEFINED predefined: - 'RUNNING' - 'STOPPED' - 'DELETED' - description: 'Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.' isArray: false name: sort required: false secret: false - description: 'The maximum number of data types findings to retrieve.' isArray: false name: limit required: false secret: false defaultValue: 50 description: Retrieves a list of data type findings for the company. name: dspm-list-data-types-findings outputs: - contextPath: DSPM.DataTypesFinding.dataTypeName description: 'Represents the name of the data type being analyzed.' type: String - contextPath: DSPM.DataTypesFinding.label description: 'Label associated with the data type, such as PII.' type: String - contextPath: DSPM.DataTypesFinding.records description: 'The number of records associated with the data type.' type: Integer - contextPath: DSPM.DataTypesFinding.publicRecords description: 'The number of public records found for this data type.' type: Integer - contextPath: DSPM.DataTypesFinding.assets description: 'The number of assets associated with this data type.' type: Integer - contextPath: DSPM.DataTypesFinding.clouds description: 'The clouds where the data type was found (e.g., AWS, Azure).' type: String - contextPath: DSPM.DataTypesFinding.regions description: 'The regions where the data type was found.' type: String - contextPath: DSPM.DataTypesFinding.lastFound description: 'The timestamp when the data type was last found.' type: Date - contextPath: DSPM.DataTypesFinding.recordsAtRisk.high description: 'The number of high-risk records found for this data type.' type: Integer - contextPath: DSPM.DataTypesFinding.recordsAtRisk.medium description: 'The number of medium-risk records found for this data type.' type: Integer - contextPath: DSPM.DataTypesFinding.recordsAtRisk.low description: 'The number of low-risk records found for this data type.' type: Integer - arguments: - description: 'Risk Finding ID.' isArray: false name: risk_finding_id required: true - description: 'List of supported statuses.' isArray: false name: status required: true secret: false auto: PREDEFINED predefined: - 'OPEN' - 'CLOSED' - 'UNIMPORTANT' - 'WRONG' - 'HANDLED' - 'INVESTIGATING' description: Updates the status of a risk finding. name: dspm-update-risk-finding-status outputs: - contextPath: DSPM.RiskFindingStatusUpdate.newStatus description: 'Updated risk finding status.' type: String - contextPath: DSPM.RiskFindingStatusUpdate.oldStatus description: 'Old risk finding status.' type: String - contextPath: DSPM.RiskFindingStatusUpdate.riskFindingId description: 'Risk finding ID.' type: String - arguments: - description: 'Alert ID.' isArray: false name: alert_id required: true - description: 'List of supported statuses.' isArray: false name: status required: true secret: false auto: PREDEFINED predefined: - 'OPEN' - 'UNIMPORTANT' - 'WRONG' - 'HANDLED' - 'INVESTIGATING' description: Updates the status of an alert. name: dspm-update-alert-status outputs: - contextPath: DSPM.AlertStatusUpdate.newStatus description: 'Updated alert status.' type: String - contextPath: DSPM.AlertStatusUpdate.oldStatus description: 'Old alert status.' type: String - contextPath: DSPM.AlertStatusUpdate.alertId description: 'Alert ID.' type: String - arguments: - description: 'Exact detection time (equals). detection time format - YYYY-MM-DDTHH:MM:SSZ.' isArray: false name: detection_time_equals required: false secret: false - description: 'Detection time (greater than or equal). detection time format - YYYY-MM-DDTHH:MM:SSZ.' isArray: false name: detection_time_greater_than_or_equal required: false secret: false - description: 'Detection time (greater than). detection time format - YYYY-MM-DDTHH:MM:SSZ.' isArray: false name: detection_time_greater_than required: false secret: false - description: 'Detection time (less than or equal). detection time format - YYYY-MM-DDTHH:MM:SSZ.' isArray: false name: detection_time_less_than_or_equal required: false secret: false - description: 'Detection time (less than). detection time format - YYYY-MM-DDTHH:MM:SSZ.' isArray: false name: detection_time_less_than required: false secret: false - description: 'A comma-separated list of policy names.' isArray: true name: policy_name_in required: false secret: false - description: 'Exact policy name.' isArray: false name: policy_name_equals required: false secret: false - description: 'A comma-separated list of asset names.' isArray: true name: asset_name_in required: false secret: false - description: 'Exact asset name.' isArray: false name: asset_name_equals required: false secret: false - description: 'A comma-separated list of cloud providers.' isArray: true name: cloud_provider_in required: false secret: false auto: PREDEFINED predefined: - 'AWS' - 'AZURE' - 'GCP' - 'SNOWFLAKE' - 'FILE_SHARE' - 'O365' - description: 'Exact cloud provider.' isArray: false name: cloud_provider_equals required: false secret: false auto: PREDEFINED predefined: - 'AWS' - 'AZURE' - 'GCP' - 'SNOWFLAKE' - 'FILE_SHARE' - 'O365' - description: 'A comma-separated list of project vendor names.' isArray: true name: destination_project_vendor_name_in required: false secret: false - description: 'Exact destination project vendor name.' isArray: false name: destination_project_vendor_name_equals required: false secret: false - description: 'A comma-separated list of cloud environments.' isArray: true name: cloud_environment_in required: false secret: false auto: PREDEFINED predefined: - 'UNKNOWN' - 'DEVELOPMENT' - 'STAGING' - 'TESTING' - 'PRODUCTION' - description: 'Exact cloud environment.' isArray: false name: cloud_environment_equals required: false secret: false auto: PREDEFINED predefined: - 'UNKNOWN' - 'DEVELOPMENT' - 'STAGING' - 'TESTING' - 'PRODUCTION' - description: 'A comma-separated list of policy severities.' isArray: true name: policy_severity_in required: false secret: false auto: PREDEFINED predefined: - 'HIGH' - 'MEDIUM' - 'LOW' - description: 'Exact policy severity.' isArray: false name: policy_severity_equals required: false secret: false auto: PREDEFINED predefined: - 'HIGH' - 'MEDIUM' - 'LOW' - description: 'A comma-separated list of category types.' isArray: true name: category_type_in required: false secret: false auto: PREDEFINED predefined: - 'FIRST_MOVE' - 'ATTACK' - 'COMPLIANCE' - 'ASSET_AT_RISK' - 'RECONNAISSANCE' - description: 'Exact category type.' isArray: false name: category_type_equals required: false secret: false auto: PREDEFINED predefined: - 'FIRST_MOVE' - 'ATTACK' - 'COMPLIANCE' - 'ASSET_AT_RISK' - 'RECONNAISSANCE' - description: 'A comma-separated list of statuses.' isArray: true name: status_in required: false secret: false auto: PREDEFINED predefined: - 'OPEN' - 'UNIMPORTANT' - 'WRONG' - 'HANDLED' - 'INVESTIGATING' - description: 'Exact status.' isArray: false name: status_equals required: false secret: false auto: PREDEFINED predefined: - 'OPEN' - 'UNIMPORTANT' - 'WRONG' - 'HANDLED' - 'INVESTIGATING' - description: 'Sort order (property,asc|desc).' isArray: false name: sort required: false secret: false - description: 'The maximum number of alerts to retrieve.' isArray: false name: limit required: false secret: false defaultValue: 50 description: Fetch list of alerts. name: dspm-list-alerts outputs: - contextPath: DSPM.Alert.id description: 'Alert ID.' type: String - contextPath: DSPM.Alert.detectionTime description: 'Alert detection time.' type: Date - contextPath: DSPM.Alert.policyName description: 'Alert policy name.' type: String - contextPath: DSPM.Alert.assetName description: 'Alert asset name.' type: String - contextPath: DSPM.Alert.assetLabels description: 'Alert asset label.' type: Unknown - contextPath: DSPM.Alert.cloudProvider description: 'Alert cloud provider.' type: String - contextPath: DSPM.Alert.destinationProjects description: 'Alert destination projects.' type: Unknown - contextPath: DSPM.Alert.cloudEnvironment description: 'Alert cloud enviroment.' type: String - contextPath: DSPM.Alert.policySeverity description: 'Alert policy severity.' type: String - contextPath: DSPM.Alert.policyCategoryType description: 'Alert policy category type.' type: String - contextPath: DSPM.Alert.status description: 'Alert status.' type: String - contextPath: DSPM.Alert.eventActor description: 'Alert event actor.' type: String - contextPath: DSPM.Alert.eventUserAgent description: 'Alert event user agent.' type: String - contextPath: DSPM.Alert.eventActionMedium description: 'Alert event action medium.' type: String - contextPath: DSPM.Alert.eventSource description: 'Alert event source.' type: String - contextPath: DSPM.Alert.policyFrameWorks description: 'Alert policy frameworks.' type: String - contextPath: DSPM.Alert.eventRawData description: 'Alert event raw data.' type: String runonce: false script: '-' type: python subtype: python3 dockerimage: demisto/python3:3.12.13.10116658 isfetch: false ismappable: false isremotesyncin: true isremotesyncout: true fromversion: '6.10.0' tests: - DSPM Test