Sigma rule: Github Delete Action Invoked
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-70c8adce4ae2, updated 2026-03-09T00:00:00.000Z.
Rule
- Title
- Github Delete Action Invoked
- Status
- test
- Level
- medium
- Author
- Muhammad Faisal (@faisalusuf)
- Date
- 2023-01-19
- Modified
- 2026-03-09
- File
- rules/application/github/audit/github_delete_action_invoked.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects delete action in the Github audit logs for codespaces, environment, project and repo.
Log source
- product
- github
- service
- audit
- definition
- Requirements: The audit log streaming feature must be enabled to be able to receive such logs. You can enable following the documentation here: https://docs.github.com/en/enterprise-cloud@latest/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/streaming-the-audit-log-for-your-enterprise#setting-up-audit-log-streaming
Detection
selection:
action:
- 'codespaces.destroy'
- 'environment.delete'
- 'project.delete'
- 'repo.destroy'
condition: selectionFalse positives (as the rule lists them)
- Validate the deletion activity is permitted. The "actor" field need to be validated.
Tags
- attack.impact
- attack.collection
- attack.t1213.003
MITRE ATT&CK ids this rule names
References
- https://docs.github.com/en/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/reviewing-the-audit-log-for-your-organization#audit-log-actions
- https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/security-log-events#codespaces
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/application/github/audit/github_delete_action_invoked.yml
Sources and licences
SigmaHQ
"Github Delete Action Invoked" by Muhammad Faisal (@faisalusuf) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/application/github/audit/github_delete_action_invoked.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: Github Delete Action Invoked",
entity page, dataset version ref-70c8adce4ae2, updated 2026-03-09T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/16a71777-0b2e-4db7-9888-9d59cb75200b (accessed 2026-11-03).
Underlying source: SigmaHQ rule 16a71777-0b2e-4db7-9888-9d59cb75200b, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.