import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * A Security Technical Implementation Guide (STIG) is a cybersecurity methodology for standardizing security protocols within networks, servers, computers, and logical designs to enhance overall security. These guides, when implemented, enhance security for software, hardware, and physical and logical architectures to further reduce vulnerabilities. * * This datasource retrieves Security Technical Implementation Guide (STIG) control details for each cluster. Each STIG record represents a specific rule or control evaluated against one or more clusters, containing metadata such as rule ID, severity, compliance status, and remediation guidance. * * This datasource uses Prism Central (PC) v4 APIs based SDKs. * * ## Example * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * const all = nutanix.getStigsV2({}); * const filtered_status = nutanix.getStigsV2({ * filter: "status eq Security.Report.StigStatus'APPLICABLE'", * }); * const filtered_severity = nutanix.getStigsV2({ * filter: "severity eq Security.Report.Severity'HIGH'", * }); * const limited = nutanix.getStigsV2({ * limit: 2, * }); * const select_example = nutanix.getStigsV2({ * select: "stigVersion,status", * }); * ``` * */ export declare function getStigsV2(args?: GetStigsV2Args, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getStigsV2. */ export interface GetStigsV2Args { /** * A URL query parameter that allows clients to filter a collection of resources. The expression specified with \$filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the \$filter must conform to the OData V4.01 URL conventions. For example, filter '\$filter=name eq 'karbon-ntnx-1.0' would filter the result on cluster name 'karbon-ntnx1.0', filter '\$filter=startswith(name, 'C')' would filter on cluster name starting with 'C'. The filter can be applied to the following fields: * * -
* severity * * **Example:** * * ``` * filter = "severity eq Security.Report.Severity'HIGH'" * ``` * *
* * -
* status * * **Example:** * * ``` * filter = "status eq Security.Report.StigStatus'APPLICABLE'" * ``` * *
*/ filter?: string; /** * A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set. */ limit?: number; orderBy?: string; /** * - A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results. */ page?: number; /** * A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the \$select must conform to the OData V4.01 URL conventions. If a \$select expression consists of a single select item that is an asterisk (i.e., \*), then all properties on the matching resource will be returned. following fields: * * -
* affectedClusters * * **Example:** * * ``` * select = "affectedClusters" * ``` * *
* * -
* benchmarkId * * **Example:** * * ``` * select = "benchmarkId" * ``` * *
* * -
* comments * * **Example:** * * ``` * select = "comments" * ``` * *
* * -
* extId * * **Example:** * * ``` * select = "extId" * ``` * *
* * -
* fixText * * **Example:** * * ``` * select = "fixText" * ``` * *
* * -
* identifiers * * **Example:** * * ``` * select = "identifiers" * ``` * *
* * -
* links * * **Example:** * * ``` * select = "links" * ``` * *
* * -
* ruleId * * **Example:** * * ``` * select = "ruleId" * ``` * *
* * -
* severity * * **Example:** * * ``` * select = "severity" * ``` * *
* * -
* status * * **Example:** * * ``` * select = "status" * ``` * *
* * -
* stigVersion * * **Example:** * * ``` * select = "stigVersion" * ``` * *
* * -
* tenantId * * **Example:** * * ``` * select = "tenantId" * ``` * *
* * -
* title * * **Example:** * * ``` * select = "title" * ``` * *
*/ select?: string; } /** * A collection of values returned by getStigsV2. */ export interface GetStigsV2Result { readonly filter?: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly limit?: number; readonly orderBy?: string; readonly page?: number; readonly select?: string; /** * -List of STIG controls details for STIG rules on each cluster. */ readonly stigs: outputs.GetStigsV2Stig[]; } /** * A Security Technical Implementation Guide (STIG) is a cybersecurity methodology for standardizing security protocols within networks, servers, computers, and logical designs to enhance overall security. These guides, when implemented, enhance security for software, hardware, and physical and logical architectures to further reduce vulnerabilities. * * This datasource retrieves Security Technical Implementation Guide (STIG) control details for each cluster. Each STIG record represents a specific rule or control evaluated against one or more clusters, containing metadata such as rule ID, severity, compliance status, and remediation guidance. * * This datasource uses Prism Central (PC) v4 APIs based SDKs. * * ## Example * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * const all = nutanix.getStigsV2({}); * const filtered_status = nutanix.getStigsV2({ * filter: "status eq Security.Report.StigStatus'APPLICABLE'", * }); * const filtered_severity = nutanix.getStigsV2({ * filter: "severity eq Security.Report.Severity'HIGH'", * }); * const limited = nutanix.getStigsV2({ * limit: 2, * }); * const select_example = nutanix.getStigsV2({ * select: "stigVersion,status", * }); * ``` * */ export declare function getStigsV2Output(args?: GetStigsV2OutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getStigsV2. */ export interface GetStigsV2OutputArgs { /** * A URL query parameter that allows clients to filter a collection of resources. The expression specified with \$filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the \$filter must conform to the OData V4.01 URL conventions. For example, filter '\$filter=name eq 'karbon-ntnx-1.0' would filter the result on cluster name 'karbon-ntnx1.0', filter '\$filter=startswith(name, 'C')' would filter on cluster name starting with 'C'. The filter can be applied to the following fields: * * -
* severity * * **Example:** * * ``` * filter = "severity eq Security.Report.Severity'HIGH'" * ``` * *
* * -
* status * * **Example:** * * ``` * filter = "status eq Security.Report.StigStatus'APPLICABLE'" * ``` * *
*/ filter?: pulumi.Input; /** * A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set. */ limit?: pulumi.Input; orderBy?: pulumi.Input; /** * - A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results. */ page?: pulumi.Input; /** * A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the \$select must conform to the OData V4.01 URL conventions. If a \$select expression consists of a single select item that is an asterisk (i.e., \*), then all properties on the matching resource will be returned. following fields: * * -
* affectedClusters * * **Example:** * * ``` * select = "affectedClusters" * ``` * *
* * -
* benchmarkId * * **Example:** * * ``` * select = "benchmarkId" * ``` * *
* * -
* comments * * **Example:** * * ``` * select = "comments" * ``` * *
* * -
* extId * * **Example:** * * ``` * select = "extId" * ``` * *
* * -
* fixText * * **Example:** * * ``` * select = "fixText" * ``` * *
* * -
* identifiers * * **Example:** * * ``` * select = "identifiers" * ``` * *
* * -
* links * * **Example:** * * ``` * select = "links" * ``` * *
* * -
* ruleId * * **Example:** * * ``` * select = "ruleId" * ``` * *
* * -
* severity * * **Example:** * * ``` * select = "severity" * ``` * *
* * -
* status * * **Example:** * * ``` * select = "status" * ``` * *
* * -
* stigVersion * * **Example:** * * ``` * select = "stigVersion" * ``` * *
* * -
* tenantId * * **Example:** * * ``` * select = "tenantId" * ``` * *
* * -
* title * * **Example:** * * ``` * select = "title" * ``` * *
*/ select?: pulumi.Input; } //# sourceMappingURL=getStigsV2.d.ts.map