Prerequisites
💡 Summary
Determine if it is possible to automate MS.SECURITYSUITE.4.2v1, "The alerts SHOULD be sent to a monitored address or incorporated into a Security Information and Event Management (SIEM)."
Motivation and context
Currently this is a manual check, but it may be possible to automate.
Implementation notes
So I see two parts to this:
- Can we check to see if email notifications are configured?
- Can we check if SIEM integration is configured?
For the email portion, I haven’t checked, but I’d be surprised if this isn’t data we could get from one of the APIs. We could then have ScubaGear either assert that at least one email has been added or add a config file option for the user to specify email addresses we should look for. So automatable? Need to double check, but it seems likely.
The SIEM part is a little harder. After a cursory look, I think the SIEM integration process looks like so:
- Register an application in Entra ID and assign it the “appropriate permissions” (not sure which specifically).
- Subscribe the application to the relevant content types. I’m not sure what the various content types are, but for now let’s assume there are some specific content types that correspond to these alerts.
- After that, you configure your SIEM (e.g., Splunk) to poll regularly to check for new content.
So I think ScubaGear checking for SIEM integration would look like looking for an app registration with the right permissions and subscriptions. There actually is a list subscriptions API endpoint. So this part may be automatable too, though more research is needed.
To sum up, here are the specific questions we’d need to answer:
- Is there an API that tells us if email notifications for these alerts is configured?
- What are the permissions the app would need to be registered with?
- Which subscription types would the app need?
- Can we call the list subscriptions API endpoint or is it something that can only be accessed from the app registered?
Some resources:
Acceptance criteria
Prerequisites
💡 Summary
Determine if it is possible to automate MS.SECURITYSUITE.4.2v1, "The alerts SHOULD be sent to a monitored address or incorporated into a Security Information and Event Management (SIEM)."
Motivation and context
Currently this is a manual check, but it may be possible to automate.
Implementation notes
So I see two parts to this:
For the email portion, I haven’t checked, but I’d be surprised if this isn’t data we could get from one of the APIs. We could then have ScubaGear either assert that at least one email has been added or add a config file option for the user to specify email addresses we should look for. So automatable? Need to double check, but it seems likely.
The SIEM part is a little harder. After a cursory look, I think the SIEM integration process looks like so:
So I think ScubaGear checking for SIEM integration would look like looking for an app registration with the right permissions and subscriptions. There actually is a list subscriptions API endpoint. So this part may be automatable too, though more research is needed.
To sum up, here are the specific questions we’d need to answer:
Some resources:
Acceptance criteria