Skip to main content

DescribeVulList

Description

Call the DescribeVulList interface to query vulnerability information, that is, query the corresponding vulnerability information according to the vulnerability type.

Request Method

POST

Request Path

/apsara/route/aegis/DescribeVulList

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
TypeBODYstringYescvevulnerability type. Valid values include: cve:Linux software vulnerability sys:Windows system vulnerability cms:Web-CMS vulnerability app: application vulnerability emg: emergency vulnerability
PageSizeBODYintegerNo20The maximum number of pieces of data displayed per page when missing a paged query. The default value is 20.
CurrentPageBODYintegerNo1the page number of the current page displayed when paging query. The starting value is 1 and the default value is 1.
regionIdBODYstringYesNo sample value for this parameter.region id
AliasNameBODYstringNoRHSA-2019:0230-Important: polkit security updatevulnerability alias.
NecessityBODYstringNoasap,later,nntfvulnerability repair necessity level. Multiple levels are separated by English commas. Valid values include: asap: high later: medium nntf: low
LangBODYstringNozhthe language type of the request and receive message. Valid values include: zh: Chinese en: English
UuidsBODYstringNo1587bedb-fdb4-48c4-9330-************unique ID list of asset instances, multiple IDs separated by English commas.
DealedBODYstringNonwhether the vulnerability has been processed. Valid values include: y: processed n: Unprocessed
versionBODYstringNo2016-01-01version of api
RemarkBODYstringNo1.2.3.4query mark, which can be the asset intranet IP, extranet IP or asset name.

Return data

NameTypeSample valueDescription
Total_scorestringNo sample value for this parameter.total score of vulnerability impact. According to the vulnerability score, the following repair suggestions are provided: need to be fixed as soon as possible: the vulnerability fix urgency score is between 13.5~15 (usually high-risk vulnerabilities). can be repaired later: the vulnerability fix urgency score is between 7.1~13.5 (usually medium-risk vulnerabilities). can not be fixed for the time being: the vulnerability fix urgency score is 7 below (usually low-risk vulnerabilities).
PageSizeintegerNo sample value for this parameter.The maximum number of pieces of data displayed per page when querying by page.
Cvss_factorstringNo sample value for this parameter.CVSS factor.
Time_factorstringNo sample value for this parameter.time factor.
IpstringNo sample value for this parameter.the public IP address of the assets associated with the vulnerability.
OsVersionstringNo sample value for this parameter.operating system version.
cveListlistNo sample value for this parameter.vulnerability announcement list.
Enviroment_factorstringNo sample value for this parameter.environment factor.
FullVersionstringNo sample value for this parameter.full version number.
IntranetIpstringNo sample value for this parameter.asset intranet IP.
NamestringNo sample value for this parameter.vulnerability name.
RepairTslongNo sample value for this parameter.repair time, timestamp.
UpdateCmdstringNo sample value for this parameter.fix command.
ModifyTslongNo sample value for this parameter.modify time, timestamp.
InternetIpstringNo sample value for this parameter.asset external network IP.
VersionstringNo sample value for this parameter.version number.
AliasNamestringNo sample value for this parameter.vulnerability alias.
OsReleasestringNo sample value for this parameter.operating system description.
ExtendContentJsonstructNo sample value for this parameter.extended information.
MatchDetailstringNo sample value for this parameter.vulnerability hit details.
Assets_factorstringNo sample value for this parameter.asset factor.
StatusintegerNo sample value for this parameter.vulnerability status. Valid values include: 1: not fixed 2: repair failed 3: rollback failed 4: repairing 5: rollback 6: verification 7: repair succeeded 8: the repair was successful to be restarted 9: rollback successful 10: ignored 11: rollback successfully pending restart 12: the vulnerability does not exist 20: expired
PathstringNo sample value for this parameter.the path of the software with the vulnerability.
RequestIdstringNo sample value for this parameter.the unique identifier generated by alibaba cloud for this request.
VulRecordsarrayNo sample value for this parameter.vulnerability information.
OSstringNo sample value for this parameter.operating system.
InstanceIdstringNo sample value for this parameter.asset instance ID.
Is_calcstringNo sample value for this parameter.Whether the score has been calculated. Value: 0: not calculated 1: Calculated
LastTslongNo sample value for this parameter.Last discovery time, timestamp.
NecessitystringNo sample value for this parameter.vulnerability repair necessity level. Valid values include: asap: high later: medium nntf: low description it is recommended that you fix the vulnerability with necessity level high as soon as possible.
RpmEntityListarrayNo sample value for this parameter.RPM package list.
AbsolutePathstringNo sample value for this parameter.affects the path of the package.
ResultMessagestringNo sample value for this parameter.fix the return message.
GroupIdintegerNo sample value for this parameter.asset group ID.
InstanceNamestringNo sample value for this parameter.asset instance name.
TotalCountintegerNo sample value for this parameter.the total number of query results.
Gmt_createstringNo sample value for this parameter.creation time.
FirstTslongNo sample value for this parameter.the number of milliseconds of the first discovery time.
TypestringNo sample value for this parameter.vulnerability type. Valid values include: cve:Linux vulnerability sys:Windows vulnerability cms:WebCMS vulnerability emg: emergency vulnerability app: application vulnerability
RelatedstringNo sample value for this parameter.vulnerability association CVE list, with multiple values separated by English commas (,).
UuidstringNo sample value for this parameter.unique identification ID of the asset instance.
CurrentPageintegerNo sample value for this parameter.the page number of the current page displayed during paging query.
TagstringNo sample value for this parameter.vulnerability tag.
OnlinebooleanNo sample value for this parameter.Whether the asset instance is online. Valid values include: true: online false: offline
PrimaryIdlongNo sample value for this parameter.vulnerability ID.
ResultCodestringNo sample value for this parameter.fix the return code.

