Endpoint
/api/v2/tenants/{tenantId}/policies/discovery

gets a list of discovery profiles and their details for AWS, Azure, and Google.

Path Parameters
tenantId
string

Describes the client ID or msp ID of the tenant

Responses

OK

[
  {
    "credential": {
      "accountId": "290642135903",
      "credentialName": "AWS_AWSIntegration"
    },
    "credentialSet": "AWS_AWSIntegration",
    "id": 110,
    "name": "AWS discovery profile",
    "policy": {
      "actions": [
        {
          "action": "MANAGE DEVICE",
          "items": []
        },
        {
          "action": "STREAM AWS ALERTS",
          "items": [
            {
              "instances": {},
              "item": "https://cloudwatch-url",
              "parameters": {}
            }
          ]
        }
      ],
      "entityType": "ALL",
      "executionOrder": 0,
      "id": 136,
      "matchType": "ANY",
      "name": "AWS discovery profile",
      "rules": [
        {
          "filterType": "ANY_CLOUD_RESOURCE"
        }
      ]
    },
    "schedule": {
      "pattern": "2",
      "patternType": "HOURLY",
      "startTime": "02:00:00"
    }
  },
  {
    "credential": {
      "accountId": "290642135903",
      "credentialName": "AWS_AWSIntegration"
    },
    "credentialSet": "AWS_AWSIntegration",
    "id": 111,
    "name": "AWS discovery profile",
    "schedule": {
      "pattern": "30",
      "patternType": "MINUTES",
      "startTime": "00:30:00"
    }
  }
]
[
  {
    "credential": {
      "accountId": "9ee6993f-a036-4118-9eab-c66d9fda1ef3",
      "credentialName": "Azure Credentials"
    },
    "credentialSet": "Azure Credentials",
    "id": 102183,
    "name": "Azure",
    "policy": {
      "actions": [
        {
          "action": "MANAGE DEVICE",
          "items": []
        },
        {
          "action": "ASSIGN GATEWAY MANAGEMENT PROFILE",
          "items": [
            {
              "instances": {},
              "item": "24422",
              "parameters": {}
            }
          ]
        },
        {
          "action": "INSTALL OPSRAMP AGENT",
          "items": [
            {
              "instances": {},
              "item": "169743",
              "parameters": {}
            }
          ]
        },
        {
          "action": "SELECT GATEWAY",
          "items": [
            {
              "instances": {},
              "item": "24422",
              "parameters": {}
            }
          ]
        }
      ],
      "executionOrder": 0,
      "id": 39733,
      "matchType": "ANY",
      "name": "Azure",
      "resourceType": "ALL",
      "rules": [
        {
          "filterType": "ANY_DEVICE"
        },
        {
          "filterType": "EBS"
        },
        {
          "filterType": "WEBSITE"
        },
        {
          "filterType": "SQL_SERVER"
        },
        {
          "filterType": "SQL_DATABASE"
        },
        {
          "filterType": "RESOURCE_GROUP"
        },
        {
          "filterType": "REDIS_CACHE"
        },
        {
          "filterType": "DOCUMENT_DB"
        }
      ]
    },
    "schedule": {
      "pattern": "30",
      "patternType": "MINUTES",
      "startTime": "00:30:00"
    }
  },
  {
    "credential": {
      "accountId": "9ee6993f-a036-4118-9eab-c66d9fda1ef3",
      "credentialName": "Azure Lab discovery profile"
    },
    "credentialSet": "Azure Lab discovery profile",
    "id": 8751,
    "name": "Azure_profile",
    "schedule": {
      "pattern": "30",
      "patternType": "MINUTES",
      "startTime": "00:30:00"
    }
  }
]
Endpoint
/api/v2/tenants/{tenantId}/policies/discovery

