Skip to content

Commit 2e5a5d4

Browse files
committed
Update props.conf
fix for broken severity field
1 parent 65f71dc commit 2e5a5d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

github_app_for_splunk/default/props.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ EVAL-repository_organization = if(isnotnull('organization.login'), 'organization
119119
EVAL-result = "success"
120120
EVAL-review_author_login = if(isnotnull('review.user.login'), 'review.user.login', null())
121121
EVAL-review_state = if(isnotnull('review.state'), 'review.state', null())
122-
EVAL-severity = if(isnotnull(secret_type),"critical","")
122+
EVAL-severity = if(isnotnull(secret_type),"critical",severity)
123123
EVAL-severity_id = CASE(severity=="critical",4, severity_level=="critical",4, severity=="high",3, severity_level=="high",3, severity=="moderate",2,severity_level=="moderate", 2, isnotnull(secret_type),4, true=true, 1)
124124
EVAL-signature = CASE(isnull(alert_description), UPPER(severity) + " Dependency Vulnerability on package " + affected_package_name, 1=1, alert_description)
125125
EVAL-status_update_date = if(('action'!="" AND isnotnull('issue.updated_at')), 'issue.updated_at', null())

0 commit comments

Comments
 (0)