From fddff080d595a2b4b312e6d3d94f0bb4304a1f3a Mon Sep 17 00:00:00 2001 From: Juan Antonio Osorio Date: Wed, 6 Mar 2024 17:28:14 +0200 Subject: [PATCH] Remove explicit branch setup in CodeQL rule Signed-off-by: Juan Antonio Osorio --- rule-types/github/codeql_enabled.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/rule-types/github/codeql_enabled.yaml b/rule-types/github/codeql_enabled.yaml index 6f47720..929cb7b 100644 --- a/rule-types/github/codeql_enabled.yaml +++ b/rule-types/github/codeql_enabled.yaml @@ -41,8 +41,7 @@ def: # Defines the configuration for ingesting data relevant for the rule ingest: type: git - git: - branch: main + git: {} # Defines the configuration for evaluating data ingested against the given profile eval: type: rego @@ -159,4 +158,4 @@ def: alert: type: security_advisory security_advisory: - severity: "medium" \ No newline at end of file + severity: "medium"