Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dlp enhancements #27612

Merged
merged 49 commits into from Jun 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
e7163e4
playbooks and images
tomer-pan Jun 20, 2023
25bdde1
RN
tomer-pan Jun 20, 2023
8eba2fc
Playbooks
tomer-pan Jun 21, 2023
cecce4c
Playbooks
tomer-pan Jun 21, 2023
61c74f8
layout
tomer-pan Jun 21, 2023
c4a3de2
automation
tomer-pan Jun 21, 2023
e0ebb48
integration
tomer-pan Jun 21, 2023
4925488
readme
tomer-pan Jun 21, 2023
e4f4e5f
incident field
tomer-pan Jun 21, 2023
7b4bdba
image
tomer-pan Jun 21, 2023
74aa06a
RN
tomer-pan Jun 21, 2023
aa55050
Merge branch 'master' of github.com:demisto/content into DLP_Enhancem…
tomer-pan Jun 21, 2023
8d03fe2
layout fix
tomer-pan Jun 21, 2023
38b1894
pre-commit fixes
tomer-pan Jun 21, 2023
db77017
secret ignore
tomer-pan Jun 21, 2023
79a349a
Add EXCEPTION_DENIED as an option to command
tomer-pan Jun 22, 2023
9132579
common fields
tomer-pan Jun 22, 2023
f72eb85
layout
tomer-pan Jun 22, 2023
cad8fc5
Merge branch 'master' of github.com:demisto/content into DLP_Enhancem…
tomer-pan Jun 22, 2023
1f003d2
RN
tomer-pan Jun 22, 2023
bac0eac
RN
tomer-pan Jun 22, 2023
2a1cd2a
ignore IF100
tomer-pan Jun 22, 2023
b1135f9
remove numberoffailedevents
tomer-pan Jun 22, 2023
5c5268e
Merge branch 'master' of github.com:demisto/content into DLP_Enhancem…
tomer-pan Jun 25, 2023
b5e0afc
change new playbook name
tomer-pan Jun 25, 2023
2015e0d
Add 6.8 split for playbook and layout
tomer-pan Jun 25, 2023
507171e
ignore 106
tomer-pan Jun 25, 2023
f545621
layout toVersion
tomer-pan Jun 25, 2023
b766769
Merge branch 'master' of github.com:demisto/content into DLP_Enhancem…
tomer-pan Jun 26, 2023
e5528f3
pack metadata
tomer-pan Jun 26, 2023
cec67a5
Readme
tomer-pan Jun 26, 2023
b1af4e0
Merged master into current branch.
Jun 26, 2023
d802d5b
Bump pack from version CommonTypes to 3.3.77.
Jun 26, 2023
efb2199
after review changes
tomer-pan Jun 26, 2023
49b1aeb
Merge branch 'master' of github.com:demisto/content into DLP_Enhancem…
tomer-pan Jun 26, 2023
b7da5fc
RN
tomer-pan Jun 26, 2023
1f4a114
Merge remote-tracking branch 'origin/DLP_Enhancements' into DLP_Enhan…
tomer-pan Jun 26, 2023
8915ba7
Merge branch 'master' of github.com:demisto/content into DLP_Enhancem…
tomer-pan Jun 26, 2023
866af77
Add docs for auth
tomer-pan Jun 27, 2023
4bc4da0
description rename
tomer-pan Jun 27, 2023
24c4260
description rename
tomer-pan Jun 27, 2023
c953006
Apply suggestions from docs review
tomer-pan Jun 27, 2023
6c0f6d0
Apply suggestions from docs review
tomer-pan Jun 27, 2023
b2c89bf
description rename
tomer-pan Jun 27, 2023
9aeff49
Apply suggestions from code review
tomer-pan Jun 28, 2023
7b8964c
Merge branch 'master' into DLP_Enhancements
tomer-pan Jun 28, 2023
4f850ff
Merge branch 'master' of github.com:demisto/content into DLP_Enhancem…
tomer-pan Jun 28, 2023
afa8299
RN
tomer-pan Jun 28, 2023
c82c19b
RN
tomer-pan Jun 28, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 6 additions & 0 deletions Packs/CommonTypes/.pack-ignore
Expand Up @@ -327,6 +327,12 @@ ignore=IF100
[file:incidentfield-Original_Events.json]
ignore=IF100

[file:incidentfield-Failed_Logon_Events.json]
ignore=IF100

[file:incidentfield-Failed_Logon_Events_Timeframe.json]
ignore=IF100

[file:classifier-Mail-listener.json]
ignore=BA101

