Ready to level-up your engineering skills? Join a Pulumi Workshop. Register Now

getClusterScan

Use this data source to retrieve information about a Rancher v2 Cluster CIS Scan resource.

Using getClusterScan

function getClusterScan(args: GetClusterScanArgs, opts?: InvokeOptions): Promise<GetClusterScanResult>
def get_cluster_scan(cluster_id: Optional[str] = None, name: Optional[str] = None, opts: Optional[InvokeOptions] = None) -> GetClusterScanResult
func GetClusterScan(ctx *Context, args *GetClusterScanArgs, opts ...InvokeOption) (*GetClusterScanResult, error)

Note: This function is named GetClusterScan in the Go SDK.

public static class GetClusterScan {
    public static Task<GetClusterScanResult> InvokeAsync(GetClusterScanArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

ClusterId string

Cluster ID for CIS Scan (string)

Name string

Name of the cluster Scan (string)

ClusterId string

Cluster ID for CIS Scan (string)

Name string

Name of the cluster Scan (string)

clusterId string

Cluster ID for CIS Scan (string)

name string

Name of the cluster Scan (string)

cluster_id str

Cluster ID for CIS Scan (string)

name str

Name of the cluster Scan (string)

getClusterScan Result

The following output properties are available:

Annotations Dictionary<string, object>

(Computed) Annotations of the resource (map)

ClusterId string
Id string

The provider-assigned unique ID for this managed resource.

Labels Dictionary<string, object>

(Computed) Labels of the resource (map)

Name string
RunType string

(Computed) Cluster Scan run type (string)

ScanConfig GetClusterScanScanConfig

(Computed) Cluster Scan config (bool)

ScanType string

(Computed) Cluster Scan type (string)

Status string

(Computed) Cluster Scan status (string)

Annotations map[string]interface{}

(Computed) Annotations of the resource (map)

ClusterId string
Id string

The provider-assigned unique ID for this managed resource.

Labels map[string]interface{}

(Computed) Labels of the resource (map)

Name string
RunType string

(Computed) Cluster Scan run type (string)

ScanConfig GetClusterScanScanConfig

(Computed) Cluster Scan config (bool)

ScanType string

(Computed) Cluster Scan type (string)

Status string

(Computed) Cluster Scan status (string)

annotations {[key: string]: any}

(Computed) Annotations of the resource (map)

clusterId string
id string

The provider-assigned unique ID for this managed resource.

labels {[key: string]: any}

(Computed) Labels of the resource (map)

name string
runType string

(Computed) Cluster Scan run type (string)

scanConfig GetClusterScanScanConfig

(Computed) Cluster Scan config (bool)

scanType string

(Computed) Cluster Scan type (string)

status string

(Computed) Cluster Scan status (string)

annotations Mapping[str, Any]

(Computed) Annotations of the resource (map)

cluster_id str
id str

The provider-assigned unique ID for this managed resource.

labels Mapping[str, Any]

(Computed) Labels of the resource (map)

name str
run_type str

(Computed) Cluster Scan run type (string)

scan_config GetClusterScanScanConfig

(Computed) Cluster Scan config (bool)

scan_type str

(Computed) Cluster Scan type (string)

status str

(Computed) Cluster Scan status (string)

Supporting Types

GetClusterScanScanConfig

CisScanConfig GetClusterScanScanConfigCisScanConfigArgs

Cluster Cis Scan config (List maxitems:1)

CisScanConfig GetClusterScanScanConfigCisScanConfig

Cluster Cis Scan config (List maxitems:1)

cisScanConfig GetClusterScanScanConfigCisScanConfig

Cluster Cis Scan config (List maxitems:1)

cis_scan_config GetClusterScanScanConfigCisScanConfigArgs

Cluster Cis Scan config (List maxitems:1)

GetClusterScanScanConfigCisScanConfig

DebugMaster bool

Debug master. Default: false (bool)

DebugWorker bool

Debug worker. Default: false (bool)

OverrideBenchmarkVersion string

Override benchmark version (string)

OverrideSkips List<string>

Override skip (string)

Profile string

Cis scan profile. Allowed values: "permissive" (default) || "hardened" (string)

DebugMaster bool

Debug master. Default: false (bool)

DebugWorker bool

Debug worker. Default: false (bool)

OverrideBenchmarkVersion string

Override benchmark version (string)

OverrideSkips []string

Override skip (string)

Profile string

Cis scan profile. Allowed values: "permissive" (default) || "hardened" (string)

debugMaster boolean

Debug master. Default: false (bool)

debugWorker boolean

Debug worker. Default: false (bool)

overrideBenchmarkVersion string

Override benchmark version (string)

overrideSkips string[]

Override skip (string)

profile string

Cis scan profile. Allowed values: "permissive" (default) || "hardened" (string)

debug_master bool

Debug master. Default: false (bool)

debug_worker bool

Debug worker. Default: false (bool)

override_benchmark_version str

Override benchmark version (string)

override_skips Sequence[str]

Override skip (string)

profile str

Cis scan profile. Allowed values: "permissive" (default) || "hardened" (string)

Package Details

Repository
https://github.com/pulumi/pulumi-rancher2
License
Apache-2.0
Notes
This Pulumi package is based on the rancher2 Terraform Provider.