Skip to content

Cake script that sends a Coverity view into a slack channel

License

Notifications You must be signed in to change notification settings

e-conomic/coverity-notifier

Repository files navigation

coverity-notifier

The functionality of this script is to alert on new issues in a coverity view. But you are in charge of running this script after your normal coverity snapshot process.

It will report all of the issues in the view you give it - so filter the view in coverity to your desired amount of issues.

It will color the slack message attachment of security issues with shades of red.

Required Environment Variables

VariableName Type Example
COVERITY_URI Uri http://coverity-server.com:8080/
COVERITY_USERNAME string ReadOnlyMachineUserName
COVERITY_PASSWORD string StrongPassword1234
SLACK_WEBHOOK_URI URI https://hooks.slack.com/services/XXXX/YYYY/zzzzz
SLACK_CHANNEL string #sig-coverity-alerts

Required Commandline Arguments

ArgumentName Type Example Description
-CoverityViewId int 1234 The numeric id of the Coverity View
-CoverityProjectId string CoolProjectName

Usage

.\build.ps1 -CoverityViewId 1234 -CoverityProjectId CoolProjectName

Example Output

Example Output

About

Cake script that sends a Coverity view into a slack channel

Resources

License

Stars

Watchers

Forks

Packages

No packages published