Endpoint
/api/v2/tenants/{tenantId}/policies/discovery/search
Path Parameters
tenantId
string

Query Parameters
name
string

Discovery profile name

Responses

OK

[
  {
    "credential": {
      "accountId": "290642135904",
      "credentialName": "AWS Lab Testings"
    },
    "credentialSet": "AWS Lab Testings",
    "id": 17,
    "name": "discovery",
    "policy": {
      "actions": [
        {
          "action": "MANAGE DEVICE",
          "items": []
        }
      ],
      "entityType": "ALL",
      "executionOrder": 0,
      "id": 354,
      "matchType": "ANY",
      "name": "discovery",
      "rules": [
        {
          "filterType": "ANY_CLOUD_RESOURCE"
        }
      ]
    }
  }
]
[
  {
    "credential": {
      "accountId": "9ee6993f-a036-4118-9eab-c66d9fda1ef3",
      "credentialName": "Azure Credentails"
    },
    "credentialSet": "Azure Credentails",
    "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": "8ef6993f-a036-4118-4eab-d66d9fefr3e6",
      "credentialName": "Azure Lab"
    },
    "credentialSet": "Azure Lab",
    "id": 8751,
    "name": "Azure Lab discovery profile ",
    "schedule": {
      "pattern": "30",
      "patternType": "MINUTES",
      "startTime": "00:30:00"
    }
  }
]
[
  {
    "credential": {
      "accountId": "GCE-integration",
      "credentialName": "Google Credentials"
    },
    "credentialSet": "Google Credentials",
    "id": 419,
    "installedIntegrationId": "INTG-7bce592f-1343-54b7-4578-be47080aae54",
    "name": "Google Integration",
    "policy": {
      "actions": [
        {
          "action": "MANAGE DEVICE",
          "items": []
        }
      ],
      "id": 822,
      "matchType": "ANY",
      "name": "GOOGLE",
      "resourceType": "ALL",
      "rules": [
        {
          "filterType": "ANY_CLOUD_RESOURCE",
          "id": 26836
        }
      ]
    },
    "schedule": {
      "pattern": "30",
      "patternType": "MINUTES",
      "startTime": "00:30:00"
    }
  }
]