Creates discovery profiles for AWS, Azure, and Google.

  • AWS basic discovery profile - Create a basic AWS discovery profile with credentials to administer the management of discovered resources. The returned sample response can be posted again with any modification.
  • AWS discovery profile with delivery schedule - Create an AWS discovery profile with a schedule to define the discovery time of resources.
  • AWS discovery profile with policy - Create an AWS discovery profile with a policy to define specific actions performed on the discovered resources
  • AWS discovery profile with credentials, schedule, and policy - Create an AWS discovery profile with credentials, schedule, and policy to administer the management of resources, schedule discovery of resources, and define specific actions performed on the discovered resources.
  • Azure basic discovery profile - Create a basic Azure discovery profile with credentials to administer the management of discovered resources.
  • Azure discovery profile with discovery schedule - Create an Azure discovery profile with a schedule to define the discovery time of resources.
  • Azure discovery profile with schedule and policy - Create Azure discovery profile with schedule and policy to schedule discovery of resources and define actions performed on the discovered devices.
  • Azure discovery profile with credentials, schedule, and policy - Create an Azure discovery profile with credentials, schedule, and policy to administer the management of resources, schedule discovery of resources, and define specific actions performed on the discovered resources.
  • Google basic discovery profile - Create a basic Google discovery profile with credentials to administer the management of discovered resources.
  • Google discovery profile with credentials, schedule, and policy - Create a Google discovery profile with credentials, schedule, and policy to administer the management of resources, schedule discovery of resources, and define specific actions performed on the discovered resources.

The certificate attachment must be encoded with base64 and can be provided in ServiceAccountManagementCertificate.

Path Parameters
tenantId
string

Describes the client ID or msp ID of the tenant

credential
object

credential.AWSType
AWS
credential.AccessKey
AWS
credential.AccountNumber
AWS
credential.AssumeRoleARN
AWS
credential.AzureType
Azure
credential.ClientID
Azure
credential.ExternalId
AWS
credential.KeystorePassword
Azure
credential.ManagementCertificate
Azure
credential.ManagementCertificatePassPhrase
Google
credential.Name
credential.ProjectId
Google
credential.Regions
AWS
credential.SecretKey
Azure
credential.SecurityKey
AWS
credential.ServiceAccountEmail
Google
credential.ServiceAccountManagementCertificate
Google
credential.SubscriptionId
Azure
credential.TenantId
Azure
credential.accountId
credential.credentialName
credential.credentialType
credentialSet
string

Credential set to be assigned to the discovery profile.

id
integer

installedIntegrationId
string

name
string

Discovery profile name.

policy
object

Set of functions formed together as a policy and attached with the discovery profile. Rules to filter the resources to which the discovery profile is attached

policy.actions
policy.entityType
policy.executionOrder
policy.id
policy.matchType
policy.name
policy.rules
policy.uid
scanNow
boolean

schedule
object

Define the discovery time of resources:

schedule.pattern
Pattern of the schedule. Example: If pattern type is WEEKLY, then pattern is MON, WED.
schedule.patternType
Discovery schedule pattern type. Example: HOURLY, DAILY, WEEKLY, MONTHLY, MINUTES.
schedule.startTime
Define start time of discovery.
[
  {
    "credentialSet": "AWS AWS Integration",
    "name": "AWS Basic Discovery profile"
  }
]
[
  {
    "credential": {
      "AccessKey": "*******************",
      "AccountNumber": "************",
      "SecurityKey": "************************",
      "credentialType": "AWS"
    },
    "name": "AWS_profile",
    "policy": {
      "actions": [
        {
          "action": "MANAGE DEVICE",
          "items": []
        }
      ],
      "entityType": "ALL",
      "executionOrder": 0,
      "matchType": "ANY",
      "name": "AWS_profile",
      "rules": [
        {
          "filterType": "ANY_CLOUD_RESOURCE"
        }
      ]
    },
    "schedule": {
      "pattern": "30",
      "patternType": "MINUTES",
      "startTime": "00:30:00"
    }
  }
]
[
  {
    "credentialSet": "AWS AWS Integration",
    "name": "AWS Discovery profile",
    "policy": {
      "entityType": "ALL",
      "matchType": "ANY",
      "name": "AWS Discovery profile",
      "rules": [
        {
          "filterType": "ANY_CLOUD_RESOURCE"
        }
      ]
    }
  }
]
[
  {
    "credentialSet": "AWS_Integration",
    "name": "AWS discovery profile with schedule",
    "schedule": {
      "pattern": "2",
      "patternType": "HOURLY",
      "startTime": "02:00:00"
    }
  }
]
[
  {
    "credentialSet": "Azure Credentials",
    "name": "Azure Basic Discovery profile"
  }
]
[
  {
    "credential": {
      "AzureType": "ARM",
      "ClientID": "*********",
      "SecretKey": "*******",
      "SubscriptionId": "*******",
      "TenantId": "********",
      "credentialType": "Azure"
    },
    "name": "Azure_Profile",
    "policy": {
      "actions": [
        {
          "action": "MANAGE DEVICE"
        },
        {
          "action": "ASSIGN GATEWAY MANAGEMENT PROFILE",
          "items": [
            {
              "item": "24422"
            }
          ]
        },
        {
          "action": "INSTALL OPSRAMP AGENT",
          "items": [
            {
              "item": "169743"
            }
          ]
        },
        {
          "action": "SELECT GATEWAY",
          "items": [
            {
              "item": "24422"
            }
          ]
        }
      ],
      "executionOrder": 0,
      "matchType": "ANY",
      "name": "Azure",
      "resourceType": "ALL",
      "rules": [
        {
          "filterType": "ANY_DEVICE"
        },
        {
          "filterType": "EBS"
        },
        {
          "filterType": "WEBSITE"
        },
        {
          "filterType": "SQL_SERVER"
        },
        {
          "filterType": "SQL_DATABASE"
        },
        {
          "filterType": "RESOURCE_GROUP"
        },
        {
          "filterType": "REDIS_CACHE"
        },
        {
          "filterType": "DOCUMENT_DB"
        }
      ]
    },
    "schedule": {
      "pattern": "30",
      "patternType": "MINUTES",
      "startTime": "00:30:00"
    }
  }
]
[
  {
    "credentialSet": "Azure Credentials",
    "name": "Azure discovery profile with schedule",
    "schedule": {
      "pattern": "2",
      "patternType": "HOURLY",
      "startTime": "02:00:00"
    }
  }
]
[
  {
    "credentialSet": "Azure_policy",
    "name": "Azure",
    "policy": {
      "actions": [
        {
          "action": "MANAGE DEVICE",
          "items": []
        }
      ],
      "executionOrder": 0,
      "matchType": "ANY",
      "name": "Azure",
      "resourceType": "ALL",
      "rules": [
        {
          "filterType": "ANY_CLOUD_RESOURCE"
        }
      ]
    },
    "schedule": {
      "pattern": "30",
      "patternType": "MINUTES",
      "startTime": "00:30:00"
    }
  }
]
[
  {
    "credentialSet": "Google GOOGLE_Integration",
    "name": "Google Basic Discovery profile"
  }
]
[
  {
    "credential": {
      "ManagementCertificatePassPhrase": "*******",
      "ProjectId": "*********",
      "ServiceAccountEmail": "**********",
      "ServiceAccountManagementCertificate": "MIIJqAIBAzCCCWIGCSqGSIb3DQEHAaCCCVMEgglPMIIJSzCCBXAGCSqGSIb3DQEHAaCCBWEEggVdjqWWqTFyUbIAM/EKB3HLK3AgIEAA==",
      "credentialType": "Google"
    },
    "name": "Google",
    "policy": {
      "actions": [
        {
          "action": "MANAGE DEVICE",
          "items": []
        }
      ],
      "executionOrder": 0,
      "matchType": "ANY",
      "name": "GOOGLE",
      "resourceType": "ALL",
      "rules": [
        {
          "filterType": "ANY_CLOUD_RESOURCE"
        }
      ]
    },
    "schedule": {
      "pattern": "30",
      "patternType": "MINUTES",
      "startTime": "00:30:00"
    }
  }
]

Responses

OK

