All Products
Search
Document Center

Security Center:DescribeGroupedVul

Last Updated:Nov 25, 2024

Queries vulnerabilities by group.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
yundun-sas:DescribeGroupedVulget
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
LangstringNo

The language of the content within the request and response. Default value: zh. Valid values:

  • zh: Chinese
  • en: English
zh
TypestringNo

The type of the vulnerability that you want to query. Default value: cve. Valid values:

  • cve: Linux software vulnerability
  • sys: Windows system vulnerability
  • cms: Web-CMS vulnerability
  • app: application vulnerability that is detected by network scanning
  • sca: application vulnerability that is detected by software component analysis
cve
UuidsstringNo

The UUID of the server. Separate multiple UUIDs with commas (,).

d42f938c-d962-48a0-90f9-05e4ea****
AliasNamestringNo

The alias of the vulnerability.

RHSA-2019:0230-Important: polkit security update
NecessitystringNo

The priorities to fix the vulnerabilities. Separate multiple priorities with commas (,). Valid values:

  • asap: high
  • later: medium
  • nntf: low
asap,later,nntf
DealedstringNo

Specifies whether the vulnerability is handled. Valid values:

  • y: handled
  • n: not handled
n
CurrentPageintegerNo

The number of the page to return. Default value: 1.

1
PageSizeintegerNo

The number of entries per page. Default value: 10.

20
GroupIdstringNo

The ID of the asset group.

235454
ContainerFieldNamestringNo

The key of the condition that is used to query containers. Valid values:

  • instanceId: the ID of the asset
  • appName: the name of the application
  • clusterId: the ID of the cluster
  • regionId: the ID of the region
  • nodeName: the name of the node
  • namespace: the namespace
  • clusterName: the name of the cluster
  • image: the name of the image
  • imageRepoName: the name of the image repository
  • imageRepoNamespace: the namespace to which the image repository belongs
  • imageRepoTag: the tag that is added to the image
  • imageDigest: the digest of the image
appName
TargetTypestringNo

The query type for containers. Valid values:

  • containerId: the ID of the container
  • uuid: the ID of the asset
containerId
SearchTagsstringNo

The tag that is used to search for the vulnerability. Valid values:

  • Restart required
  • Remote utilization
  • EXP exists
  • Available
  • Elevation of Privilege
  • Code Execution
Code Execution
AttachTypesstringNo

The type of the vulnerability. This parameter is valid only for application vulnerabilities. Separate multiple values with commas (,). Valid values:

  • sca: vulnerability that is detected based on software component analysis
  • app: application vulnerability
sca
AssetTypestringNo

The type of the asset on which the vulnerability is detected. Separate multiple types with commas (,). Valid values:

  • ECS: Elastic Compute Service (ECS) instance
  • CONTAINER: container
ECS,CONTAINER
ResourceDirectoryAccountIdlongNo

The Alibaba Cloud account ID of the member in the resource directory.

Note You can call the DescribeMonitorAccounts operation to query the account ID.
127608589417****

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

CurrentPageinteger

The page number.

1
RequestIdstring

The ID of the request, which is used to locate and troubleshoot issues.

9BFA6D78-07EA-5C0A-9358-E4434573507B
PageSizeinteger

The number of entries per page. Default value: 10.

20
TotalCountinteger

The total number of entries returned.

1
GroupedVulItemsarray<object>

The information about the vulnerability.

GroupedVulItemobject
Typestring

The type of the vulnerability. Valid values:

  • cve: Linux software vulnerability
  • sys: Windows system vulnerability
  • cms: Web-CMS vulnerability
  • app: application vulnerability
  • emg: urgent vulnerability
  • sca: vulnerability that is detected by software component analysis
cve
NntfCountinteger

The number of vulnerabilities that have the low priority.

59
RaspDefendinteger

Indicates whether the application protection feature is supported. Valid values:

  • 0: not supported
  • 1: supported
Note If this parameter is not returned, the application protection feature is not supported.
1
HandledCountinteger

The number of handled vulnerabilities.

0
GmtLastlong

The timestamp when the vulnerability was last detected. Unit: milliseconds.

1639371446000
Tagsstring

The tag of the vulnerability. Valid values:

  • Restart required
  • Remote utilization
  • EXP exists
  • Available
  • Elevation of Privilege
  • Code Execution
Code Execution
LaterCountinteger

The number of vulnerabilities that have the medium priority.

0
AliasNamestring

The alias of the vulnerability.

RHSA-2017:0184-Important: mysql security update
Namestring

The name of the vulnerability.

oval:com.redhat.rhsa:def:20170184
TotalFixCountlong

The total number of fixed vulnerabilities.

0
AsapCountinteger

The number of vulnerabilities that have the high priority.

0
Relatedstring

The IDs of the common vulnerabilities and exposures (CVEs) that are related to the vulnerability.

CVE-2023-24881,CVE-2023-24898

Examples

Sample success responses

JSONformat

{
  "CurrentPage": 1,
  "RequestId": "9BFA6D78-07EA-5C0A-9358-E4434573507B",
  "PageSize": 20,
  "TotalCount": 1,
  "GroupedVulItems": [
    {
      "Type": "cve",
      "NntfCount": 59,
      "RaspDefend": 1,
      "HandledCount": 0,
      "GmtLast": 1639371446000,
      "Tags": "Code Execution",
      "LaterCount": 0,
      "AliasName": "RHSA-2017:0184-Important: mysql security update",
      "Name": "oval:com.redhat.rhsa:def:20170184",
      "TotalFixCount": 0,
      "AsapCount": 0,
      "Related": "CVE-2023-24881,CVE-2023-24898"
    }
  ]
}

Error codes

HTTP status codeError codeError messageDescription
400NoPermissionno permission-
400RdCheckNoPermissionResource directory account verification has no permission.-
403NoPermissioncaller has no permissionYou are not authorized to do this operation.
500ServerErrorServerError-
500RdCheckInnerErrorResource directory account service internal error.-

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2023-07-20The Error code has changed. The request parameters of the API has changedView Change Details
2023-05-30The Error code has changed. The response structure of the API has changedView Change Details
2023-03-21The Error code has changed. The response structure of the API has changedView Change Details