Get an EASM Profile Discovery Status
This API helps you to know the discovery status of your EASM profile.
Input ParametersInput Parameters
Parameter |
Mandatory /Optional |
Data Type |
Description |
---|---|---|---|
profileName |
Optional |
Integer |
Provide the profile name to get the discovery status of an individual profile. Note that if you don’t provide the profile name, you get the discovery status of all profiles. |
Sample - Get Discovery Status of a Single EASM ProfileSample - Get Discovery Status of a Single EASM Profile
API Request
curl --location --request GET
'<qualys_base_url>/easm/v2/profile/status?profileName=NewProfile' \
--header 'accept: */*' \
--header 'Authorization: Bearer <Auth Token>'
Response
[
{
"profileName": "NewProfile",
"lastConfiguredOn": "2024-01-15 11:06:43",
"status": "Scheduled",
"nextScheduledSyncOn": null,
"discoveryStartedAt": null,
"discoveryFailedOn": null,
"lastDiscoveryCompletedOn": null
}
]
Sample - Get Discovery Status of All EASM ProfilesSample - Get Discovery Status of All EASM Profiles
API Request
curl --location --request GET '<qualys_base_url>/easm/v2/profile/status' \ --header 'accept: */*' \ --header 'Authorization: Bearer <Auth Token>'
Response
[
{
"profileName": "NewProfile",
"lastConfiguredOn": "2024-01-15 11:06:43",
"status": "Scheduled",
"nextScheduledSyncOn": null,
"discoveryStartedAt": null,
"discoveryFailedOn": null,
"lastDiscoveryCompletedOn": null
},
{
"profileName": "NewProfile1",
"lastConfiguredOn": "2024-01-15 11:17:02",
"status": "Scheduled",
"nextScheduledSyncOn": null,
"discoveryStartedAt": null,
"discoveryFailedOn": null,
"lastDiscoveryCompletedOn": null
}
]