[
  {
    "credential": {
      "accountId": "************",
      "credentialName": "AWS AWS Integration"
    },
    "credentialSet": "AWS AWS Integration",
    "id": 61,
    "installedIntegrationId": "INTG-5de40426-6edb-4f40-9274-d8827b683e40",
    "name": "AWS Basic Discovery Profile",
    "policy": {
      "actions": [],
      "entityType": "ALL",
      "id": 1622,
      "matchType": "ANY",
      "name": "AWS Basic Discovery Profile",
      "rules": [
        {
          "filterType": "ANY_CLOUD_RESOURCE",
          "id": 2062
        }
      ],
      "uid": "POLICY-c3702a44-caf0-47cf-b774-09fa806bc093"
    }
  }
]
[
  {
    "credential": {
      "AccessKey": "*******************",
      "AccountNumber": "************",
      "SecurityKey": "************************",
      "credentialType": "AWS"
    },
    "name": "AWS_profile",
    "policy": {
      "actions": [
        {
          "action": "MANAGE DEVICE",
          "items": []
        }
      ],
      "entityType": "ALL",
      "executionOrder": 0,
      "matchType": "ANY",
      "name": "AWS_profile",
      "rules": [
        {
          "filterType": "ANY_CLOUD_RESOURCE"
        }
      ]
    },
    "schedule": {
      "pattern": "30",
      "patternType": "MINUTES",
      "startTime": "00:30:00"
    }
  }
]
[
  {
    "credential": {
      "accountId": "*********",
      "credentialName": "AWS AWS Integration"
    },
    "credentialSet": "AWS AWS Integration",
    "id": 103918,
    "installedIntegrationId": "INTG-5de40426-6edb-4f40-9274-d8827b683e40",
    "name": "AWS Discovery profile",
    "policy": {
      "actions": [],
      "entityType": "All",
      "id": 51288,
      "matchType": "ANY",
      "name": "AWS Discovery profile",
      "rules": [
        {
          "filterType": "ANY_CLOUD_RESOURCE"
        }
      ],
      "uid": "POLICY-c3702a44-caf0-47cf-b774-09fa806bc093"
    }
  }
]
[
  {
    "credential": {
      "accountId": "*********",
      "credentialName": "AWS_Integration"
    },
    "credentialSet": "AWS_Integration",
    "id": 120,
    "name": "AWS discovery profile with schedule",
    "schedule": {
      "pattern": "2",
      "patternType": "HOURLY",
      "startTime": "02:00:00"
    }
  }
]
[
  {
    "credential": {
      "accountId": "9ee6993f-a036-4118-9eab-c66d9fda1ef3",
      "credentialName": "Azure Credentials"
    },
    "credentialSet": "Azure Credentials",
    "id": 962,
    "name": "Azure Basic Discovery profile"
  }
]
[
  {
    "credential": {
      "accountId": "9ee6993f-a036-4118-9eab-c66d9fda1ef2",
      "credentialName": "Azure"
    },
    "credentialSet": "Azure",
    "id": 102183,
    "name": "Azure_Profile",
    "policy": {
      "actions": [
        {
          "action": "MANAGE DEVICE",
          "items": []
        },
        {
          "action": "ASSIGN GATEWAY MANAGEMENT PROFILE",
          "items": [
            {
              "instances": {},
              "item": "24422",
              "parameters": {}
            }
          ]
        },
        {
          "action": "INSTALL OPSRAMP AGENT",
          "items": [
            {
              "instances": {},
              "item": "169743",
              "parameters": {}
            }
          ]
        },
        {
          "action": "SELECT GATEWAY",
          "items": [
            {
              "instances": {},
              "item": "24422",
              "parameters": {}
            }
          ]
        }
      ],
      "executionOrder": 0,
      "id": 39733,
      "matchType": "ANY",
      "name": "Azure",
      "resourceType": "ALL",
      "rules": [
        {
          "filterType": "ANY_DEVICE"
        },
        {
          "filterType": "EBS"
        },
        {
          "filterType": "WEBSITE"
        },
        {
          "filterType": "SQL_SERVER"
        },
        {
          "filterType": "SQL_DATABASE"
        },
        {
          "filterType": "RESOURCE_GROUP"
        },
        {
          "filterType": "REDIS_CACHE"
        },
        {
          "filterType": "DOCUMENT_DB"
        }
      ]
    },
    "schedule": {
      "pattern": "30",
      "patternType": "MINUTES",
      "startTime": "00:30:00"
    }
  }
]
[
  {
    "credential": {
      "accountId": "9ee6993f-a036-4118-9eab-c66d9fda1ef3",
      "credentialName": "Azure Credentials"
    },
    "credentialSet": "Azure Credentials",
    "id": 963,
    "name": "Azure discovery profile with schedule",
    "schedule": {
      "pattern": "2",
      "patternType": "HOURLY",
      "startTime": "02:00:00"
    }
  }
]
[
  {
    "credential": {
      "accountId": "9ee6993f-a036-418-9eab-c66f34fae1gf7",
      "credentialName": "Azure_policy"
    },
    "credentialSet": "Azure_policy",
    "id": 510,
    "name": "Azure",
    "policy": {
      "actions": [
        {
          "action": "MANAGE DEVICE",
          "items": []
        }
      ],
      "executionOrder": 0,
      "id": 736,
      "matchType": "ANY",
      "name": "Azure",
      "resourceType": "ALL",
      "rules": [
        {
          "filterType": "ANY_CLOUD_RESOURCE"
        }
      ]
    },
    "schedule": {
      "pattern": "30",
      "patternType": "MINUTES",
      "startTime": "00:30:00"
    }
  }
]
[
  {
    "credential": {
      "accountId": "GCE-integration",
      "credentialName": "Google GOOGLE_Integration"
    },
    "credentialSet": "Google GOOGLE_Integration",
    "id": 962,
    "name": "Google Basic Discovery profile"
  }
]
[
  {
    "credential": {
      "accountId": "gce-integration",
      "credentialName": "Google GOOGLEIntegration"
    },
    "credentialSet": "Google GOOGLEIntegration",
    "id": 28,
    "installedIntegrationId": "INTG-8abf482f-1423-18b7-4578-be47080aaa72",
    "name": "Google",
    "policy": {
      "actions": [
        {
          "action": "MANAGE DEVICE",
          "items": []
        }
      ],
      "id": 822,
      "matchType": "ANY",
      "name": "GOOGLE",
      "resourceType": "ALL",
      "rules": [
        {
          "filterType": "ANY_CLOUD_RESOURCE",
          "id": 18821
        }
      ]
    },
    "schedule": {
      "pattern": "2",
      "patternType": "HOURLY",
      "startTime": "02:00:00"
    }
  }
]
Endpoint
/api/v2/tenants/{tenantId}/policies/discovery

