Queries the attack surface statistics of organizations.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes ListOrgAttackSurfaceFacets

The operation that you want to perform. Set the value to ListOrgAttackSurfaceFacets.

OrgId Integer No 1

The ID of the organization.

Response parameters

Parameter Type Example Description
DNSMap Struct

The DNS records.

New Integer 1

The number of added records.

Total Integer 1

The total number of records.

Domains Struct

The root domains.

New Integer 1

The number of added records.

Total Integer 1

The total number of records.

Hosts Struct

The hosts.

New Integer 1

The number of added records.

Total Integer 1

The total number of records.

Ports Struct

The ports.

New Integer 1

The number of added records.

Total Integer 1

The total number of records.

RequestId String 20E9A617-74A9-48A6-88C1-8246EAE1F4F9

The ID of the request.

Subdomains Struct

The subdomains.

New Integer 1

The number of added records.

Total Integer 1

The total number of records.

WebPaths Struct

The web file paths.

New Integer 1

The number of added records.

Total Integer 1

The total number of records.

WebTechs Struct

The web applications.

New Integer 1

The number of added records.

Total Integer 1

The total number of records.

Examples

Sample requests

http(s)://[Endpoint]/?Action=ListOrgAttackSurfaceFacets
&<Common request parameters>

Sample success responses

XML format

<ListOrgAttackSurfaceFacetsResponse>
   <code>200</code>
   <data>
        <Domains>
              <New>0</New>
              <Total>0</Total>
        </Domains>
        <Hosts>
              <New>1</New>
              <Total>1</Total>
        </Hosts>
        <WebPaths>
              <New>34</New>
              <Total>34</Total>
        </WebPaths>
        <DNSMap>
              <New>1</New>
              <Total>1</Total>
        </DNSMap>
        <Ports>
              <New>12</New>
              <Total>12</Total>
        </Ports>
        <WebTechs>
              <New>6</New>
              <Total>6</Total>
        </WebTechs>
        <Subdomains>
              <New>1</New>
              <Total>1</Total>
        </Subdomains>
   </data>
   <requestId>20E9A617-74A9-48A6-88C1-8246EAE1F4F9</requestId>
   <success>true</success>
</ListOrgAttackSurfaceFacetsResponse>

JSON format

{
    "code": 200,
    "data": {
        "Domains": {
            "New": 0,
            "Total": 0
        },
        "Hosts": {
            "New": 1,
            "Total": 1
        },
        "WebPaths": {
            "New": 34,
            "Total": 34
        },
        "DNSMap": {
            "New": 1,
            "Total": 1
        },
        "Ports": {
            "New": 12,
            "Total": 12
        },
        "WebTechs": {
            "New": 6,
            "Total": 6
        },
        "Subdomains": {
            "New": 1,
            "Total": 1
        }
    },
    "requestId": "20E9A617-74A9-48A6-88C1-8246EAE1F4F9",
    "success": true
}

Error codes

For a list of error codes, visit the API Error Center.