prismacloud 1.7.0 published on Monday, Apr 14, 2025 by paloaltonetworks
prismacloud.getReport
Explore with Pulumi AI
prismacloud 1.7.0 published on Monday, Apr 14, 2025 by paloaltonetworks
Retrieve information on a specific alert report or compliance report.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as prismacloud from "@pulumi/prismacloud";
const example = prismacloud.getReport({
name: "My Report",
});
import pulumi
import pulumi_prismacloud as prismacloud
example = prismacloud.get_report(name="My Report")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/prismacloud/prismacloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := prismacloud.LookupReport(ctx, &prismacloud.LookupReportArgs{
Name: pulumi.StringRef("My Report"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Prismacloud = Pulumi.Prismacloud;
return await Deployment.RunAsync(() =>
{
var example = Prismacloud.GetReport.Invoke(new()
{
Name = "My Report",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.prismacloud.PrismacloudFunctions;
import com.pulumi.prismacloud.inputs.GetReportArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = PrismacloudFunctions.getReport(GetReportArgs.builder()
.name("My Report")
.build());
}
}
variables:
example:
fn::invoke:
function: prismacloud:getReport
arguments:
name: My Report
Using getReport
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 getReport(args: GetReportArgs, opts?: InvokeOptions): Promise<GetReportResult>
function getReportOutput(args: GetReportOutputArgs, opts?: InvokeOptions): Output<GetReportResult>
def get_report(id: Optional[str] = None,
name: Optional[str] = None,
report_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetReportResult
def get_report_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
report_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetReportResult]
func LookupReport(ctx *Context, args *LookupReportArgs, opts ...InvokeOption) (*LookupReportResult, error)
func LookupReportOutput(ctx *Context, args *LookupReportOutputArgs, opts ...InvokeOption) LookupReportResultOutput
> Note: This function is named LookupReport
in the Go SDK.
public static class GetReport
{
public static Task<GetReportResult> InvokeAsync(GetReportArgs args, InvokeOptions? opts = null)
public static Output<GetReportResult> Invoke(GetReportInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetReportResult> getReport(GetReportArgs args, InvokeOptions options)
public static Output<GetReportResult> getReport(GetReportArgs args, InvokeOptions options)
fn::invoke:
function: prismacloud:index/getReport:getReport
arguments:
# arguments dictionary
The following arguments are supported:
getReport Result
The following output properties are available:
- Cloud
Type string - Cloud type
- Compliance
Standard stringId - Compliance Standard ID
- Counts
List<Get
Report Count> - Model for compliance aggregate count, as defined below.
- Created
By string - Created by
- Created
On double - (int) Created on
- Id string
- Last
Modified stringBy - Last modified by
- Last
Modified doubleOn - (int) Last modified on
- Last
Scheduled double - (int) Last scheduled
- Name string
- Next
Schedule double - (int) Next schedule
- Report
Id string - Report
Type string - Report type
- Status string
- Report status
- Targets
List<Get
Report Target> - Model for report target, as defined below
- Total
Instance doubleCount - (int) Total instance count
- Cloud
Type string - Cloud type
- Compliance
Standard stringId - Compliance Standard ID
- Counts
[]Get
Report Count - Model for compliance aggregate count, as defined below.
- Created
By string - Created by
- Created
On float64 - (int) Created on
- Id string
- Last
Modified stringBy - Last modified by
- Last
Modified float64On - (int) Last modified on
- Last
Scheduled float64 - (int) Last scheduled
- Name string
- Next
Schedule float64 - (int) Next schedule
- Report
Id string - Report
Type string - Report type
- Status string
- Report status
- Targets
[]Get
Report Target - Model for report target, as defined below
- Total
Instance float64Count - (int) Total instance count
- cloud
Type String - Cloud type
- compliance
Standard StringId - Compliance Standard ID
- counts
List<Get
Report Count> - Model for compliance aggregate count, as defined below.
- created
By String - Created by
- created
On Double - (int) Created on
- id String
- last
Modified StringBy - Last modified by
- last
Modified DoubleOn - (int) Last modified on
- last
Scheduled Double - (int) Last scheduled
- name String
- next
Schedule Double - (int) Next schedule
- report
Id String - report
Type String - Report type
- status String
- Report status
- targets
List<Get
Report Target> - Model for report target, as defined below
- total
Instance DoubleCount - (int) Total instance count
- cloud
Type string - Cloud type
- compliance
Standard stringId - Compliance Standard ID
- counts
Get
Report Count[] - Model for compliance aggregate count, as defined below.
- created
By string - Created by
- created
On number - (int) Created on
- id string
- last
Modified stringBy - Last modified by
- last
Modified numberOn - (int) Last modified on
- last
Scheduled number - (int) Last scheduled
- name string
- next
Schedule number - (int) Next schedule
- report
Id string - report
Type string - Report type
- status string
- Report status
- targets
Get
Report Target[] - Model for report target, as defined below
- total
Instance numberCount - (int) Total instance count
- cloud_
type str - Cloud type
- compliance_
standard_ strid - Compliance Standard ID
- counts
Sequence[Get
Report Count] - Model for compliance aggregate count, as defined below.
- created_
by str - Created by
- created_
on float - (int) Created on
- id str
- last_
modified_ strby - Last modified by
- last_
modified_ floaton - (int) Last modified on
- last_
scheduled float - (int) Last scheduled
- name str
- next_
schedule float - (int) Next schedule
- report_
id str - report_
type str - Report type
- status str
- Report status
- targets
Sequence[Get
Report Target] - Model for report target, as defined below
- total_
instance_ floatcount - (int) Total instance count
- cloud
Type String - Cloud type
- compliance
Standard StringId - Compliance Standard ID
- counts List<Property Map>
- Model for compliance aggregate count, as defined below.
- created
By String - Created by
- created
On Number - (int) Created on
- id String
- last
Modified StringBy - Last modified by
- last
Modified NumberOn - (int) Last modified on
- last
Scheduled Number - (int) Last scheduled
- name String
- next
Schedule Number - (int) Next schedule
- report
Id String - report
Type String - Report type
- status String
- Report status
- targets List<Property Map>
- Model for report target, as defined below
- total
Instance NumberCount - (int) Total instance count
Supporting Types
GetReportCount
- Failed double
- (int) Failed
- High
Severity doubleFailed - (int) Number of high-severity failures
- Low
Severity doubleFailed - (int) Number of low-severity failures
- Medium
Severity doubleFailed - (int) Number of medium-severity failures
- Passed double
- (int) Passed
- Total double
- (int) Total
- Failed float64
- (int) Failed
- High
Severity float64Failed - (int) Number of high-severity failures
- Low
Severity float64Failed - (int) Number of low-severity failures
- Medium
Severity float64Failed - (int) Number of medium-severity failures
- Passed float64
- (int) Passed
- Total float64
- (int) Total
- failed Double
- (int) Failed
- high
Severity DoubleFailed - (int) Number of high-severity failures
- low
Severity DoubleFailed - (int) Number of low-severity failures
- medium
Severity DoubleFailed - (int) Number of medium-severity failures
- passed Double
- (int) Passed
- total Double
- (int) Total
- failed number
- (int) Failed
- high
Severity numberFailed - (int) Number of high-severity failures
- low
Severity numberFailed - (int) Number of low-severity failures
- medium
Severity numberFailed - (int) Number of medium-severity failures
- passed number
- (int) Passed
- total number
- (int) Total
- failed float
- (int) Failed
- high_
severity_ floatfailed - (int) Number of high-severity failures
- low_
severity_ floatfailed - (int) Number of low-severity failures
- medium_
severity_ floatfailed - (int) Number of medium-severity failures
- passed float
- (int) Passed
- total float
- (int) Total
- failed Number
- (int) Failed
- high
Severity NumberFailed - (int) Number of high-severity failures
- low
Severity NumberFailed - (int) Number of low-severity failures
- medium
Severity NumberFailed - (int) Number of medium-severity failures
- passed Number
- (int) Passed
- total Number
- (int) Total
GetReportTarget
- Account
Groups List<string> - List of cloud account groups
- Accounts List<string>
- List of cloud accounts
- Compliance
Standard List<string>Ids - List of compliance standard IDs
- Compression
Enabled bool - (bool) Business unit detailed report compression enabled
- Download
Now bool - (bool) True = download now
- Notification
Template stringId - Notification template id
- Notify
Tos List<string> - List of email addresses to receive notification
- Regions List<string>
- List of regions
- Resource
Groups List<string> - List of resource groups
- Schedule string
- Recurring report schedule in RRULE format
- Schedule
Enabled bool - (bool) Report scheduling enabled
- Time
Ranges List<GetReport Target Time Range> - (Required) The time range spec, as defined below.
- Account
Groups []string - List of cloud account groups
- Accounts []string
- List of cloud accounts
- Compliance
Standard []stringIds - List of compliance standard IDs
- Compression
Enabled bool - (bool) Business unit detailed report compression enabled
- Download
Now bool - (bool) True = download now
- Notification
Template stringId - Notification template id
- Notify
Tos []string - List of email addresses to receive notification
- Regions []string
- List of regions
- Resource
Groups []string - List of resource groups
- Schedule string
- Recurring report schedule in RRULE format
- Schedule
Enabled bool - (bool) Report scheduling enabled
- Time
Ranges []GetReport Target Time Range - (Required) The time range spec, as defined below.
- account
Groups List<String> - List of cloud account groups
- accounts List<String>
- List of cloud accounts
- compliance
Standard List<String>Ids - List of compliance standard IDs
- compression
Enabled Boolean - (bool) Business unit detailed report compression enabled
- download
Now Boolean - (bool) True = download now
- notification
Template StringId - Notification template id
- notify
Tos List<String> - List of email addresses to receive notification
- regions List<String>
- List of regions
- resource
Groups List<String> - List of resource groups
- schedule String
- Recurring report schedule in RRULE format
- schedule
Enabled Boolean - (bool) Report scheduling enabled
- time
Ranges List<GetReport Target Time Range> - (Required) The time range spec, as defined below.
- account
Groups string[] - List of cloud account groups
- accounts string[]
- List of cloud accounts
- compliance
Standard string[]Ids - List of compliance standard IDs
- compression
Enabled boolean - (bool) Business unit detailed report compression enabled
- download
Now boolean - (bool) True = download now
- notification
Template stringId - Notification template id
- notify
Tos string[] - List of email addresses to receive notification
- regions string[]
- List of regions
- resource
Groups string[] - List of resource groups
- schedule string
- Recurring report schedule in RRULE format
- schedule
Enabled boolean - (bool) Report scheduling enabled
- time
Ranges GetReport Target Time Range[] - (Required) The time range spec, as defined below.
- account_
groups Sequence[str] - List of cloud account groups
- accounts Sequence[str]
- List of cloud accounts
- compliance_
standard_ Sequence[str]ids - List of compliance standard IDs
- compression_
enabled bool - (bool) Business unit detailed report compression enabled
- download_
now bool - (bool) True = download now
- notification_
template_ strid - Notification template id
- notify_
tos Sequence[str] - List of email addresses to receive notification
- regions Sequence[str]
- List of regions
- resource_
groups Sequence[str] - List of resource groups
- schedule str
- Recurring report schedule in RRULE format
- schedule_
enabled bool - (bool) Report scheduling enabled
- time_
ranges Sequence[GetReport Target Time Range] - (Required) The time range spec, as defined below.
- account
Groups List<String> - List of cloud account groups
- accounts List<String>
- List of cloud accounts
- compliance
Standard List<String>Ids - List of compliance standard IDs
- compression
Enabled Boolean - (bool) Business unit detailed report compression enabled
- download
Now Boolean - (bool) True = download now
- notification
Template StringId - Notification template id
- notify
Tos List<String> - List of email addresses to receive notification
- regions List<String>
- List of regions
- resource
Groups List<String> - List of resource groups
- schedule String
- Recurring report schedule in RRULE format
- schedule
Enabled Boolean - (bool) Report scheduling enabled
- time
Ranges List<Property Map> - (Required) The time range spec, as defined below.
GetReportTargetTimeRange
- Absolutes
List<Get
Report Target Time Range Absolute> - An absolute time range spec, as defined below
- Relatives
List<Get
Report Target Time Range Relative> - A relative time range spec, as defined below
- To
Nows List<GetReport Target Time Range To Now> - A "To Now" time range spec, as defined below
- Absolutes
[]Get
Report Target Time Range Absolute - An absolute time range spec, as defined below
- Relatives
[]Get
Report Target Time Range Relative - A relative time range spec, as defined below
- To
Nows []GetReport Target Time Range To Now - A "To Now" time range spec, as defined below
- absolutes
List<Get
Report Target Time Range Absolute> - An absolute time range spec, as defined below
- relatives
List<Get
Report Target Time Range Relative> - A relative time range spec, as defined below
- to
Nows List<GetReport Target Time Range To Now> - A "To Now" time range spec, as defined below
- absolutes
Get
Report Target Time Range Absolute[] - An absolute time range spec, as defined below
- relatives
Get
Report Target Time Range Relative[] - A relative time range spec, as defined below
- to
Nows GetReport Target Time Range To Now[] - A "To Now" time range spec, as defined below
- absolutes
Sequence[Get
Report Target Time Range Absolute] - An absolute time range spec, as defined below
- relatives
Sequence[Get
Report Target Time Range Relative] - A relative time range spec, as defined below
- to_
nows Sequence[GetReport Target Time Range To Now] - A "To Now" time range spec, as defined below
- absolutes List<Property Map>
- An absolute time range spec, as defined below
- relatives List<Property Map>
- A relative time range spec, as defined below
- to
Nows List<Property Map> - A "To Now" time range spec, as defined below
GetReportTargetTimeRangeAbsolute
GetReportTargetTimeRangeRelative
GetReportTargetTimeRangeToNow
- Unit string
- The time unit
- Unit string
- The time unit
- unit String
- The time unit
- unit string
- The time unit
- unit str
- The time unit
- unit String
- The time unit
Package Details
- Repository
- prismacloud paloaltonetworks/terraform-provider-prismacloud
- License
- Notes
- This Pulumi package is based on the
prismacloud
Terraform Provider.
prismacloud 1.7.0 published on Monday, Apr 14, 2025 by paloaltonetworks