Skip to content

Commit

Permalink
Update props.conf
Browse files Browse the repository at this point in the history
fix for broken severity field
  • Loading branch information
derkkila committed Jan 25, 2023
1 parent 65f71dc commit 2e5a5d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion github_app_for_splunk/default/props.conf
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ EVAL-repository_organization = if(isnotnull('organization.login'), 'organization
EVAL-result = "success"
EVAL-review_author_login = if(isnotnull('review.user.login'), 'review.user.login', null())
EVAL-review_state = if(isnotnull('review.state'), 'review.state', null())
EVAL-severity = if(isnotnull(secret_type),"critical","")
EVAL-severity = if(isnotnull(secret_type),"critical",severity)
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)
EVAL-signature = CASE(isnull(alert_description), UPPER(severity) + " Dependency Vulnerability on package " + affected_package_name, 1=1, alert_description)
EVAL-status_update_date = if(('action'!="" AND isnotnull('issue.updated_at')), 'issue.updated_at', null())
Expand Down

0 comments on commit 2e5a5d4

Please sign in to comment.