Skip to main content

Get Aggregated Asset Count by Cloud Type

POST 

https://api.prismacloud.io/asm/api/v1/asset/aggregation-by-cloud-type

Get count of assets aggregated by cloud service provider.

Request

Body

    snapshotDateint64
    assetTypesstring[]

    Asset types

    Possible values: [Domain, ResponsiveIP]

    manageTypeManage type (string)

    Possible values: [MANAGED, UNMANAGED]

    Default value: UNMANAGED
    serviceTypesService types (string)[]

    Service types

    cloudTypesstring[]

    Cloud types

    Possible values: [AWS, GCP, AZURE, ALIBABA_CLOUD]

    snoozeStatusstring[]

    Possible values: [SNOOZED, ACTIVE]

    accountMappingStatusstring[]

    Mapped indicates that the asset is connected to a parent account or organizational unit (OU) on Prisma Cloud, whereas unmapped signifies that the asset is not associated with any parent account or OU on Prisma Cloud.

    Possible values: [MAPPED, UNMAPPED]

    managedCommunicationstring[]

    This parameter is used to filter unmanaged assets based on the unmanaged assets communication with managed assets.

    The default value is False.

    True - To get all the unmanaged assets communicating with managed assets on Prisma Cloud.

    False - To get all the unmanaged assets that are not communicating with managed assets on Prisma Cloud.

    Empty array or specifying both [True, False] - To get all unmanaged assets irrespective of their connection with managed assets.

    Possible values: [TRUE, FALSE]

Responses

Ok

Schema
    value object[]
  • Array [
  • cloudTypestring

    Cloud type

    Possible values: [AWS, AZURE, GCP, ALIBABA_CLOUD]

    countint64

    Value of count

  • ]

Authorization: x-redlock-auth

name: x-redlock-authtype: apiKeydescription: The x-redlock-auth value is a JSON Web Token (JWT).in: header
curl -L 'https://api.prismacloud.io/asm/api/v1/asset/aggregation-by-cloud-type' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'x-redlock-auth: <x-redlock-auth>' \
-d '{
"snapshotDate": 0,
"assetTypes": [
"Domain"
],
"manageType": "UNMANAGED",
"serviceTypes": [
"string"
],
"cloudTypes": [
"AWS"
],
"snoozeStatus": [
"SNOOZED"
],
"accountMappingStatus": [
"MAPPED"
],
"managedCommunication": [
"TRUE"
]
}'
Request Collapse all
Base URL
https://api.prismacloud.io
Auth
Body
{
  "snapshotDate": 0,
  "assetTypes": [
    "Domain"
  ],
  "manageType": "UNMANAGED",
  "serviceTypes": [
    "string"
  ],
  "cloudTypes": [
    "AWS"
  ],
  "snoozeStatus": [
    "SNOOZED"
  ],
  "accountMappingStatus": [
    "MAPPED"
  ],
  "managedCommunication": [
    "TRUE"
  ]
}