Expand Down
@@ -0,0 +1,29 @@
{
"id": "incident_failedlogonevents",
"version": -1,
"modified": "2023-06-13T21:19:00.853901858Z",
"name": "Failed Logon Events",
"ownerOnly": false,
"description": "The number of failed logon events in a specific timeframe. Can be used with reference to the \"Failed Logon Events Timeframe\" field.",
"cliName": "failedlogonevents",
"type": "number",
"closeForm": false,
"editForm": true,
"required": false,
"neverSetAsRequired": false,
"isReadOnly": false,
"useAsKpi": false,
"locked": false,
"system": false,
"content": true,
"group": 0,
"hidden": false,
"openEnded": false,
"associatedToAll": true,
"unmapped": false,
"unsearchable": true,
"caseInsensitive": true,
"sla": 0,
"threshold": 72,
"fromVersion": "6.8.0"
}
@@ -0,0 +1,29 @@
{
"id": "incident_failedlogoneventstimeframe",
"version": -1,
"modified": "2023-06-13T21:20:01.302001465Z",
"name": "Failed Logon Events Timeframe",
"ownerOnly": false,
"description": "The timeframe which the failed logon events occurred in.",
"cliName": "failedlogoneventstimeframe",
"type": "shortText",
"closeForm": false,
"editForm": true,
"required": false,
"neverSetAsRequired": false,
"isReadOnly": false,
"useAsKpi": false,
"locked": false,
"system": false,
"content": true,
"group": 0,
"hidden": false,
"openEnded": false,
"associatedToAll": true,
"unmapped": false,
"unsearchable": true,
"caseInsensitive": true,
"sla": 0,
"threshold": 72,
"fromVersion": "6.8.0"
}
31 changes: 31 additions & 0 deletions Packs/CommonTypes/IncidentFields/incidentfield-User_Groups.json
@@ -0,0 +1,31 @@
{
"id": "incident_usergroups",
"version": -1,
"modified": "2023-06-13T21:36:13.191337431Z",
"name": "User Groups",
"ownerOnly": false,
"cliName": "usergroups",
"type": "multiSelect",
tomer-pan marked this conversation as resolved.
Show resolved Hide resolved
"closeForm": false,
"editForm": true,
"required": false,
"neverSetAsRequired": false,
"isReadOnly": false,
"useAsKpi": false,
"locked": false,
"system": false,
"content": true,
"group": 0,
"hidden": false,
"openEnded": true,
"associatedTypes": [
"Data Loss Prevention"
],
"associatedToAll": false,
"unmapped": false,
"unsearchable": true,
"caseInsensitive": true,
"sla": 0,
"threshold": 72,
"fromVersion": "6.8.0"
}
6 changes: 6 additions & 0 deletions Packs/CommonTypes/ReleaseNotes/3_3_77.md
@@ -0,0 +1,6 @@

#### Incident Fields

- New: **Failed Logon Events Timeframe**
- New: **User Groups**
- New: **Failed Logon Events**
2 changes: 1 addition & 1 deletion Packs/CommonTypes/pack_metadata.json
Expand Up @@ -2,7 +2,7 @@
"name": "Common Types",
"description": "This Content Pack will get you up and running in no-time and provide you with the most commonly used incident & indicator fields and types.",
"support": "xsoar",
"currentVersion": "3.3.76",
"currentVersion": "3.3.77",
"author": "Cortex XSOAR",
"url": "https://www.paloaltonetworks.com/cortex",
"email": "",
Expand Down
6 changes: 4 additions & 2 deletions Packs/Palo_Alto_Networks_Enterprise_DLP/.pack-ignore
Expand Up @@ -4,6 +4,8 @@ ignore=PA125
[file:Palo_Alto_Networks_Enterprise_DLP.yml]
ignore=BA108,BA109,IN145


[file:Palo_Alto_Networks_Enterprise_DLP_image.png]
ignore=IM111
ignore=IM111

[file:DLP_Incident_Feedback_Loop_6_8.yml]
ignore=PB106
1 change: 1 addition & 0 deletions Packs/Palo_Alto_Networks_Enterprise_DLP/.secrets-ignore
@@ -0,0 +1 @@
SailPoint
@@ -0,0 +1,32 @@
{
"id": "incident_dlpdetections",
"version": -1,
"modified": "2023-06-21T06:56:52.858570445Z",
"name": "DLP Detections",
"ownerOnly": false,
"description": "Detected violations snippets.",
"cliName": "dlpdetections",
"type": "shortText",
"closeForm": false,
"editForm": true,
"required": false,
"neverSetAsRequired": false,
"isReadOnly": false,
"useAsKpi": false,
"locked": false,
"system": false,
"content": true,
"group": 0,
"hidden": false,
"openEnded": false,
"associatedTypes": [
"Data Loss Prevention"
],
"associatedToAll": false,
"unmapped": false,
"unsearchable": true,
"caseInsensitive": true,
"sla": 0,
"threshold": 72,
"fromVersion": "6.8.0"
}
Expand Up @@ -43,6 +43,7 @@ class FeedbackStatus(Enum):
EXCEPTION_GRANTED = 'EXCEPTION_GRANTED'
EXCEPTION_NOT_REQUESTED = 'EXCEPTION_NOT_REQUESTED'
SEND_NOTIFICATION_FAILURE = 'SEND_NOTIFICATION_FAILURE'
EXCEPTION_DENIED = 'EXCEPTION_DENIED'


