Examples and references

Application examples

  • Provide the names of applications with at least one failed policy: https://cloud.appscan.com/api/v4/Apps?$filter=ComplianceStatuses/any(d:d/Compliant+eq+false)&$select=Name
  • List the applications with any new issues of High severity: https://cloud.appscan.com/api/v4/Apps?$filter=RiskRating+eq+'Critical'+and+NewIssues+gt+0
  • Provide the names, IDs, and creation dates of applications created since January 1, 2024: https://cloud.appscan.com/api/v4/Apps?$filter=DateCreated+gt+'2024-01-01z'+&$select=Name,Id,DateCreated

Scan examples

  • Provide personal scans that have completed with a status of "Ready" and are not categorized as personal: https://cloud.appscan.com/api/v4/Scans?$filter=LatestExecution/Status+eq+'Ready'+and+IsPersonal+eq+true
  • Retrieve all scans with the term "Jenkins" in the scan name: https://cloud.appscan.com/api/v4/Scans?$filter=contains(Name,'jenkins') Note that string searches are always case-insensitive.

References