Skip to content

[ASM] - Rapid7 & Splunk Cortex ASM Enrichment - Expander 1613 & 90#24837

Merged
daryakoval merged 23 commits intodemisto:contrib/BigEasyJ_rapid7-splunk-cortex-asm-enrichmentfrom
BigEasyJ:rapid7-splunk-cortex-asm-enrichment
Feb 26, 2023
Merged

[ASM] - Rapid7 & Splunk Cortex ASM Enrichment - Expander 1613 & 90#24837
daryakoval merged 23 commits intodemisto:contrib/BigEasyJ_rapid7-splunk-cortex-asm-enrichmentfrom
BigEasyJ:rapid7-splunk-cortex-asm-enrichment

Conversation

@BigEasyJ
Copy link
Copy Markdown
Contributor

@BigEasyJ BigEasyJ commented Feb 22, 2023

Contributing to Cortex XSOAR Content

Make sure to register your contribution by filling the contribution registration form

The Pull Request will be reviewed only after the contribution registration form is filled.

Status

  • In Progress
  • Ready
  • In Hold - (Reason for hold)

Related Issues

EXPANDR-90
EXPANDR-1613

Description

Added New playbooks Cortex ASM - Splunk Enrichment and Cortex ASM - Rapid7 Enrichment to the Cortex ASM - Enrichment playbook.

Updated the Docker image to: *demisto/python3:3.10.10.48392 for:

  • Integration
    • Cortex Attack Surface Management
  • Scripts
    • RemediationPathRuleEvaluation
    • SnmpDetection
    • GenerateASMReport
    • InferWhetherServiceIsDev

Minimum version of Cortex XSOAR

  • 6.0.0
  • 6.1.0
  • 6.2.0
  • 6.5.0

Does it break backward compatibility?

  • Yes
    • Further details:
  • No

Must have

  • Tests (Found in related issues)
  • Documentation

@BigEasyJ BigEasyJ changed the title Rapid7 splunk cortex asm enrichment [ASM] - Rapid7 & Splunk Cortex ASM Enrichment - Expander 1613 & 90 Feb 22, 2023
@content-bot content-bot added the Contribution Thank you! Contributions are always welcome! label Feb 22, 2023
@content-bot content-bot changed the base branch from master to contrib/BigEasyJ_rapid7-splunk-cortex-asm-enrichment February 22, 2023 20:39
@content-bot content-bot added Community Contribution Form Filled Whether contribution form filled or not. labels Feb 22, 2023
@content-bot
Copy link
Copy Markdown
Contributor

Thank you for your contribution. Your generosity and caring are unrivaled! Make sure to register your contribution by filling the Contribution Registration form, so our content wizard @daryakoval will know he can start review the proposed changes.

@BigEasyJ
Copy link
Copy Markdown
Contributor Author

CC: @johnnywilkes @capanw for review

@BigEasyJ
Copy link
Copy Markdown
Contributor Author

@daryakoval Thank you for approving. I have one question about a new validation check that I haven't seen before:

'InferWhetherServiceIsDev' using content items: setAlert which cannot be found in the repository.

The InferWhetherServiceIsDev was already using setAlert previously, as is other content and it's a Builtin. How could we go about resolving this error or is it a non-issue?

@daryakoval
Copy link
Copy Markdown
Contributor

@BigEasyJ This is a new validation check. I will check why it is not recognizing setAlert as existing content, and update you.
Meanwhile please fix other validation errors.

- Add tasks to check asset ID and set it as an ASM system ID.
Copy link
Copy Markdown
Contributor

@johnnywilkes johnnywilkes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@BigEasyJ , please see my comments


##### Cortex ASM - ASM Alert

- Updated the from version to 6.8.0
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- Updated the from version to 6.8.0
- Updated the from version to 6.8.0.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resolved in 70f2b98.


##### Cortex ASM - Enrichment

- Updated the from version to 6.8.0
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- Updated the from version to 6.8.0
- Updated the from version to 6.8.0.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resolved in 70f2b98.


##### InferWhetherServiceIsDev

- Updated the Docker image to: *demisto/python3:3.10.10.4839*.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- Updated the Docker image to: *demisto/python3:3.10.10.4839*.
- Updated the Docker image to: *demisto/python3:3.10.10.48392*.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resolved in 70f2b98.


