Creating Jobs
Automated tasks in Zirkul are handled by Jobs
# Let's load a target by ID
target 150
# Create a new dynamic scan (DAST)
new scan dynamic scan
targetid: target.id
subject: 'Dynamic Scan for {{target.name}}'
status: 'not started'
url: target.url
tool name: 'Zirkul Agent'
submit
-
# New scan data is stored in the object: scan
# Let's move the scan to 'In progress'
scan scan.id
status: 'in progress'
description: 'Scanning Target {{target.id}}'
update
-
# Now we can run the scan with Zirkul scanner
scanner
url scan.url
start spider
-
# Update the scan when the scan is completed
scan scan.id
status: 'completed'
response message: 'Scan completed successfully'
update
-
# Now let's publish all the issues found so you can track them in Zirkul
publish issues







Last updated