Updates discovery profiles for AWS, Azure, and Google.

Path Parameters
tenantId
string

Describes the client ID or msp ID of the tenant

credential
object

credential.AWSType
AWS
credential.AccessKey
AWS
credential.AccountNumber
AWS
credential.AssumeRoleARN
AWS
credential.AzureType
Azure
credential.ClientID
Azure
credential.ExternalId
AWS
credential.KeystorePassword
Azure
credential.ManagementCertificate
Azure
credential.ManagementCertificatePassPhrase
Google
credential.Name
credential.ProjectId
Google
credential.Regions
AWS
credential.SecretKey
Azure
credential.SecurityKey
AWS
credential.ServiceAccountEmail
Google
credential.ServiceAccountManagementCertificate
Google
credential.SubscriptionId
Azure
credential.TenantId
Azure
credential.accountId
credential.credentialName
credential.credentialType
credentialSet
string

Credential set to be assigned to the discovery profile.

id
integer

installedIntegrationId
string

name
string

Discovery profile name.

policy
object

Set of functions formed together as a policy and attached with the discovery profile. Rules to filter the resources to which the discovery profile is attached

policy.actions
policy.entityType
policy.executionOrder
policy.id
policy.matchType
policy.name
policy.rules
policy.uid
scanNow
boolean

schedule
object

Define the discovery time of resources:

