In your Jenkinsfile test stage, you can easily define a security test with the Crashtest 

Security Suite:

Jenkinsfile (Scripted Pipeline)
node {
   stage('Build') {
  	sh 'make'
	stage('Test') {
    	sh 'make check'
	if (currentBuild.currentResult == 'SUCCESS') {
    	stage('Deploy') {
        	sh 'make publish'
    	stage('Security') {
        	sh './'

Analog to the webhook script defined above; you can configure the scan and set up your own pass / fail rules. Make sure that the Jenkins JUnit plugin is installed to parse the scan output.

For more information on Jenkins pipelines, please check out the Jenkins documentation.