Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.apigee/v1.getSecurityReport
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Get security report status If the query is still in progress, the state
is set to “running” After the query has completed successfully, state
is set to “completed”
Using getSecurityReport
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getSecurityReport(args: GetSecurityReportArgs, opts?: InvokeOptions): Promise<GetSecurityReportResult>
function getSecurityReportOutput(args: GetSecurityReportOutputArgs, opts?: InvokeOptions): Output<GetSecurityReportResult>
def get_security_report(environment_id: Optional[str] = None,
organization_id: Optional[str] = None,
security_report_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSecurityReportResult
def get_security_report_output(environment_id: Optional[pulumi.Input[str]] = None,
organization_id: Optional[pulumi.Input[str]] = None,
security_report_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSecurityReportResult]
func LookupSecurityReport(ctx *Context, args *LookupSecurityReportArgs, opts ...InvokeOption) (*LookupSecurityReportResult, error)
func LookupSecurityReportOutput(ctx *Context, args *LookupSecurityReportOutputArgs, opts ...InvokeOption) LookupSecurityReportResultOutput
> Note: This function is named LookupSecurityReport
in the Go SDK.
public static class GetSecurityReport
{
public static Task<GetSecurityReportResult> InvokeAsync(GetSecurityReportArgs args, InvokeOptions? opts = null)
public static Output<GetSecurityReportResult> Invoke(GetSecurityReportInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSecurityReportResult> getSecurityReport(GetSecurityReportArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:apigee/v1:getSecurityReport
arguments:
# arguments dictionary
The following arguments are supported:
- Environment
Id string - Organization
Id string - Security
Report stringId
- Environment
Id string - Organization
Id string - Security
Report stringId
- environment
Id String - organization
Id String - security
Report StringId
- environment
Id string - organization
Id string - security
Report stringId
- environment_
id str - organization_
id str - security_
report_ strid
- environment
Id String - organization
Id String - security
Report StringId
getSecurityReport Result
The following output properties are available:
- Created string
- Creation time of the query.
- Display
Name string - Display Name specified by the user.
- Envgroup
Hostname string - Hostname is available only when query is executed at host level.
- Error string
- Error is set when query fails.
- Execution
Time string - ExecutionTime is available only after the query is completed.
- Query
Params Pulumi.Google Native. Apigee. V1. Outputs. Google Cloud Apigee V1Security Report Metadata Response - Contains information like metrics, dimenstions etc of the Security Report.
- Report
Definition stringId - Report Definition ID.
- Result
Pulumi.
Google Native. Apigee. V1. Outputs. Google Cloud Apigee V1Security Report Result Metadata Response - Result is available only after the query is completed.
- Result
File stringSize - ResultFileSize is available only after the query is completed.
- Result
Rows string - ResultRows is available only after the query is completed.
- 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".
- Updated string
- Last updated timestamp for the query.
- Created string
- Creation time of the query.
- Display
Name string - Display Name specified by the user.
- Envgroup
Hostname string - Hostname is available only when query is executed at host level.
- Error string
- Error is set when query fails.
- Execution
Time string - ExecutionTime is available only after the query is completed.
- Query
Params GoogleCloud Apigee V1Security Report Metadata Response - Contains information like metrics, dimenstions etc of the Security Report.
- Report
Definition stringId - Report Definition ID.
- Result
Google
Cloud Apigee V1Security Report Result Metadata Response - Result is available only after the query is completed.
- Result
File stringSize - ResultFileSize is available only after the query is completed.
- Result
Rows string - ResultRows is available only after the query is completed.
- 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".
- Updated string
- Last updated timestamp for the query.
- created String
- Creation time of the query.
- display
Name String - Display Name specified by the user.
- envgroup
Hostname String - Hostname is available only when query is executed at host level.
- error String
- Error is set when query fails.
- execution
Time String - ExecutionTime is available only after the query is completed.
- query
Params GoogleCloud Apigee V1Security Report Metadata Response - Contains information like metrics, dimenstions etc of the Security Report.
- report
Definition StringId - Report Definition ID.
- result
Google
Cloud Apigee V1Security Report Result Metadata Response - Result is available only after the query is completed.
- result
File StringSize - ResultFileSize is available only after the query is completed.
- result
Rows String - ResultRows is available only after the query is completed.
- 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".
- updated String
- Last updated timestamp for the query.
- created string
- Creation time of the query.
- display
Name string - Display Name specified by the user.
- envgroup
Hostname string - Hostname is available only when query is executed at host level.
- error string
- Error is set when query fails.
- execution
Time string - ExecutionTime is available only after the query is completed.
- query
Params GoogleCloud Apigee V1Security Report Metadata Response - Contains information like metrics, dimenstions etc of the Security Report.
- report
Definition stringId - Report Definition ID.
- result
Google
Cloud Apigee V1Security Report Result Metadata Response - Result is available only after the query is completed.
- result
File stringSize - ResultFileSize is available only after the query is completed.
- result
Rows string - ResultRows is available only after the query is completed.
- 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".
- updated string
- Last updated timestamp for the query.
- created str
- Creation time of the query.
- display_
name str - Display Name specified by the user.
- envgroup_
hostname str - Hostname is available only when query is executed at host level.
- error str
- Error is set when query fails.
- execution_
time str - ExecutionTime is available only after the query is completed.
- query_
params GoogleCloud Apigee V1Security Report Metadata Response - Contains information like metrics, dimenstions etc of the Security Report.
- report_
definition_ strid - Report Definition ID.
- result
Google
Cloud Apigee V1Security Report Result Metadata Response - Result is available only after the query is completed.
- result_
file_ strsize - ResultFileSize is available only after the query is completed.
- result_
rows str - ResultRows is available only after the query is completed.
- self str
- 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 str
- Query state could be "enqueued", "running", "completed", "expired" and "failed".
- updated str
- Last updated timestamp for the query.
- created String
- Creation time of the query.
- display
Name String - Display Name specified by the user.
- envgroup
Hostname String - Hostname is available only when query is executed at host level.
- error String
- Error is set when query fails.
- execution
Time String - ExecutionTime is available only after the query is completed.
- query
Params Property Map - Contains information like metrics, dimenstions etc of the Security Report.
- report
Definition StringId - Report Definition ID.
- result Property Map
- Result is available only after the query is completed.
- result
File StringSize - ResultFileSize is available only after the query is completed.
- result
Rows String - ResultRows is available only after the query is completed.
- 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".
- updated String
- Last updated timestamp for the query.
Supporting Types
GoogleCloudApigeeV1SecurityReportMetadataResponse
- Dimensions List<string>
- Dimensions of the SecurityReport.
- End
Timestamp string - End timestamp of the query range.
- Metrics List<string>
- Metrics of the SecurityReport. Example: ["name:bot_count,func:sum,alias:sum_bot_count"]
- Mime
Type string - MIME type / Output format.
- Start
Timestamp string - Start timestamp of the query range.
- Time
Unit string - Query GroupBy time unit. Example: "seconds", "minute", "hour"
- Dimensions []string
- Dimensions of the SecurityReport.
- End
Timestamp string - End timestamp of the query range.
- Metrics []string
- Metrics of the SecurityReport. Example: ["name:bot_count,func:sum,alias:sum_bot_count"]
- Mime
Type string - MIME type / Output format.
- Start
Timestamp string - Start timestamp of the query range.
- Time
Unit string - Query GroupBy time unit. Example: "seconds", "minute", "hour"
- dimensions List<String>
- Dimensions of the SecurityReport.
- end
Timestamp String - End timestamp of the query range.
- metrics List<String>
- Metrics of the SecurityReport. Example: ["name:bot_count,func:sum,alias:sum_bot_count"]
- mime
Type String - MIME type / Output format.
- start
Timestamp String - Start timestamp of the query range.
- time
Unit String - Query GroupBy time unit. Example: "seconds", "minute", "hour"
- dimensions string[]
- Dimensions of the SecurityReport.
- end
Timestamp string - End timestamp of the query range.
- metrics string[]
- Metrics of the SecurityReport. Example: ["name:bot_count,func:sum,alias:sum_bot_count"]
- mime
Type string - MIME type / Output format.
- start
Timestamp string - Start timestamp of the query range.
- time
Unit string - Query GroupBy time unit. Example: "seconds", "minute", "hour"
- dimensions Sequence[str]
- Dimensions of the SecurityReport.
- end_
timestamp str - End timestamp of the query range.
- metrics Sequence[str]
- Metrics of the SecurityReport. Example: ["name:bot_count,func:sum,alias:sum_bot_count"]
- mime_
type str - MIME type / Output format.
- start_
timestamp str - Start timestamp of the query range.
- time_
unit str - Query GroupBy time unit. Example: "seconds", "minute", "hour"
- dimensions List<String>
- Dimensions of the SecurityReport.
- end
Timestamp String - End timestamp of the query range.
- metrics List<String>
- Metrics of the SecurityReport. Example: ["name:bot_count,func:sum,alias:sum_bot_count"]
- mime
Type String - MIME type / Output format.
- start
Timestamp String - Start timestamp of the query range.
- time
Unit String - Query GroupBy time unit. Example: "seconds", "minute", "hour"
GoogleCloudApigeeV1SecurityReportResultMetadataResponse
- Expires string
- 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"
- 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
- 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"
- 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
- 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"
- 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
- 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"
- 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 str
- 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"
- self str
- 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
- 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"
- 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
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.