Security Command Center API . organizations . simulations . valuedResources . attackPaths

Instance Methods

close()

Close httplib2 connections.

list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)

list_next()

Retrieves the next page of results.

Method Details

close()
Close httplib2 connections.
list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)

Args:
  parent: string, A parameter (required)
  filter: string, A parameter
  pageSize: integer, A parameter
  pageToken: string, A parameter
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    {
  "attackPaths": [
    {
      "edges": [
        {
          "destination": "A String",
          "source": "A String",
        },
      ],
      "name": "A String",
      "pathNodes": [
        {
          "associatedFindings": [
            {
              "canonicalFinding": "A String",
              "findingCategory": "A String",
              "name": "A String",
            },
          ],
          "attackSteps": [
            {
              "description": "A String",
              "displayName": "A String",
              "labels": {
                "a_key": "A String",
              },
              "type": "A String",
              "uuid": "A String",
            },
          ],
          "displayName": "A String",
          "resource": "A String",
          "resourceType": "A String",
          "uuid": "A String",
        },
      ],
    },
  ],
  "nextPageToken": "A String",
}
list_next()
Retrieves the next page of results.

        Args:
          previous_request: The request for the previous page. (required)
          previous_response: The response from the request for the previous page. (required)

        Returns:
          A request object that you can call 'execute()' on to request the next
          page. Returns None if there are no more items in the collection.