ome_firmware_baseline_compliance_report (Data Source)

This Terraform DataSource is used to query firmware baseline compliance report of OME. The information fetched from this data source can be used for getting the details / for further processing in resource block.

Example Usage

/*
Copyright (c) 2024 Dell Inc., or its subsidiaries. All Rights Reserved.
Licensed under the Mozilla Public License Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
    http://mozilla.org/MPL/2.0/
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

# Gets the firmware baseline compliance report
data "ome_firmware_baseline_compliance_report" "report1" {
  baseline_name = "tfacc_baseline_dell_1"

  # Supported filter keys are: DeviceName, DeviceModel, ServiceTag
  # Only one filter key/value can be used at a time
  # filter {
			# key = "DeviceModel"
			# value = "Valid Name"
	# }
}

output "all" {
  value = data.ome_firmware_baseline_compliance_report.report1
}

After the successful execution of above said block, We can see the output value by executing terraform output command.

Schema

Required

  • baseline_name (String) Name of the Baseline.

Optional

Read-Only

  • firmware_compliance_reports (Attributes List) Firmware Baseline Compliance Reports (see below for nested schema)
  • id (Number) Compliance Status

Nested Schema for filter

Optional:

  • key (String) Firmware Baseline Compliance Reports with filter key and value pair. Supported filter keys are: DeviceName, DeviceModel, ServiceTag
  • value (String) The value for the filter key

Nested Schema for firmware_compliance_reports

Read-Only:

  • compliance_status (String) Compliance Status
  • component_compliance_reports (Attributes List) Component Compliance Reports (see below for nested schema)
  • device_firmware_update_capable (Boolean) Device Firmware Update Capable
  • device_id (Number) Device ID
  • device_model (String) Device Model
  • device_name (String) Device Name
  • device_type_id (Number) Device Type ID
  • device_type_name (String) Device Type Name
  • device_user_firmware_update_capable (Boolean) Device User Firmware Update Capable
  • firmware_status (String) Firmware Status
  • id (Number) ID
  • reboot_required (Boolean) Reboot Required
  • service_tag (String) Service Tag

Nested Schema for firmware_compliance_reports.component_compliance_reports

Read-Only:

  • compliance_dependencies (Attributes List) Compliance Dependencies (see below for nested schema)
  • compliance_status (String) Compliance Status
  • component_type (String) Component Type
  • criticality (String) Criticality
  • current_version (String) Current Version
  • dependency_upgrade_required (Boolean) Dependency Upgrade Required
  • id (Number) ID
  • impact_assessment (String) Impact Assessment
  • name (String) Name
  • path (String) Path
  • prerequisite_info (String) Prerequisite Info
  • reboot_required (Boolean) Reboot Required
  • source_name (String) Source Name
  • target_identifier (String) Target Identifier
  • unique_identifier (String) Unique Identifier
  • update_action (String) Update Action
  • uri (String) URI
  • version (String) Version

Nested Schema for firmware_compliance_reports.component_compliance_reports.compliance_dependencies

Read-Only:

  • compliance_dependency_id (String) Compliance Dependency Id
  • is_hard_dependency (Boolean) Is Hard Dependency
  • name (String) Name
  • path (String) Path
  • reboot_required (Boolean) Reboot Required
  • source_name (String) Source Name
  • unique_identifier (String) Unique Identifier
  • update_action (String) Update Action
  • uri (String) Uri
  • version (String) Version