Example

Successful Response example

"The successful response sample is not recognizable. Please modify API definition in API gateway before re-create the API document."

Failed Response example

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

}

title: DescribeVulWhitelist

DescribeVulWhitelist

Description

call DescribeVulWhitelist interface paging query vulnerability whitelist.

Request Method

POST

Request Path

/apsara/route/aegis/DescribeVulWhitelist

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
PageSizeBODYintegerNo10When paging query, the number of data is displayed on each page. The default value is 20.
CurrentPageBODYintegerNo1page number when paging query. The starting value is 1 and the default value is 1.
regionIdBODYstringYesNo sample value for this parameter.region id
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
TotalCountinteger1total data.
Typestringcvevulnerability type.
PageSizeinteger10when paging query, the current page displays the number of data.
RequestIdstring74F97EF7-B543-43FD-A4E9-18456731F9C5request ID of the result.
VulWhitelistsarrayNo sample value for this parameter.vulnerability whitelist information.
CurrentPageinteger1page number of the current page when paging query.
AliasNamestringRHSA-2017:3263: curl security updatevulnerability alias.
ReasonstringNo repair yetwhiten the reason.
Namestringoval:com.redhat.rhsa:def:20173263vulnerability name.

Example

Successful Response example

{
"TotalCount":"1",
"Type":"cve",
"PageSize":"10",
"RequestId":"74F97EF7-B543-43FD-A4E9-18456731F9C5",
"VulWhitelists":"",
"CurrentPage":"1",
"AliasName":"RHSA-2017:3263: curl security update",
"Reason":"No repair yet",
"Name":"oval:com.redhat.rhsa:def:20173263"
}

Failed Response example

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

}

title: DescribeWarningMachines

DescribeWarningMachines

Description

call the DescribeWarningMachines interface to query the information of the server that performed the baseline check, including the server ID, detected risk item statistics, risk item status and other information.

Request Method

POST

Request Path

/apsara/route/Sas/DescribeWarningMachines

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
RiskIdBODYlongYes1risk item ID. description queries the information of the server that has performed the baseline check. you need to provide the risk item ID of the baseline check, which can be obtained by the DescribeCheckWarningSummary interface.
SourceIpBODYstringNo1.2.3.4access source IP address.
MachineNameBODYstringNobaseline test serverthe name of the server performing the baseline check.
PageSizeBODYintegerNo10The maximum number of pieces of data per page displayed during a paged query.
CurrentPageBODYintegerNo1the page number of the current page displayed when paging query.
regionIdBODYstringYesNo sample value for this parameter.region id
StrategyIdBODYlongNo1ID of the baseline check policy.
LangBODYstringNozhthe language type of the request and receive message. Value: zh: Chinese en: English
UuidsBODYstringNoxxx-aaa-bbb-cccserver id that performs baseline check. Multiple IDs are separated by English commas (,).
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
Statusinteger1check the status of risk item verification after the baseline item repair is completed. Value: 1: completed 2: verification
PageSizeinteger10The maximum number of pieces of data displayed per page when querying by page.
RequestIdstring00BDE2-284A-4534-BD09-FB69836DD750the unique identifier generated by alibaba cloud for this request.
InstanceIdstringi-m5ee8b9nr3h30mhb****the instance ID of the server.
Countinteger10the number of data on the current page displayed when querying by paging.
IntranetIpstring1.2.3.5server intranet IP.
LowWarningCountinteger3the number of low-risk check items.
InstanceNamestringaaawebtestinstance name.
MediumWarningCountinteger2The number of dangerous check items.
TotalCountinteger100the total number of data.
Uuidstringxxx-aaa-bbb-cccID of the server performing the baseline check.
InternetIpstring1.2.3.4server external network IP.
CurrentPageinteger1the page number of the current page displayed during paging query.
WarningMachinesarrayNo sample value for this parameter.information about the server that generated the alarm.
HighWarningCountinteger10the number of high-risk check items.
RegionIdstringcn-qingdaothe region ID of the server.
PassCountinteger10the number of check items that passed the detection.

Example

Successful Response example

{
"Status":"1",
"PageSize":"10",
"RequestId":"00BDE2-284A-4534-BD09-FB69836DD750",
"InstanceId":"i-m5ee8b9nr3h30mhb****",
"Count":"10",
"IntranetIp":"1.2.3.5",
"LowWarningCount":"3",
"InstanceName":"aaawebtest",
"MediumWarningCount":"2",
"TotalCount":"100",
"Uuid":"xxx-aaa-bbb-ccc",
"InternetIp":"1.2.3.4",
"CurrentPage":"1",
"WarningMachines":"",
"HighWarningCount":"10",
"RegionId":"cn-qingdao",
"PassCount":"10"
}

Failed Response example

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

}