schedule.pattern
Pattern of the schedule. Example: If pattern type is WEEKLY, then pattern is MON, WED.
schedule.patternType
Discovery schedule pattern type. Example: HOURLY, DAILY, WEEKLY, MONTHLY, MINUTES.
schedule.startTime
Define start time of discovery.
[
  {
    "credentialSet": "AWS_1",
    "name": "AWS Basic Discovery profile"
  }
]
[
  {
    "credential": {
      "AccessKey": "*****************",
      "AccountNumber": "*************",
      "SecurityKey": "***************",
      "credentialType": "AWS"
    },
    "id": 510,
    "name": "AWS_profile",
    "policy": {
      "actions": [
        {
          "action": "MANAGE DEVICE",
          "items": []
        }
      ],
      "entityType": "ALL",
      "executionOrder": 0,
      "id": 736,
      "matchType": "ANY",
      "name": "AWS_profile",
      "rules": [
        {
          "filterType": "ANY_CLOUD_RESOURCE"
        }
      ]
    },
    "schedule": {
      "pattern": "30",
      "patternType": "MINUTES",
      "startTime": "00:30:00"
    }
  }
]
[
  {
    "credentialSet": "AWS_AWSIntegration",
    "id": 110,
    "name": "AWS discovery profile with policy",
    "policy": {
      "actions": [
        {
          "action": "MANAGE DEVICE",
          "items": []
        },
        {
          "action": "STREAM AWS ALERTS",
          "items": [
            {
              "item": "https://cloudwatch-url"
            }
          ]
        }
      ],
      "entityType": "ALL",
      "matchType": "ANY",
      "rules": [
        {
          "filterType": "ANY_CLOUD_RESOURCE"
        }
      ]
    }
  }
]
[
  {
    "credentialSet": "AWS AWS Integration",
    "name": "AWS discovery profile with schedule",
    "schedule": {
      "pattern": "30",
      "patternType": "MINUTES",
      "startTime": "00:30:00"
    }
  }
]
[
  {
    "credentialSet": "AWS AWS Integration",
    "name": "AWS discovery profile with schedule and policy",
    "policy": {
      "entityType": "ALL",
      "matchType": "ANY",
      "name": "AWS discovery profile with schedule and policy",
      "rules": [
        {
          "filterType": "ANY_CLOUD_RESOURCE"
        }
      ]
    },
    "schedule": {
      "pattern": "30",
      "patternType": "MINUTES",
      "startTime": "00:30:00"
    }
  }
]
[
  {
    "credentialSet": "Google GOOGLEIntegration",
    "id": 963,
    "name": "Google Basic Discovery profile"
  }
]
[
  {
    "credential": {
      "ManagementCertificatePassPhrase": "**********",
      "ProjectId": "***********",
      "ServiceAccountEmail": "************",
      "ServiceAccountManagementCertificate": "MIIJqAIBAzCCCWIGCSqGSIb3DQEHAaCCCVMEgglPMIIJSzCCBXAGCSqGSIb3DQEHAaCCBWEEggVdMIIFWTCCBVUGCyqGSIb3DQEMCgECoIIE+jCCBPYwnEjqWWqTFyUbIAM/EKB3HLK3AgIEAA==",
      "credentialType": "Google"
    },
    "id": 963,
    "name": "Google",
    "policy": {
      "actions": [
        {
          "action": "MANAGE DEVICE",
          "items": []
        }
      ],
      "executionOrder": 0,
      "id": 822,
      "matchType": "ANY",
      "name": "GOOGLE",
      "resourceType": "ALL",
      "rules": [
        {
          "filterType": "ANY_CLOUD_RESOURCE"
        }
      ]
    },
    "schedule": {
      "pattern": "30",
      "patternType": "MINUTES",
      "startTime": "00:30:00"
    }
  }
]
[
  {
    "credentialSet": "Google GOOGLEIntegration",
    "id": 963,
    "name": "Google",
    "policy": {
      "actions": [
        {
          "action": "MANAGE DEVICE",
          "items": []
        }
      ],
      "executionOrder": 0,
      "id": 822,
      "matchType": "ANY",
      "name": "GOOGLE",
      "resourceType": "ALL",
      "rules": [
        {
          "filterType": "ANY_CLOUD_RESOURCE"
        }
      ]
    },
    "schedule": {
      "pattern": "30",
      "patternType": "MINUTES",
      "startTime": "00:30:00"
    }
  }
]

Responses

OK

