Skip to content

Commit 664669a

Browse files
authored
Narrow CodeScanning eventtypes again
Narrow CodeScanning eventtype definition. In PR splunk#35 @leftrightleft narrowed the eventtype for CodeScanning events but then was (accidently?) reverted by splunk#37. This change narrows the eventtype again.
1 parent 2e5a5d4 commit 664669a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

github_app_for_splunk/default/eventtypes.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ search = `github_webhooks` ref_type=branch
55
search = `github_source` action=* sourcetype="github:enterprise:audit" OR sourcetype="github_audit"
66

77
[GitHub::CodeScanning]
8-
search = `github_webhooks` action IN ("appeared_in_branch", "closed_by_user", "created", "fixed", "reopened", "reopened_by_user") "alert.created_at"=*
8+
search = `github_webhooks` action IN ("appeared_in_branch", "closed_by_user", "created", "fixed", "reopened", "reopened_by_user") "commit_oid"=*
99

1010
[GitHub::CodeVulnerability]
1111
search = `github_webhooks` (eventtype="GitHub::CodeScanning") "alert.html_url"="*/security/code-scanning/*"

0 commit comments

Comments
 (0)