SecurityReport

SecurityReport saves all the information about the created security report.

JSON representation
{"self":string,"state":string,"created":string,"updated":string,"result":{object (ResultMetadata)},"resultRows":string,"resultFileSize":string,"executionTime":string,"error":string,"queryParams":{object (SecurityReportMetadata)},"reportDefinitionId":string,"displayName":string,"envgroupHostname":string}
Fields
self

string

Self link of the query.

Example:/organizations/myorg/environments/myenv/securityReports/9cfc0d85-0f30-46d6-ae6f-318d0cb961bd or following format if query is running at host level:/organizations/myorg/hostSecurityReports/9cfc0d85-0f30-46d6-ae6f-318d0cb961bd

state

string

Query state could be "enqueued", "running", "completed", "expired" and "failed".

created

string

Creation time of the query.

updated

string

Output only. Last updated timestamp for the query.

result

object (ResultMetadata)

Result is available only after the query is completed.

resultRows

string (Int64Value format)

ResultRows is available only after the query is completed.

resultFileSize

string

ResultFileSize is available only after the query is completed.

executionTime

string

ExecutionTime is available only after the query is completed.

error

string

Error is set when query fails.

queryParams

object (SecurityReportMetadata)

Contains information like metrics, dimenstions etc of the Security Report.

reportDefinitionId

string

Report Definition ID.

displayName

string

Display Name specified by the user.

envgroupHostname

string

Hostname is available only when query is executed at host level.

ResultMetadata

Contains informations about the security report results.

JSON representation
{"self":string,"expires":string}
Fields
self

string

Self link of the query results.

Example:/organizations/myorg/environments/myenv/securityReports/9cfc0d85-0f30-46d6-ae6f-318d0cb961bd/result or following format if query is running at host level:/organizations/myorg/hostSecurityReports/9cfc0d85-0f30-46d6-ae6f-318d0cb961bd/result

expires

string

Output only. Expire_time is set to 7 days after report creation. Query result will be unaccessable after this time.

Example: "2021-05-04T13:38:52-07:00"

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-02-19 UTC.