All Products
Search
Document Center

Security Center:ListInterceptionTargetPage

Last Updated:Nov 13, 2024

Queries the network objects that are protected by the container firewall feature.

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:ListInterceptionTargetPageget
  • All Resources
    *
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
TargetNamestringNo

The name of the network object.

source-test-obj-0****
TargetTypestringNo

The type of the network object. Valid values:

  • IMAGE
IMAGE
NamespacestringNo

The namespace to which the network object belongs.

default
AppNamestringNo

The name of the application to which the network object belongs.

frontend
CurrentPageintegerNo

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

1
PageSizeintegerNo

The number of entries to return on each page. Default value: 20. If you leave this parameter empty, 20 entries are returned on each page.

Note We recommend that you do not leave this parameter empty.
20
ImageListarrayNo

The images of the network object.

stringNo

The information about the image.

jenkins-master:2.277
TagListarrayNo

The labels specified for the network object.

stringNo

The information about the label.

app.kubernetes.io/instance:cas0-oms

Response parameters

ParameterTypeDescriptionExample
object

The data returned.

RequestIdstring

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

028CF634-5268-5660-9575-48C9ED6B****
PageInfoobject

The pagination information.

CurrentPageinteger

The page number of the returned page.

1
PageSizeinteger

The number of entries returned per page.

20
TotalCountinteger

The total number of entries returned.

45
RuleTargetListarray<object>

An array that consists of the network objects.

RuleTargetobject

The network objects.

AppNamestring

The name of the application of the network object.

frontend
ImageListarray

The images of the network object.

imageListstring

The information about the image.

alpine:3.9.6
TagListarray

The tags specified for the network object.

tagListstring

The information about the tag.

chart:ack-arms-prometheus-1.1.0
TargetIdlong

The ID of the network object.

Note You can call the ListInterceptionTargetPage operation to query the IDs of network objects.
400914
TargetNamestring

The name of the network object.

destination-test-obj-Na3cF
Namespacestring

The namespace to which the network object belongs.

default
TargetTypestring

The type of the network object. Valid value:

  • IMAGE
IMAGE
ClusterIdstring

The ID of the container cluster.

c3e2eae03eb064d2ebf940cd5e1b17****
ClusterNamestring

The name of the container cluster.

sas-test-cnnf
RuleTypestring

The type of the rule. Valid value:

  • customize: custom rule
customize

Examples

Sample success responses

JSONformat

{
  "RequestId": "028CF634-5268-5660-9575-48C9ED6B****",
  "PageInfo": {
    "CurrentPage": 1,
    "PageSize": 20,
    "TotalCount": 45
  },
  "RuleTargetList": [
    {
      "AppName": "frontend",
      "ImageList": [
        "alpine:3.9.6"
      ],
      "TagList": [
        "chart:ack-arms-prometheus-1.1.0"
      ],
      "TargetId": 400914,
      "TargetName": "destination-test-obj-Na3cF",
      "Namespace": "default",
      "TargetType": "IMAGE",
      "ClusterId": "c3e2eae03eb064d2ebf940cd5e1b17****",
      "ClusterName": "sas-test-cnnf\n",
      "RuleType": "customize"
    }
  ]
}

Error codes

HTTP status codeError codeError messageDescription
403NoPermissioncaller has no permissionYou are not authorized to do this operation.
500ServerErrorServerError-

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

Change history

Change timeSummary of changesOperation
No change history