ibm.getSccReportResources
Explore with Pulumi AI
Retrieve information about report resources from a read-only data source. Then, you can reference the fields of the data source in other resources within the same configuration by using interpolation syntax.
NOTE: Security Compliance Center is a regional service. Please specify the IBM Cloud Provider attribute
region
to target another region. Else, exporting the environmental variable IBMCLOUD_SCC_API_ENDPOINT will also override which region is being targeted for all ibm providers(ex.export IBMCLOUD_SCC_API_ENDPOINT=https://eu-es.compliance.cloud.ibm.com
).
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const sccReportResources = ibm.getSccReportResources({
instanceId: "00000000-1111-2222-3333-444444444444",
reportId: "report_id",
status: "compliant",
});
import pulumi
import pulumi_ibm as ibm
scc_report_resources = ibm.get_scc_report_resources(instance_id="00000000-1111-2222-3333-444444444444",
report_id="report_id",
status="compliant")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ibm.GetSccReportResources(ctx, &ibm.GetSccReportResourcesArgs{
InstanceId: "00000000-1111-2222-3333-444444444444",
ReportId: "report_id",
Status: pulumi.StringRef("compliant"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;
return await Deployment.RunAsync(() =>
{
var sccReportResources = Ibm.GetSccReportResources.Invoke(new()
{
InstanceId = "00000000-1111-2222-3333-444444444444",
ReportId = "report_id",
Status = "compliant",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IbmFunctions;
import com.pulumi.ibm.inputs.GetSccReportResourcesArgs;
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 sccReportResources = IbmFunctions.getSccReportResources(GetSccReportResourcesArgs.builder()
.instanceId("00000000-1111-2222-3333-444444444444")
.reportId("report_id")
.status("compliant")
.build());
}
}
variables:
sccReportResources:
fn::invoke:
function: ibm:getSccReportResources
arguments:
instanceId: 00000000-1111-2222-3333-444444444444
reportId: report_id
status: compliant
Using getSccReportResources
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 getSccReportResources(args: GetSccReportResourcesArgs, opts?: InvokeOptions): Promise<GetSccReportResourcesResult>
function getSccReportResourcesOutput(args: GetSccReportResourcesOutputArgs, opts?: InvokeOptions): Output<GetSccReportResourcesResult>
def get_scc_report_resources(account_id: Optional[str] = None,
component_id: Optional[str] = None,
id: Optional[str] = None,
instance_id: Optional[str] = None,
report_id: Optional[str] = None,
resource_name: Optional[str] = None,
sort: Optional[str] = None,
status: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSccReportResourcesResult
def get_scc_report_resources_output(account_id: Optional[pulumi.Input[str]] = None,
component_id: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
instance_id: Optional[pulumi.Input[str]] = None,
report_id: Optional[pulumi.Input[str]] = None,
resource_name: Optional[pulumi.Input[str]] = None,
sort: Optional[pulumi.Input[str]] = None,
status: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSccReportResourcesResult]
func GetSccReportResources(ctx *Context, args *GetSccReportResourcesArgs, opts ...InvokeOption) (*GetSccReportResourcesResult, error)
func GetSccReportResourcesOutput(ctx *Context, args *GetSccReportResourcesOutputArgs, opts ...InvokeOption) GetSccReportResourcesResultOutput
> Note: This function is named GetSccReportResources
in the Go SDK.
public static class GetSccReportResources
{
public static Task<GetSccReportResourcesResult> InvokeAsync(GetSccReportResourcesArgs args, InvokeOptions? opts = null)
public static Output<GetSccReportResourcesResult> Invoke(GetSccReportResourcesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSccReportResourcesResult> getSccReportResources(GetSccReportResourcesArgs args, InvokeOptions options)
public static Output<GetSccReportResourcesResult> getSccReportResources(GetSccReportResourcesArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getSccReportResources:getSccReportResources
arguments:
# arguments dictionary
The following arguments are supported:
- Instance
Id string - The ID of the SCC instance in a particular region.
- Report
Id string - The ID of the scan that is associated with a report.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9\\-]+$/
.
- Constraints: The maximum length is
- Account
Id string - The ID of the account owning a resource.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9\\-]+$/
.
- Constraints: The maximum length is
- Component
Id string - The ID of component.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9.\\-]+$/
.
- Constraints: The maximum length is
- Id string
- The ID of the resource.
- Constraints: The maximum length is
1024
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9\\-]+$/
.
- Constraints: The maximum length is
- Resource
Name string - The name of the resource.
- Constraints: The maximum length is
1024
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9\\-]+$/
.
- Constraints: The maximum length is
- Sort string
- This field sorts resources by using a valid sort field. To learn more, see Sorting.
- Constraints: Allowable values are:
account_id
,component_id
,resource_name
,status
.
- Constraints: Allowable values are:
- Status string
- The compliance status value.
- Constraints: Allowable values are:
compliant
,not_compliant
,unable_to_perform
,user_evaluation_required
.
- Constraints: Allowable values are:
- Instance
Id string - The ID of the SCC instance in a particular region.
- Report
Id string - The ID of the scan that is associated with a report.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9\\-]+$/
.
- Constraints: The maximum length is
- Account
Id string - The ID of the account owning a resource.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9\\-]+$/
.
- Constraints: The maximum length is
- Component
Id string - The ID of component.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9.\\-]+$/
.
- Constraints: The maximum length is
- Id string
- The ID of the resource.
- Constraints: The maximum length is
1024
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9\\-]+$/
.
- Constraints: The maximum length is
- Resource
Name string - The name of the resource.
- Constraints: The maximum length is
1024
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9\\-]+$/
.
- Constraints: The maximum length is
- Sort string
- This field sorts resources by using a valid sort field. To learn more, see Sorting.
- Constraints: Allowable values are:
account_id
,component_id
,resource_name
,status
.
- Constraints: Allowable values are:
- Status string
- The compliance status value.
- Constraints: Allowable values are:
compliant
,not_compliant
,unable_to_perform
,user_evaluation_required
.
- Constraints: Allowable values are:
- instance
Id String - The ID of the SCC instance in a particular region.
- report
Id String - The ID of the scan that is associated with a report.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9\\-]+$/
.
- Constraints: The maximum length is
- account
Id String - The ID of the account owning a resource.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9\\-]+$/
.
- Constraints: The maximum length is
- component
Id String - The ID of component.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9.\\-]+$/
.
- Constraints: The maximum length is
- id String
- The ID of the resource.
- Constraints: The maximum length is
1024
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9\\-]+$/
.
- Constraints: The maximum length is
- resource
Name String - The name of the resource.
- Constraints: The maximum length is
1024
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9\\-]+$/
.
- Constraints: The maximum length is
- sort String
- This field sorts resources by using a valid sort field. To learn more, see Sorting.
- Constraints: Allowable values are:
account_id
,component_id
,resource_name
,status
.
- Constraints: Allowable values are:
- status String
- The compliance status value.
- Constraints: Allowable values are:
compliant
,not_compliant
,unable_to_perform
,user_evaluation_required
.
- Constraints: Allowable values are:
- instance
Id string - The ID of the SCC instance in a particular region.
- report
Id string - The ID of the scan that is associated with a report.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9\\-]+$/
.
- Constraints: The maximum length is
- account
Id string - The ID of the account owning a resource.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9\\-]+$/
.
- Constraints: The maximum length is
- component
Id string - The ID of component.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9.\\-]+$/
.
- Constraints: The maximum length is
- id string
- The ID of the resource.
- Constraints: The maximum length is
1024
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9\\-]+$/
.
- Constraints: The maximum length is
- resource
Name string - The name of the resource.
- Constraints: The maximum length is
1024
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9\\-]+$/
.
- Constraints: The maximum length is
- sort string
- This field sorts resources by using a valid sort field. To learn more, see Sorting.
- Constraints: Allowable values are:
account_id
,component_id
,resource_name
,status
.
- Constraints: Allowable values are:
- status string
- The compliance status value.
- Constraints: Allowable values are:
compliant
,not_compliant
,unable_to_perform
,user_evaluation_required
.
- Constraints: Allowable values are:
- instance_
id str - The ID of the SCC instance in a particular region.
- report_
id str - The ID of the scan that is associated with a report.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9\\-]+$/
.
- Constraints: The maximum length is
- account_
id str - The ID of the account owning a resource.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9\\-]+$/
.
- Constraints: The maximum length is
- component_
id str - The ID of component.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9.\\-]+$/
.
- Constraints: The maximum length is
- id str
- The ID of the resource.
- Constraints: The maximum length is
1024
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9\\-]+$/
.
- Constraints: The maximum length is
- resource_
name str - The name of the resource.
- Constraints: The maximum length is
1024
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9\\-]+$/
.
- Constraints: The maximum length is
- sort str
- This field sorts resources by using a valid sort field. To learn more, see Sorting.
- Constraints: Allowable values are:
account_id
,component_id
,resource_name
,status
.
- Constraints: Allowable values are:
- status str
- The compliance status value.
- Constraints: Allowable values are:
compliant
,not_compliant
,unable_to_perform
,user_evaluation_required
.
- Constraints: Allowable values are:
- instance
Id String - The ID of the SCC instance in a particular region.
- report
Id String - The ID of the scan that is associated with a report.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9\\-]+$/
.
- Constraints: The maximum length is
- account
Id String - The ID of the account owning a resource.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9\\-]+$/
.
- Constraints: The maximum length is
- component
Id String - The ID of component.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9.\\-]+$/
.
- Constraints: The maximum length is
- id String
- The ID of the resource.
- Constraints: The maximum length is
1024
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9\\-]+$/
.
- Constraints: The maximum length is
- resource
Name String - The name of the resource.
- Constraints: The maximum length is
1024
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9\\-]+$/
.
- Constraints: The maximum length is
- sort String
- This field sorts resources by using a valid sort field. To learn more, see Sorting.
- Constraints: Allowable values are:
account_id
,component_id
,resource_name
,status
.
- Constraints: Allowable values are:
- status String
- The compliance status value.
- Constraints: Allowable values are:
compliant
,not_compliant
,unable_to_perform
,user_evaluation_required
.
- Constraints: Allowable values are:
getSccReportResources Result
The following output properties are available:
- Firsts
List<Get
Scc Report Resources First> - (List) The page reference. Nested schema for first:
- Home
Account stringId - (String) The ID of the home account.
- Instance
Id string - Report
Id string - (String) The ID of the report.
- Resources
List<Get
Scc Report Resources Resource> - (List) The list of resource evaluation summaries that are on the page.
- Constraints: The maximum length is
100
items. The minimum length is0
items. Nested schema for resources:
- Constraints: The maximum length is
- Account
Id string - Component
Id string - (String) The ID of the component.
- Id string
- (String) The resource CRN.
- Resource
Name string - (String) The resource name.
- Sort string
- Status string
- (String) The allowed values of an aggregated status for controls, specifications, assessments, and resources.
- Constraints: Allowable values are:
compliant
,not_compliant
,unable_to_perform
,user_evaluation_required
.
- Constraints: Allowable values are:
- Firsts
[]Get
Scc Report Resources First - (List) The page reference. Nested schema for first:
- Home
Account stringId - (String) The ID of the home account.
- Instance
Id string - Report
Id string - (String) The ID of the report.
- Resources
[]Get
Scc Report Resources Resource - (List) The list of resource evaluation summaries that are on the page.
- Constraints: The maximum length is
100
items. The minimum length is0
items. Nested schema for resources:
- Constraints: The maximum length is
- Account
Id string - Component
Id string - (String) The ID of the component.
- Id string
- (String) The resource CRN.
- Resource
Name string - (String) The resource name.
- Sort string
- Status string
- (String) The allowed values of an aggregated status for controls, specifications, assessments, and resources.
- Constraints: Allowable values are:
compliant
,not_compliant
,unable_to_perform
,user_evaluation_required
.
- Constraints: Allowable values are:
- firsts
List<Get
Scc Report Resources First> - (List) The page reference. Nested schema for first:
- home
Account StringId - (String) The ID of the home account.
- instance
Id String - report
Id String - (String) The ID of the report.
- resources
List<Get
Scc Report Resources Resource> - (List) The list of resource evaluation summaries that are on the page.
- Constraints: The maximum length is
100
items. The minimum length is0
items. Nested schema for resources:
- Constraints: The maximum length is
- account
Id String - component
Id String - (String) The ID of the component.
- id String
- (String) The resource CRN.
- resource
Name String - (String) The resource name.
- sort String
- status String
- (String) The allowed values of an aggregated status for controls, specifications, assessments, and resources.
- Constraints: Allowable values are:
compliant
,not_compliant
,unable_to_perform
,user_evaluation_required
.
- Constraints: Allowable values are:
- firsts
Get
Scc Report Resources First[] - (List) The page reference. Nested schema for first:
- home
Account stringId - (String) The ID of the home account.
- instance
Id string - report
Id string - (String) The ID of the report.
- resources
Get
Scc Report Resources Resource[] - (List) The list of resource evaluation summaries that are on the page.
- Constraints: The maximum length is
100
items. The minimum length is0
items. Nested schema for resources:
- Constraints: The maximum length is
- account
Id string - component
Id string - (String) The ID of the component.
- id string
- (String) The resource CRN.
- resource
Name string - (String) The resource name.
- sort string
- status string
- (String) The allowed values of an aggregated status for controls, specifications, assessments, and resources.
- Constraints: Allowable values are:
compliant
,not_compliant
,unable_to_perform
,user_evaluation_required
.
- Constraints: Allowable values are:
- firsts
Sequence[Get
Scc Report Resources First] - (List) The page reference. Nested schema for first:
- home_
account_ strid - (String) The ID of the home account.
- instance_
id str - report_
id str - (String) The ID of the report.
- resources
Sequence[Get
Scc Report Resources Resource] - (List) The list of resource evaluation summaries that are on the page.
- Constraints: The maximum length is
100
items. The minimum length is0
items. Nested schema for resources:
- Constraints: The maximum length is
- account_
id str - component_
id str - (String) The ID of the component.
- id str
- (String) The resource CRN.
- resource_
name str - (String) The resource name.
- sort str
- status str
- (String) The allowed values of an aggregated status for controls, specifications, assessments, and resources.
- Constraints: Allowable values are:
compliant
,not_compliant
,unable_to_perform
,user_evaluation_required
.
- Constraints: Allowable values are:
- firsts List<Property Map>
- (List) The page reference. Nested schema for first:
- home
Account StringId - (String) The ID of the home account.
- instance
Id String - report
Id String - (String) The ID of the report.
- resources List<Property Map>
- (List) The list of resource evaluation summaries that are on the page.
- Constraints: The maximum length is
100
items. The minimum length is0
items. Nested schema for resources:
- Constraints: The maximum length is
- account
Id String - component
Id String - (String) The ID of the component.
- id String
- (String) The resource CRN.
- resource
Name String - (String) The resource name.
- sort String
- status String
- (String) The allowed values of an aggregated status for controls, specifications, assessments, and resources.
- Constraints: Allowable values are:
compliant
,not_compliant
,unable_to_perform
,user_evaluation_required
.
- Constraints: Allowable values are:
Supporting Types
GetSccReportResourcesFirst
- Href string
- (String) The URL for the first and next page.
- Href string
- (String) The URL for the first and next page.
- href String
- (String) The URL for the first and next page.
- href string
- (String) The URL for the first and next page.
- href str
- (String) The URL for the first and next page.
- href String
- (String) The URL for the first and next page.
GetSccReportResourcesResource
- Accounts
List<Get
Scc Report Resources Resource Account> - (List) The account that is associated with a report. Nested schema for account:
- Completed
Count double - (Integer) The total number of completed evaluations.
- Component
Id string - The ID of component.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9.\\-]+$/
.
- Constraints: The maximum length is
- Environment string
- (String) The environment.
- Error
Count double - (Integer) The number of evaluations that started, but did not finish, and ended with errors.
- Failure
Count double - (Integer) The number of failed evaluations.
- Id string
- The ID of the resource.
- Constraints: The maximum length is
1024
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9\\-]+$/
.
- Constraints: The maximum length is
- Pass
Count double - (Integer) The number of passed evaluations.
- Report
Id string - The ID of the scan that is associated with a report.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9\\-]+$/
.
- Constraints: The maximum length is
- Resource
Name string - The name of the resource.
- Constraints: The maximum length is
1024
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9\\-]+$/
.
- Constraints: The maximum length is
- Status string
- The compliance status value.
- Constraints: Allowable values are:
compliant
,not_compliant
,unable_to_perform
,user_evaluation_required
.
- Constraints: Allowable values are:
- Total
Count double - (Integer) The total number of evaluations.
- Accounts
[]Get
Scc Report Resources Resource Account - (List) The account that is associated with a report. Nested schema for account:
- Completed
Count float64 - (Integer) The total number of completed evaluations.
- Component
Id string - The ID of component.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9.\\-]+$/
.
- Constraints: The maximum length is
- Environment string
- (String) The environment.
- Error
Count float64 - (Integer) The number of evaluations that started, but did not finish, and ended with errors.
- Failure
Count float64 - (Integer) The number of failed evaluations.
- Id string
- The ID of the resource.
- Constraints: The maximum length is
1024
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9\\-]+$/
.
- Constraints: The maximum length is
- Pass
Count float64 - (Integer) The number of passed evaluations.
- Report
Id string - The ID of the scan that is associated with a report.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9\\-]+$/
.
- Constraints: The maximum length is
- Resource
Name string - The name of the resource.
- Constraints: The maximum length is
1024
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9\\-]+$/
.
- Constraints: The maximum length is
- Status string
- The compliance status value.
- Constraints: Allowable values are:
compliant
,not_compliant
,unable_to_perform
,user_evaluation_required
.
- Constraints: Allowable values are:
- Total
Count float64 - (Integer) The total number of evaluations.
- accounts
List<Get
Scc Report Resources Resource Account> - (List) The account that is associated with a report. Nested schema for account:
- completed
Count Double - (Integer) The total number of completed evaluations.
- component
Id String - The ID of component.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9.\\-]+$/
.
- Constraints: The maximum length is
- environment String
- (String) The environment.
- error
Count Double - (Integer) The number of evaluations that started, but did not finish, and ended with errors.
- failure
Count Double - (Integer) The number of failed evaluations.
- id String
- The ID of the resource.
- Constraints: The maximum length is
1024
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9\\-]+$/
.
- Constraints: The maximum length is
- pass
Count Double - (Integer) The number of passed evaluations.
- report
Id String - The ID of the scan that is associated with a report.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9\\-]+$/
.
- Constraints: The maximum length is
- resource
Name String - The name of the resource.
- Constraints: The maximum length is
1024
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9\\-]+$/
.
- Constraints: The maximum length is
- status String
- The compliance status value.
- Constraints: Allowable values are:
compliant
,not_compliant
,unable_to_perform
,user_evaluation_required
.
- Constraints: Allowable values are:
- total
Count Double - (Integer) The total number of evaluations.
- accounts
Get
Scc Report Resources Resource Account[] - (List) The account that is associated with a report. Nested schema for account:
- completed
Count number - (Integer) The total number of completed evaluations.
- component
Id string - The ID of component.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9.\\-]+$/
.
- Constraints: The maximum length is
- environment string
- (String) The environment.
- error
Count number - (Integer) The number of evaluations that started, but did not finish, and ended with errors.
- failure
Count number - (Integer) The number of failed evaluations.
- id string
- The ID of the resource.
- Constraints: The maximum length is
1024
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9\\-]+$/
.
- Constraints: The maximum length is
- pass
Count number - (Integer) The number of passed evaluations.
- report
Id string - The ID of the scan that is associated with a report.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9\\-]+$/
.
- Constraints: The maximum length is
- resource
Name string - The name of the resource.
- Constraints: The maximum length is
1024
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9\\-]+$/
.
- Constraints: The maximum length is
- status string
- The compliance status value.
- Constraints: Allowable values are:
compliant
,not_compliant
,unable_to_perform
,user_evaluation_required
.
- Constraints: Allowable values are:
- total
Count number - (Integer) The total number of evaluations.
- accounts
Sequence[Get
Scc Report Resources Resource Account] - (List) The account that is associated with a report. Nested schema for account:
- completed_
count float - (Integer) The total number of completed evaluations.
- component_
id str - The ID of component.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9.\\-]+$/
.
- Constraints: The maximum length is
- environment str
- (String) The environment.
- error_
count float - (Integer) The number of evaluations that started, but did not finish, and ended with errors.
- failure_
count float - (Integer) The number of failed evaluations.
- id str
- The ID of the resource.
- Constraints: The maximum length is
1024
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9\\-]+$/
.
- Constraints: The maximum length is
- pass_
count float - (Integer) The number of passed evaluations.
- report_
id str - The ID of the scan that is associated with a report.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9\\-]+$/
.
- Constraints: The maximum length is
- resource_
name str - The name of the resource.
- Constraints: The maximum length is
1024
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9\\-]+$/
.
- Constraints: The maximum length is
- status str
- The compliance status value.
- Constraints: Allowable values are:
compliant
,not_compliant
,unable_to_perform
,user_evaluation_required
.
- Constraints: Allowable values are:
- total_
count float - (Integer) The total number of evaluations.
- accounts List<Property Map>
- (List) The account that is associated with a report. Nested schema for account:
- completed
Count Number - (Integer) The total number of completed evaluations.
- component
Id String - The ID of component.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9.\\-]+$/
.
- Constraints: The maximum length is
- environment String
- (String) The environment.
- error
Count Number - (Integer) The number of evaluations that started, but did not finish, and ended with errors.
- failure
Count Number - (Integer) The number of failed evaluations.
- id String
- The ID of the resource.
- Constraints: The maximum length is
1024
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9\\-]+$/
.
- Constraints: The maximum length is
- pass
Count Number - (Integer) The number of passed evaluations.
- report
Id String - The ID of the scan that is associated with a report.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9\\-]+$/
.
- Constraints: The maximum length is
- resource
Name String - The name of the resource.
- Constraints: The maximum length is
1024
characters. The minimum length is1
character. The value must match regular expression/^[a-zA-Z0-9\\-]+$/
.
- Constraints: The maximum length is
- status String
- The compliance status value.
- Constraints: Allowable values are:
compliant
,not_compliant
,unable_to_perform
,user_evaluation_required
.
- Constraints: Allowable values are:
- total
Count Number - (Integer) The total number of evaluations.
GetSccReportResourcesResourceAccount
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.