[
  {
    "credential": {
      "accountId": "***********",
      "credentialName": "AWS_1"
    },
    "credentialSet": "AWS_1",
    "id": 109,
    "name": "AWS Basic Discovery profile"
  }
]
[
  {
    "credential": {
      "accountId": "************",
      "credentialName": "AWS_Integration"
    },
    "credentialSet": "AWS_Integration",
    "id": 510,
    "name": "AWS_profile",
    "policy": {
      "actions": [
        {
          "action": "MANAGE DEVICE",
          "items": []
        }
      ],
      "entityType": "ALL",
      "executionOrder": 0,
      "id": 736,
      "matchType": "ANY",
      "name": "AWS_profile",
      "rules": [
        {
          "filterType": "ANY_CLOUD_RESOURCE"
        }
      ]
    },
    "schedule": {
      "pattern": "30",
      "patternType": "MINUTES",
      "startTime": "00:30:00"
    }
  }
]
[
  {
    "credential": {
      "accountId": "***********",
      "credentialName": "AWS_AWSIntegration"
    },
    "credentialSet": "AWS_AWSIntegration",
    "id": 110,
    "name": "AWS discovery profile with policy",
    "policy": {
      "actions": [
        {
          "action": "MANAGE DEVICE",
          "items": []
        },
        {
          "action": "STREAM AWS ALERTS",
          "items": [
            {
              "instances": {},
              "item": "https://cloudwatch-url",
              "parameters": {}
            }
          ]
        }
      ],
      "entityType": "ALL",
      "executionOrder": 0,
      "id": 136,
      "matchType": "ANY",
      "name": "AWS discovery profile with policy",
      "rules": [
        {
          "filterType": "ANY_CLOUD_RESOURCE"
        }
      ]
    }
  }
]
[
  {
    "credential": {
      "accountId": "*********",
      "credentialName": "AWS AWS Integration"
    },
    "credentialSet": "AWS AWS Integration",
    "id": 120,
    "installedIntegrationId": "INTG-5de40426-6edb-4f40-9274-d8827b683e40",
    "name": "AWS discovery profile with schedule",
    "policy": {
      "actions": [],
      "entityType": "ALL",
      "id": 1621,
      "matchType": "ANY",
      "name": "AWS discovery profile with schedule",
      "rules": [
        {
          "filterType": "ANY_CLOUD_RESOURCE",
          "id": 2061
        }
      ],
      "uid": "POLICY-35a98317-cd21-4f81-aad9-331e8e8cca0e"
    },
    "schedule": {
      "pattern": "30",
      "patternType": "MINUTES",
      "startTime": "00:30:00"
    }
  }
]
[
  {
    "credential": {
      "accountId": "************",
      "credentialName": "AWS AWS Integration"
    },
    "credentialSet": "AWS AWS Integration",
    "id": 59,
    "installedIntegrationId": "INTG-5de40426-6edb-4f40-9274-d8827b683e40",
    "name": "AWS discovery profile with schedule and policy",
    "policy": {
      "actions": [],
      "entityType": "ALL",
      "id": 1620,
      "matchType": "ANY",
      "name": "AWS discovery profile with schedule and policy",
      "rules": [
        {
          "filterType": "ANY_CLOUD_RESOURCE",
          "id": 2060
        }
      ],
      "uid": "POLICY-d6e78267-ccbb-41a8-9766-c8311299da98"
    },
    "schedule": {
      "pattern": "30",
      "patternType": "MINUTES",
      "startTime": "00:30:00"
    }
  }
]
[
  {
    "credential": {
      "accountId": "GCE-integration",
      "credentialName": "Google GOOGLEIntegration"
    },
    "credentialSet": "Google GOOGLEIntegration",
    "id": 963,
    "name": "Google Basic Discovery profile"
  }
]
[
  {
    "credential": {
      "accountId": "gce-integration",
      "credentialName": "Google GOOGLEIntegration"
    },
    "credentialSet": "Google GOOGLEIntegration",
    "id": 963,
    "installedIntegrationId": "INTG-8abf482f-1423-18b7-4578-be47080aaa72",
    "name": "Google",
    "policy": {
      "actions": [
        {
          "action": "MANAGE DEVICE",
          "items": []
        }
      ],
      "executionOrder": 0,
      "id": 822,
      "matchType": "ANY",
      "name": "GOOGLE",
      "resourceType": "ALL",
      "rules": [
        {
          "filterType": "ANY_CLOUD_RESOURCE"
        }
      ]
    },
    "schedule": {
      "pattern": "30",
      "patternType": "MINUTES",
      "startTime": "00:30:00"
    }
  }
]
[
  {
    "credentialSet": "Google GOOGLEIntegration",
    "id": 963,
    "name": "Google",
    "policy": {
      "actions": [
        {
          "action": "MANAGE DEVICE",
          "items": []
        }
      ],
      "executionOrder": 0,
      "id": 822,
      "matchType": "ANY",
      "name": "GOOGLE",
      "resourceType": "ALL",
      "rules": [
        {
          "filterType": "ANY_CLOUD_RESOURCE"
        }
      ]
    },
    "schedule": {
      "pattern": "30",
      "patternType": "MINUTES",
      "startTime": "00:30:00"
    }
  }
]