Groovy web console

subscribe to the feed Subscribe
to this
site

test

Published 1 month ago by Anonymous
Actions Execute script  ▶ Edit in console Back to console Show/hide line numbers View recent scripts
def params = ['enableSysdigScan': false]
println params['enableSysdigScan']

println "--"

if(params['enableSysdigScan'] ?: true) {
  println "Run Sysdig Scan"  
} else {
  println "NO Sysdig Scan" 
}