Close httplib2 connections.
Gets details of a single Finding.
list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)
Lists Findings in a given project and location.
list_next(previous_request, previous_response)
Retrieves the next page of results.
close()
Close httplib2 connections.
get(name, x__xgafv=None)
Gets details of a single Finding.
Args:
name: string, Required. The name of the Finding to retrieve. Format: `projects/{project}/locations/{location}/findings/{finding}`. (required)
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # Represents a security Finding.
"createTime": "A String", # Output only. Create time.
"detail": "A String", # Optional. Detailed description of the finding.
"files": [ # Optional. File associated with the finding.
{ # File location of the finding.
"lineNumber": "A String", # Optional. Line number (1-based), or 0 if whole File / unknown.
"path": "A String", # Optional. Relative path of the file containing the finding.
},
],
"findingClass": "A String", # Optional. Class of the finding.
"name": "A String", # Identifier. Resource name of the Finding. Format: `projects/{project}/locations/{location}/findings/{finding}`.
"resource": "A String", # Optional. The resource that the finding is associated with.
"severity": "A String", # Optional. Severity of the finding.
"uid": "A String", # Output only. Universally unique identifier (UUID4) for the Finding.
"updateTime": "A String", # Output only. Update time.
}
list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)
Lists Findings in a given project and location.
Args:
parent: string, Required. Parent value for ListFindingsRequest. Format: `projects/{project}/locations/{location}`. (required)
filter: string, Optional. Filtering results
orderBy: string, Optional. Hint for how to order the results
pageSize: integer, Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
pageToken: string, Optional. A token identifying a page of results the server should return.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # Message for response to listing Findings.
"findings": [ # The list of Findings.
{ # Represents a security Finding.
"createTime": "A String", # Output only. Create time.
"detail": "A String", # Optional. Detailed description of the finding.
"files": [ # Optional. File associated with the finding.
{ # File location of the finding.
"lineNumber": "A String", # Optional. Line number (1-based), or 0 if whole File / unknown.
"path": "A String", # Optional. Relative path of the file containing the finding.
},
],
"findingClass": "A String", # Optional. Class of the finding.
"name": "A String", # Identifier. Resource name of the Finding. Format: `projects/{project}/locations/{location}/findings/{finding}`.
"resource": "A String", # Optional. The resource that the finding is associated with.
"severity": "A String", # Optional. Severity of the finding.
"uid": "A String", # Output only. Universally unique identifier (UUID4) for the Finding.
"updateTime": "A String", # Output only. Update time.
},
],
"nextPageToken": "A String", # A token identifying a page of results the server should return.
}
list_next(previous_request, previous_response)
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.