Skip to main content
GET
/
v2
/
organizations
/
{organizationUid}
/
discovered-assets
cURL
curl --request GET \
  --url https://client.synack.com/api/asset/v2/organizations/{organizationUid}/discovered-assets \
  --header 'Authorization: Bearer <token>'
{
  "totalByStatus": {
    "all": 123,
    "unconfirmed": 123,
    "inTriage": 123,
    "triaged": 123,
    "confirmed": 123,
    "rejected": 123
  },
  "discoveredAssets": [
    {
      "createdAt": "2023-11-07T05:31:56Z",
      "createdBy": "<string>",
      "uid": "<string>",
      "organizationUid": "<string>",
      "location": "<string>",
      "assetType": "cloudaccount",
      "label": "<string>",
      "origin": "provided",
      "changeStatus": "unchanged",
      "providerName": "<string>",
      "lastCheckedAt": "2023-11-07T05:31:56Z",
      "lastReachableAt": "2023-11-07T05:31:56Z",
      "lastSuccessfulScan": "2023-11-07T05:31:56Z",
      "lastFailedScan": "2023-11-07T05:31:56Z",
      "firstSeen": "2023-11-07T05:31:56Z",
      "lastSeen": "2023-11-07T05:31:56Z",
      "status": "unchecked",
      "errorCode": 123,
      "listings": [
        {
          "listingUid": "<string>",
          "scope": "in",
          "scopeRules": [
            {
              "uid": "<string>",
              "rule": "<string>",
              "scope": "in",
              "appliesTo": "scanners",
              "createdAt": "2023-11-07T05:31:56Z",
              "createdBy": "<string>",
              "updatedAt": "2023-11-07T05:31:56Z",
              "updatedBy": "<string>"
            }
          ],
          "createdAt": "2023-11-07T05:31:56Z",
          "updatedAt": "2023-11-07T05:31:56Z"
        }
      ],
      "relatedAssets": [
        [
          {
            "assetUid": "<string>",
            "assetType": "cloudaccount",
            "location": "<string>",
            "label": "<string>"
          }
        ]
      ],
      "updatedAt": "2023-11-07T05:31:56Z",
      "updatedBy": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

organizationUid
string
required

Unique identifier for an organization.

Query Parameters

listingUid[]
string[]

Unique identifier for an listing. If not supplied the request will apply to all listings the user is authorized to access.

Unique identifier for an listing.

assetType[]
enum<string>[]

Restrict the returned asset summaries to only assets of the specified type.

Available options:
cloudaccount,
host,
network,
mobileapp,
webapp
hostType[]
enum<string>[]

Restrict the returned asset summaries to only the types of host assets requested when assetType also includes host.

Available options:
ip,
cidr,
fqdn,
as
seedUid[]
string

Restrict the returned asset summaries to only those discovered from provided seed identifier. Unique identifier for an E-ASM seed.

Optional query parameter for a search string that will be used to match within the label or location properties of assets. If this query parameter is provided, any location query parameter will be ignored.

perPage
integer<int32>

Requested page size for pagination. A server-selected default of 100 will be used when no perPage is requested via query parameter.

Required range: 1 <= x <= 5000
page
integer<int32>

Page to retrieve in paginated response. A server-selected default of 1 will be used when no page is requested via query parameter.

Required range: x >= 1
sort
enum<string>

Optional property to sort results by.

Available options:
location,
label,
createdAt,
updatedAt,
lastReachableAt
sortDir
enum<string>
default:asc

Direction of sort-order for items in the response.

Available options:
asc,
desc

Response

Paginated discovered asset summaries.

totalByStatus
object
discoveredAssets
object[]