Skip to content

synack/api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

API for Asset Service

Assets may be retrieved using a combination of query parameters. This endpoint returns asset-type neutral summary information and supports pagination by default.

To get eligible web application assets for a target:

curl -v -H "Authorization: Bearer token" "https://platform.synack.com/api/asset/v2/assets?listingUid[]=24ehvtagyy&organizationUid[]=weultjstoe&assetType[]=webapp&active=true&scope[]=in&scope[]=discovered&sort=location&sortDir=asc&page=1&perPage=500" |jq

To get eligible IP host assets (of ip and cidr types) for a target:

curl -v -H "Authorization: Bearer token" "https://platform.synack.com/api/asset/v2/assets?listingUid[]=24ehvtagyy&organizationUid[]=weultjstoe&assetType[]=host&hostType[]=cidr&hostType[]=ip&active=true&scope[]=in&scope[]=discovered&sort=location&sortDir=asc&page=1&perPage=500" |jq

Releases

No releases published

Packages

No packages published