Playbook that given the IP address enriches Tenable.io information relevant to ASM alerts.
![Cortex ASM - Tenable.io Enrichment](https://raw.githubusercontent.com/demisto/content/master/Packs/CortexAttackSurfaceManagement/doc_files/Cortex_ASM_-_Tenable.io_Enrichment.png)
![Cortex ASM - Rapid7 Enrichment](https://raw.githubusercontent.com/demisto/content/master/Packs/CortexAttackSurfaceManagement/doc_files/Cortex_ASM_-_Rapid7_Enrichment.png)
Copy link
Copy Markdown
Contributor

@johnnywilkes johnnywilkes Feb 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can change this later (separate PR right away or when the playbook is edited in the future).

Suggested change
![Cortex ASM - Rapid7 Enrichment](https://raw.githubusercontent.com/demisto/content/master/Packs/CortexAttackSurfaceManagement/doc_files/Cortex_ASM_-_Rapid7_Enrichment.png)
![Cortex ASM - Rapid7 Enrichment](https://raw.githubusercontent.com/demisto/content/8f2a866b666627cb0c6c7ea860e7f1337b4766b7/Packs/CortexAttackSurfaceManagement/doc_files/Cortex_ASM_-_Rapid7_Enrichment.png)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resolved in 70f2b98.

![Cortex ASM - Remediation Path Rules](https://raw.githubusercontent.com/demisto/content/master/Packs/CortexAttackSurfaceManagement/doc_files/Cortex_ASM_-_Remediation_Path_Rules.png)
Playbook that given the IP address enriches Splunk information relevant to ASM alerts.

![Cortex ASM - Splunk Enrichment](https://raw.githubusercontent.com/demisto/content/master/Packs/CortexAttackSurfaceManagement/doc_files/Cortex_ASM_-_Splunk_Enrichment.png)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
![Cortex ASM - Splunk Enrichment](https://raw.githubusercontent.com/demisto/content/master/Packs/CortexAttackSurfaceManagement/doc_files/Cortex_ASM_-_Splunk_Enrichment.png)
![Cortex ASM - Splunk Enrichment](https://raw.githubusercontent.com/demisto/content/8f2a866b666627cb0c6c7ea860e7f1337b4766b7/Packs/CortexAttackSurfaceManagement/doc_files/Cortex_ASM_-_Splunk_Enrichment.png)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resolved in 70f2b98.

note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resolved in b2ffd19.


| **Path** | **Description** | **Type** |
| --- | --- | --- |
| asmserviceowner | This is the potential service owners from splunk results. | unknown |
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this is necessary because the GridFieldSetup automation in the playbook it exporting the value to the field, therefore it doesn't need to returned as raw context. What do you think?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed, that was leftover from a previous change. I'll remove it.

Copy link
Copy Markdown
Contributor Author

@BigEasyJ BigEasyJ Feb 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resolved in 92b7a41 & 2bfadbc.

iscontext: true
right:
value:
simple: owner
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitty question: Is it possible that only the owner AssetTag.Type could be found and therefore this would fail? The previous conditional seems to only check for Nexpose.AssetTag and not Nexpose.AssetTag where type != owner so I think there might be a potential failure scenario though I don't know how rare it is. Will leave it up to you to change if you please.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

Resolved in b2ffd19.

Copy link
Copy Markdown
Contributor

@johnnywilkes johnnywilkes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@BigEasyJ , thanks for making these changes, this is now approved!

@johnnywilkes johnnywilkes mentioned this pull request Feb 24, 2023
11 tasks
@daryakoval
Copy link
Copy Markdown
Contributor

@BigEasyJ Hi, The GR103 validation error is a bug in our validation. We will force merge your PR, and fix the validation.

@daryakoval daryakoval merged commit 3bdd91d into demisto:contrib/BigEasyJ_rapid7-splunk-cortex-asm-enrichment Feb 26, 2023
dantavori pushed a commit that referenced this pull request Feb 26, 2023
…24837) (#24868)

* Add rapid7 ASM enrichment playbook and docs

* Add Splunk ASM enrichment playbook and docs

* Update Cortex ASM enrichment playbook and docs

* Update ASM Splunk Playbook and ASM enrichment

ASM Splunk Playbook
- Update search query to handle null represented as strings
- Add Grid setup for asmowner

Remove temporary values from ASM Enrichment playbook

* Update docker images in other scripts and integrations

* Sort pack metadata dependecies, add Splunk/R7

* Update pack README

Add Rapid7 and Splunk playbok information.
Update ToC for Playbooks to be Alphanum order.
Update "Automated Remediation requirements" to follow Alphanum order.

* Add 1.5.3 release notes

* Update Remedation Path Rules docker image

* Update ReadMe format and alphanum order

* Update release notes

* Update Splunk README and pic

* Update Rapid7 yml and README

* Update pack ignore

* Update format for Rapid7 playbook

* Update from version of ASM enrichment playbook

* Update from version of ASM alert playbook to 6.8

* Update release notes

* Update ASM Rapid7 Enrichment playbook

- Add tasks to check asset ID and set it as an ASM system ID.

* Update ASM Splunk enrichment playbook.

- Removed output.

* Update ASM Rapid7 enrichment playbook

- Update conditional task for non-owner tags

* Update README and release notes

* Update ASM Splunk playbook README

Co-authored-by: John <[email protected]>
@BigEasyJ BigEasyJ deleted the rapid7-splunk-cortex-asm-enrichment branch July 31, 2023 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Community Contribution Form Filled Whether contribution form filled or not. Contribution Thank you! Contributions are always welcome! docs-approved

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants