DescribeOutgoingDomain

Updated at:

Queries the domain name information for outbound connections.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

yundun-cloudfirewall:DescribeOutgoingDomain

get

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

Lang

string

No

The language of the request message. Valid values:

  • zh (default): Chinese.

  • en: English.

zh

StartTime

string

Yes

Specifies the start time of the query. The value is a UNIX timestamp in seconds.

1656664560

EndTime

string

Yes

Specifies the end time of the query. The value is a UNIX timestamp in seconds.

1656750960

PageSize

string

No

Settings for the number of entries to return on each page for a paging query. Default value: 6. Maximum value: 100. If the specified value exceeds 100, the value 100 is used.

10

CurrentPage

string

No

Settings for the page number to return for a paging query. Default value: 1.

1

CategoryId

string

No

The product category. Default value: empty. Valid values:

  • All: All categories.

  • RiskDomain: Risky domain names.

  • RiskIP: Risky IP addresses.

  • AliYun: Alibaba Cloud services.

  • NotAliYun: Non-Alibaba Cloud services.

All

Domain

string

No

The domain name for outbound connections.

www.aliyundoc.com

PublicIP

string

No

The public IP address of the ECS instance that initiates the outbound connection.

192.0.XX.XX

Sort

string

No

Specifies the field by which to sort the query results. Valid values:

  • SessionCount (default): Number of requests.

  • TotalBytes: Total traffic volume.

SessionCount

Order

string

No

Specifies the sort order. Valid values:

  • asc: Ascending order.

  • desc (default): Descending order.

desc

TagIdNew

string

No

The ID of the intelligence label. Valid values:

  • AliYun: Alibaba Cloud services.

  • RiskDomain: Risky domain names.

  • RiskIP: Risky IP addresses.

  • TrustedDomain: Trusted websites.

  • AliPay: Alipay.

  • DingDing: DingTalk.

  • WeChat: WeChat.

  • QQ: Tencent QQ.

  • SecurityService: Security services.

  • Microsoft: Microsoft.

  • Amazon: Amazon.

  • Pan: Cloud storage.

  • Map: Maps.

  • Code: Code hosting.

  • SystemService: System services.

  • Taobao: Taobao.

  • Google: Google.

  • ThirdPartyService: Third-party platform services.

  • FirstFlow: First visit.

  • Downloader: Malicious downloads.

  • Alexa Top1M: Popular websites.

  • Miner: Miner pools.

  • Intelligence: Threat intelligence.

  • DDoS: DDoS trojans.

  • Ransomware: Ransomware.

  • Spyware: Spyware.

  • Rogue: Rogue software.

  • Botnet: Botnets.

  • Suspicious: Suspicious websites.

  • C&C: Remote control.

  • Gang: Gangs.

  • CVE: CVE vulnerabilities.

  • Backdoor: Backdoor trojans.

  • Phishing: Phishing websites.

  • APT: APT attacks.

  • Supply Chain Attack: Supply chain attacks.

  • Malicious software: Malware.

AliYun

DataType

string

No

The source of the traffic statistics. Default value: internet. Valid values:

  • internet: Internet firewall.

  • nat: NAT firewall.

nat

IsAITraffic

string

No

Specifies whether to collect statistics only on traffic that accesses AI services. Default value: false. Valid values:

  • true: Yes.

  • false: No.

true

Response elements

Element

Type

Description

Example

object

TotalCount

integer

The total number of outbound domain names.

132

RequestId

string

The ID of the request.

F0F82705-CFC7-5F83-86C8-A063892F****

DomainList

array<object>

The list of outbound domain names.

array<object>

The list of outbound domain names.

AclCoverage

string

Indicates whether the domain name is covered by an access control policy. Valid values:

  • Uncovered: Not covered.

  • FullCoverage: Covered.

Uncovered

Domain

string

The domain name for outbound connections.

www.aliyundoc.com

AclRecommendDetail

string

The details of the ACL recommendation.

RecommendedRelease

HasAclRecommend

boolean

Indicates whether an ACL is recommended. Valid values:

  • true: Yes.

  • false: No.

true

InBytes

integer

The inbound traffic.

3214

CategoryName

string

The category name of the product. Valid values:

  • Alibaba Cloud product

  • Non-Alibaba Cloud product

Alibaba Cloud product

RuleName

string

The name of the ACL rule.

acl-name

RuleId

string

The ID of the ACL rule.

add-dfadf-f****

SessionCount

integer

The number of requests.

12

GroupName

string

The name of the group in the rule.

group-name

SecuritySuggest

string

The security policy for outbound domains. Valid values:

  • pass: Allow.

  • alert: Monitor.

  • drop: Deny.

pass

OutBytes

integer

The outbound traffic.

4582

AclStatus

string

The health status of the access control policy. Valid values:

  • Normal: Healthy.

  • Abnormal: Unhealthy.

Normal

IsMarkNormal

boolean

Indicates whether the outbound domain name is marked as normal. Valid values:

  • true: Normal.

  • false: Abnormal.

true

CategoryId

string

The category ID of the product. Valid values:

  • Aliyun: Alibaba Cloud product.

  • NotAliyun: Non-Alibaba Cloud product.

Aliyun

AddressGroupUUID

string

The UUID of the address book.

fdad-fdafa-dafa-dfa****

AddressGroupName

string

The name of the address book.

Outreach Address Book

CategoryClassId

string

The category of the intelligence label. Valid values:

  • Suspicious: Suspicious.

  • Malicious: Malicious.

  • Trusted: Trusted.

Trusted

Business

string

The website service.

Aliyun

HasAcl

string

Indicates whether an ACL covers the management of this domain name. Valid values:

  • true: Yes.

  • false: No.

true

Organization

string

The name of the organization.

Alibaba Cloud Computing Limited

SecurityReason

string

The security reason.

Smart policy: The target domain name belongs to Aliyun Computing Co., Ltd., and its main business is Aliyun. No security risks have been found. It can be used to configure an outreach whitelist.

TotalBytes

string

The total traffic. Unit: bytes.

800

TagList

array<object>

The list of tags.

object

The tag object.

RiskLevel

integer

The risk assessment level. Valid values:

  • 1: Low risk.

  • 2: Medium risk.

  • 3: High risk.

3

TagName

string

The name of the tag.

tag-name

TagId

string

The ID of the intelligence label.

AliYun

TagDescribe

string

The description of the tag.

tag-describe

ClassId

string

The category of the intelligence label. Valid values:

  • Suspicious: Suspicious.

  • Malicious: Malicious.

  • Trusted: Trusted.

Trusted

ApplicationNameList

array

The application names.

string

The list of application names.

HTTP

AssetCount

integer

The total number of assets that initiate outbound connections.

20

PrivateAssetCount

integer

The total number of private network assets that initiate outbound connections.

20

ApplicationPortList

array<object>

The list of application ports.

Note

The list displays only the first 99 application ports. If there are more than 99 ports, only the first 99 are returned.

object

Port

integer

The application port number.

443

ApplicationName

string

The application names.

HTTP

Examples

Success response

JSON format

{
  "TotalCount": 132,
  "RequestId": "F0F82705-CFC7-5F83-86C8-A063892F****",
  "DomainList": [
    {
      "AclCoverage": "Uncovered",
      "Domain": "www.aliyundoc.com",
      "AclRecommendDetail": "RecommendedRelease",
      "HasAclRecommend": true,
      "InBytes": 3214,
      "CategoryName": "Alibaba Cloud Product",
      "RuleName": "acl-name",
      "RuleId": "add-dfadf-f****",
      "SessionCount": 12,
      "GroupName": "group-name",
      "SecuritySuggest": "pass",
      "OutBytes": 4582,
      "AclStatus": "Normal",
      "IsMarkNormal": true,
      "CategoryId": "Aliyun",
      "AddressGroupUUID": "fdad-fdafa-dafa-dfa****",
      "AddressGroupName": "Outreach Address Book",
      "CategoryClassId": "Trusted",
      "Business": "Aliyun",
      "HasAcl": "true",
      "Organization": "Alibaba Cloud Computing Limited\n",
      "SecurityReason": "Smart policy: The target domain name belongs to Aliyun Computing Co., Ltd., and its main business is Aliyun. No security risks have been found. It can be used to configure an outreach whitelist.",
      "TotalBytes": "800",
      "TagList": [
        {
          "RiskLevel": 3,
          "TagName": "tag-name",
          "TagId": "AliYun",
          "TagDescribe": "tag-describe",
          "ClassId": "Trusted"
        }
      ],
      "ApplicationNameList": [
        "HTTP"
      ],
      "AssetCount": 20,
      "PrivateAssetCount": 20,
      "ApplicationPortList": [
        {
          "Port": 443,
          "ApplicationName": "HTTP"
        }
      ]
    }
  ]
}

Error codes

HTTP status code

Error code

Error message

Description

400 ErrorAliUid Aliuid invalid. The aliuid is invalid.
400 ErrorTimeError The time is invalid. The time is invalid.
400 ErrorDBSelectError A database select error occurred. The error message returned because an internal error has occurred in querying the database.
400 ErrorIntervalError The interval is invalid. The interval is invalid.
400 ErrorIpFormat The IP address is invalid. The IP address is invalid.
400 ErrorSecuritySuggest The security suggest is invalid. The security suggest is invalid.
400 ErrorSortError The sort is invalid. The sort is invalid.
400 ErrorOrderFailed The order is invalid. The order is invalid.
400 ErrorPageNo Either page number or page size is invalid. Either page number or page size is invalid.
400 ErrorDomainName The domain name is invalid. The domain name is invalid.
400 ErrorDataTypeError The data type is invalid. The data type is invalid.
400 ErrorMarshalJSON internal error. Internal error.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.