Returns configuration information about all discovery configurations
GET https://api-<BlueCat.edge.url>/v1/api/discoveryConfigs
Authorization: Bearer authorization token
Successful response
200 OK
Content-Type: application/JSON
[
{
"id": "12345678-ab12-3c4d-e5fa-593bb8bd604c",
"name": "BAM Discovery",
"pollingInterval": 300,
"domainListId": "012a3b4c-d1ef-4822-bcc0-85f484392116",
"created": 1717693615532,
"modified": 1717693615532,
"config": {
"environment": "bam",
"baseUrl": "http://192.168.1.130",
"certificate": null,
"onFailure": "ABANDON",
"viewConfigs": [
{
"configurationName": "BAM1",
"viewName": "Internal",
"onFailure": "CONTINUE"
}
],
"username": {
"type": "edge",
"secretId": "1231c095-4321-4d68-ada3-12e7d73f064b"
},
"password": {
"type": "edge",
"secretId": "1231c095-1234-4d68-ada3-34e7d73f064b"
}
},
"timeout": 1800
},
{
"id": "12345678-ab12-3c4d-e5fa-593bb8bd604c",
"name": "AWS Discovery",
"pollingInterval": 60,
"domainListId": "012a3b4c-d1ef-4822-bcc0-85f484392116",
"created": 1717693615532,
"modified": 1717693615532,
"config": {
"environment": "aws",
"generateReverse": false,
"regions": ["us-east-1"],
"onFailure": "ABANDON",
"discoverSecondaryOnly": false,
"accessKeyId": {
"type": "edge",
"secretId": "ab1c2d34-5678-901e-1234-fab5c6d7e8f9"
},
"secretAccessKey": {
"type": "edge",
"secretId": "ab9c8d76-5432-109a-8521-1bb5c6d7e8f9"
},
"sessionToken": {
"type": "edge",
"secretId": "1231c095-4321-4d68-ada3-12e7d73f064b"
}
},
"timeout": 90
},
{
"id": "46b2afdd-f735-421a-b489-6f7b1f35dd7d",
"name": "Azure Discovery",
"pollingInterval": 60,
"domainListId": "012a3b4c-d1ef-4822-bcc0-012a3b4c9876",
"created": 1717693615532,
"modified": 1717693615532,
"config": {
"environment": "azure",
"generateReverse": true,
"cloudType": "AzureCloud",
"onFailure": "ABANDON",
"tenantConfigs": [
{
"tenantId": "91d9e73b-c5ce-4f92-a419-5d421e8fef25",
"clientId": {
"type": "edge",
"secretId": "12345678-ab12-3c4d-e5fa-593aa8aa604a"
},
"clientSecret": {
"type": "edge",
"secretId": "98765432-cd98-3c4d-a0aa-593aa8aa604a"
}
}
],
},
"timeout": 18000
},
{
"id": "12345678-f735-421a-b489-789456123789",
"name": "GCP Discovery",
"pollingInterval": 60,
"domainListId": "98756423-d1ef-4822-bcc0-012a3b4c9876",
"created": 1717693615532,
"modified": 1717693615532,
"config": {
"environment": "gcp",
"generateReverse": true,
"onFailure": "ABANDON",
"projectConfigs": [
{
"projectId": "testProject"
},
],
"accountFile": [
"type": "vault",
"field": "key"
]
},
"vaultConfig": {
"baseUrl": "https://example-vault.com:1234",
"secretPath": "/secret/path",
"version": "3",
"roleId": "12345678-abcd-efab-1234-a1b2c3d4e5f6",
"secretId": "98765432-fedc-bafe-987-a1b2c3d4e5f6"
},
"timeout": 18000
},
...
]
Note: The
created
and modified
fields
are represented in milliseconds since the Unix Epoch.Possible error codes:
- INTERNAL SERVER ERROR - Unexpected error