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

Microsoft defender for cloud collector #23631

Merged
merged 74 commits into from
May 29, 2023

Conversation

omerKarkKatz
Copy link
Contributor

@omerKarkKatz omerKarkKatz commented Jan 8, 2023

Status

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

Related Issues

fixes: link to the issue
fixes: link to the issue

Description

This is a new XSIAM collector for Microsoft defender for cloud

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
  • Documentation

Merge branch 'master' of github.com:demisto/content into Microsoft_Defender_For_Cloud_Collector
Comment on lines 65 to 68
if check_events_were_filtered_out(curr_events, curr_filtered_events):
events.extend(curr_filtered_events)
break
events.extend(curr_filtered_events)
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
if check_events_were_filtered_out(curr_events, curr_filtered_events):
events.extend(curr_filtered_events)
break
events.extend(curr_filtered_events)
events.extend(curr_filtered_events)
if check_events_were_filtered_out(curr_events, curr_filtered_events):
break

Copy link
Contributor Author

Choose a reason for hiding this comment

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

nice suggestion done.

@@ -0,0 +1,50 @@
XSIAM collector for Microsoft Defender for Cloud alerts.
This integration was integrated and tested with version xx of Microsoft Defender for Cloud Event Collector
Copy link
Contributor

Choose a reason for hiding this comment

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

Replace the xx with a real version

Copy link
Contributor Author

Choose a reason for hiding this comment

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

deleted this line.

Comment on lines 12 to 20
| Microsoft Azure Management URL | | False |
| ID | | True |
| Token | | True |
| Key | | True |
| Certificate Thumbprint | Used for certificate authentication. As appears in the "Certificates & secrets" page of the app. | False |
| Private Key | Used for certificate authentication. The private key of the registered certificate. | False |
| Subscription ID to use | | True |
| Trust any certificate (not secure) | | False |
| Use system proxy settings | | False |
Copy link
Contributor

Choose a reason for hiding this comment

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

Add missing description

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is auto-generated from the yml added description where it is not self-explanatory.

@omerKarkKatz omerKarkKatz requested a review from gal-forer April 27, 2023 06:02
Merge remote-tracking branch 'origin/master' into Microsoft_Defender_For_Cloud_Collector
Merge branch 'Microsoft_Defender_For_Cloud_Collector' of github.com:demisto/content into Microsoft_Defender_For_Cloud_Collector
Merge remote-tracking branch 'origin/master' into Microsoft_Defender_For_Cloud_Collector
Copy link
Contributor

@DeanArbel DeanArbel left a comment

Choose a reason for hiding this comment

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

Looks good. Good job, I know it's been a bumpy road.
@ShirleyDenkberg Please review this PR, take special attention to the Known Limitation section.

@ShirleyDenkberg
Copy link
Contributor

@gal-forer @DeanArbel @yucohen @michal-dagan Doc review completed.

@omerKarkKatz omerKarkKatz merged commit ef3947a into master May 29, 2023
@omerKarkKatz omerKarkKatz deleted the Microsoft_Defender_For_Cloud_Collector branch May 29, 2023 11:46
cweltPA pushed a commit that referenced this pull request May 29, 2023
* Added the base code

* more structural changes

* added yml and description

* added a test

* commit

* Adding tests

* added tests and documentation

* removed a duplicate yml conf

* commit

* commit

* commit

* commit

* commit

* changed events typo

* formating the code

* changes with nextLink

* added support for the pagination

* commit

* commit

* commit

* modified some tests

* Finished the tests and some fixes found by tests

* added some test and removed the first fetch time param

* fixed a test and some bugs in the code

* fixed extra arg in test_module

* commit

* fixes

* commit

* Added modelign rules

* added the  rule

* changes in yml and description

* Added documentation to functions

* Added documentation to tests

* removed a file

* changed to type 9 and bumped docker image

* Update Packs/AzureSecurityCenter/Integrations/MicrosoftDefenderForCloudEventCollector/MicrosoftDefenderForCloudEventCollector_description.md

Co-authored-by: ShirleyDenkberg <[email protected]>

* Apply suggestions from code review

Co-authored-by: ShirleyDenkberg <[email protected]>

* fixed a typo in microsoft

* changes after doc review

* small change in readme.md

* fix validations

* commit

* change in the modeling rules

* Added a first_fetch_time handeling

* changed the modeling rule of event.outcome_reason

* Added the first_fetch time parameter

* Empty-Commit

* review changes

* added some known limitations

* changed the hyrarcy of the modeling rules

* fixed xif

* modeling rules change names

* Fixed the modeling rules

* updated docker image

* removed the RN for the new pack

* minor readme changes

* Apply suggestions from code review

Docs review.

Co-authored-by: ShirleyDenkberg <[email protected]>

* added RN and bumped version

---------

Co-authored-by: ShirleyDenkberg <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants