Initial Access (TA0001)(external, opens in a new tab or window)
Execution (TA0002)(external, opens in a new tab or window)
Persistence (TA0003)(external, opens in a new tab or window)
text code block:from logs-github.audit-* metadata _id, _index, _version | where data_stream.dataset == "github.audit" and event.action == "protected_branch.rejected_ref_update" and github.category == "protected_branch" and github.reasons.code == "workflow_updates" and match(github.reasons.message::STRING, "refusing to allow a GitHub App to create or update workflow") | keep *
Install detection rules in Elastic Security
Detect GitHub Actions Workflow Modification Blocked in the Elastic Security detection engine by installing this rule into your Elastic Stack.
To setup this rule, check out the installation guide for Prebuilt Security Detection Rules(external, opens in a new tab or window).