class Client(BaseClient):
Expand Down
Expand Up @@ -41,7 +41,7 @@ configuration:
type: 12
required: false
additionalinfo: The message to send to the user to ask for feedback.
defaultvalue: Hi $user🔔, \n\n*We need your feedback:* \n\nYour upload of *$file_name* on *$app_name* was blocked due to company policy. This file contains sensitive information which violates *$data_profile_name* policy. \n\n $snippets\n\n
defaultvalue: Hi $user🔔, \n\n*We need your feedback:* \n\nYour activity on *$app_name* was blocked due to company policy. The data in this activity contains sensitive information which violates *$data_profile_name* policy.\n\nfilename - *$file_name* \n\n $snippets\n\n
- display: Fetch incidents
name: isFetch
type: 8
Expand Down Expand Up @@ -94,6 +94,7 @@ script:
- EXCEPTION_NOT_REQUESTED
- OPERATIONAL_ERROR
- SEND_NOTIFICATION_FAILURE
- EXCEPTION_DENIED
description: The user feedback
- name: user_id
required: true
Expand Down Expand Up @@ -141,7 +142,7 @@ script:
description: The snippets of the violation.
- name: app_name
required: true
description: The name of the application that performed the upload.
description: The name of the application that performed the activity.
outputs:
- contextPath: DLP.slack_message
description: The Slack bot message.
Expand Down
@@ -0,0 +1,9 @@
## Palo Alto Networks Enterprise DLP
Palo Alto Networks Enterprise DLP discovers and protects company data across every data channel and repository. Integrated Enterprise DLP enables data protection and compliance everywhere without complexity.

### Authentication
There are 2 methods to authenticate.
1. Use Enterprise DLP API **Access Token** and **Refresh Token**.
2. Use Cortex XSOAR's credentials store with a **Client ID** and **Client Secret** as the `username` and `password` in case you are using Enterprise DLP through a SASE platform.

For more information on how to create the above credentials, see [the documentation](https://docs.paloaltonetworks.com/enterprise-dlp/enterprise-dlp-admin/configure-enterprise-dlp/configure-exact-data-matching/configure-connectivity-to-the-dlp-cloud-service).
Expand Up @@ -60,15 +60,15 @@ Updates a DLP incident with user feedback.
`pan-dlp-update-incident`
#### Input

| **Argument Name** | **Description** | **Required** |
| --- | --- | --- |
| incident_id | The ID of the incident to update. | Required |
| feedback | The user feedback. Possible values are: PENDING_RESPONSE, CONFIRMED_SENSITIVE, CONFIRMED_FALSE_POSITIVE, EXCEPTION_REQUESTED, EXCEPTION_GRANTED, EXCEPTION_NOT_REQUESTED, OPERATIONAL_ERROR, SEND_NOTIFICATION_FAILURE. | Required |
| user_id | The ID of the user the feedback is collected from. | Required |
| region | The region where the incident originated. | Optional |
| report_id | The DLP report ID, needed only for granting exemptions. | Optional |
| dlp_channel | The DLP channel, needed only for granting exemptions. | Optional |
| error_details | Error details if status is SEND_NOTIFICATION_FAILURE. | Optional |
| **Argument Name** | **Description** | **Required** |
| --- |---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| --- |
| incident_id | The ID of the incident to update. | Required |
| feedback | The user feedback. Possible values are: PENDING_RESPONSE, CONFIRMED_SENSITIVE, CONFIRMED_FALSE_POSITIVE, EXCEPTION_REQUESTED, EXCEPTION_GRANTED, EXCEPTION_NOT_REQUESTED, OPERATIONAL_ERROR, SEND_NOTIFICATION_FAILURE, EXCEPTION_DENIED. | Required |
| user_id | The ID of the user the feedback is collected from. | Required |
| region | The region where the incident originated. | Optional |
| report_id | The DLP report ID, needed only for granting exemptions. | Optional |
| dlp_channel | The DLP channel, needed only for granting exemptions. | Optional |
| error_details | Error details if status is SEND_NOTIFICATION_FAILURE. | Optional |


#### Context Output
Expand Down Expand Up @@ -109,13 +109,13 @@ Gets the Slack bot message to send to the user for gathering feedback.
`pan-dlp-slack-message`
#### Input

| **Argument Name** | **Description** | **Required** |
| --- | --- | --- |
| user | The name of the user that receives this message. | Required |
| file_name | The name of the file that triggered the incident. | Required |
| data_profile_name | The data profile name associated with the incident. | Required |
| snippets | The snippets of the violation. | Optional |
| app_name | The name of the application that performed the upload. | Required |
| **Argument Name** | **Description** | **Required** |
| --- |----------------------------------------------------------| --- |
| user | The name of the user that receives this message. | Required |
| file_name | The name of the file that triggered the incident. | Required |
| data_profile_name | The data profile name associated with the incident. | Required |
| snippets | The snippets of the violation. | Optional |
| app_name | The name of the application that performed the activity. | Required |


#### Context Output
Expand Down
Expand Up @@ -393,6 +393,7 @@
"name": "Palo Alto Networks Enterprise DLP Incident Layout",
"system": false,
"fromVersion": "6.0.0",
"toVersion": "6.7.9",
"version": -1,
"description": "",
"marketplaces": ["xsoar"]
Expand Down