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

Support for other rule types #12

Open
f-bader opened this issue Jun 27, 2023 · 4 comments
Open

Support for other rule types #12

f-bader opened this issue Jun 27, 2023 · 4 comments

Comments

@f-bader
Copy link
Owner

f-bader commented Jun 27, 2023

Summary of the new feature / enhancement

Add support for
[ ] Fusion
[ ] NRT
[ ] ML
[ ] Threat Intelligence
[ ] Microsoft Security

Proposed technical implementation details (optional)

Based on YAML or ARM template rule detection

@Manbearpiet
Copy link
Contributor

Can we perhaps agree on some sort of documented format on how to store these as YAML?
Will everything be a top level property? Will all properties always be available, what's the minimum and what is an extensive example?

  • Fusion example?
  • NRT example
  • ML example?
  • Threat Intelligence example?
  • Microsoft Security example?

@f-bader
Copy link
Owner Author

f-bader commented Jul 25, 2023

Definitely. I will create some extensive YAML files that we can use for validation purposes

@f-bader
Copy link
Owner Author

f-bader commented Jul 25, 2023

The first two examples

@f-bader
Copy link
Owner Author

f-bader commented Jul 26, 2023

Basically we should implement a 1:1 version of the ARM template converted to YAML with the following changes:

  • Reorder the YAML for better readability
  • Rename the following parameters to match Sentinel YAML format
    • displayName = name
    • alertRuleTemplateName = id
    • templateVersion = version
    • techniques = relevantTechniques
  • Change triggerOperator to match YAML
    • Equals = eq
    • GreaterThan = gt
    • GreaterThanOrEqual = ge
    • LessThan = lt
    • LessThanOrEqual = le

Microsoft.SecurityInsights alertRules

Scheduled

alertDetailsOverride:
  alertDescriptionFormat: string
  alertDisplayNameFormat: string
  alertDynamicProperties:
  - alertProperty: string
    value: string
  alertSeverityColumnName: string
  alertTacticsColumnName: string
id: string
customDetails: {}
description: string
name: string
enabled: bool
entityMappings:
- entityType: string
  fieldMappings:
  - columnName: string
    identifier: string
eventGroupingSettings:
  aggregationKind: string
incidentConfiguration:
  createIncident: bool
  groupingConfiguration:
    enabled: bool
    groupByAlertDetails:
    - string
    groupByCustomDetails:
    - string
    groupByEntities:
    - string
    lookbackDuration: string
    matchingMethod: string
    reopenClosedIncident: bool
query: string
queryFrequency: string
queryPeriod: string
sentinelEntitiesMappings:
- columnName: string
severity: string
suppressionDuration: string
suppressionEnabled: bool
tactics:
- string
relevantTechniques:
- string
version: string
triggerOperator: string
triggerThreshold: int

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants