Skip to main content

DescribeTargetConfig

Description

obtain vulnerability scanning configuration information of the specified host asset.

Request Method

POST

Request Path

/apsara/route/aegis/DescribeTargetConfig

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
TypeBODYstringNoNo sample value for this parameter.vulnerability classification.
UuidBODYstringNoNo sample value for this parameter.host asset UUID.
regionIdBODYstringYesNo sample value for this parameter.region id
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
TotalCountintegerno demo valuereturns the total number of records.
Typestringno demo valuevulnerability classification.
TargetConfigsarrayno demo valuevulnerability detection configuration list. see the following parameter description for specific sub-items.
RequestIdstringno demo valuerequest ID.
Configstringno demo valuevulnerability scanning configuration information, on or off.
OverAllConfigstringno demo valueglobal vulnerability scan configuration information, on or off. description the global vulnerability scanning configuration overwrites the vulnerability scanning configuration of a single host.

Example

Successful Response example

{
"TotalCount":"no demo value",
"Type":"no demo value",
"TargetConfigs":"no demo value",
"RequestId":"no demo value",
"Config":"no demo value",
"OverAllConfig":"no demo value"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}