|
| 1 | +--- |
| 2 | +# generated by https://github.com/hashicorp/terraform-plugin-docs |
| 3 | +page_title: "mondoo_frameworks Data Source - terraform-provider-mondoo" |
| 4 | +subcategory: "" |
| 5 | +description: |- |
| 6 | + Data source to return compliance frameworks in a Space |
| 7 | +--- |
| 8 | + |
| 9 | +# mondoo_frameworks (Data Source) |
| 10 | + |
| 11 | +Data source to return compliance frameworks in a Space |
| 12 | + |
| 13 | +## Example Usage |
| 14 | + |
| 15 | +```terraform |
| 16 | +data "mondoo_frameworks" "frameworks_data" { |
| 17 | + space_id = "your-space-1234567" |
| 18 | +} |
| 19 | +
|
| 20 | +output "framework_mrn" { |
| 21 | + value = [for framework in data.mondoo_frameworks.frameworks_data.frameworks : framework.mrn] |
| 22 | + description = "The MRN of the frameworks in the space." |
| 23 | +} |
| 24 | +``` |
| 25 | + |
| 26 | +<!-- schema generated by tfplugindocs --> |
| 27 | +## Schema |
| 28 | + |
| 29 | +### Optional |
| 30 | + |
| 31 | +- `space_id` (String) Space ID |
| 32 | +- `space_mrn` (String) Space MRN |
| 33 | + |
| 34 | +### Read-Only |
| 35 | + |
| 36 | +- `frameworks` (Attributes List) List of compliance frameworks (see [below for nested schema](#nestedatt--frameworks)) |
| 37 | + |
| 38 | +<a id="nestedatt--frameworks"></a> |
| 39 | +### Nested Schema for `frameworks` |
| 40 | + |
| 41 | +Read-Only: |
| 42 | + |
| 43 | +- `authors` (Attributes List) List of authors (see [below for nested schema](#nestedatt--frameworks--authors)) |
| 44 | +- `mrn` (String) Compliance framework MRN |
| 45 | +- `name` (String) Compliance framework name |
| 46 | +- `previous_completion_scores` (Attributes List) List of previous completion scores (see [below for nested schema](#nestedatt--frameworks--previous_completion_scores)) |
| 47 | +- `state` (String) Compliance framework state is either `PREVIEW` or `ACTIVE` |
| 48 | +- `tags` (Attributes List) List of tags (see [below for nested schema](#nestedatt--frameworks--tags)) |
| 49 | + |
| 50 | +<a id="nestedatt--frameworks--authors"></a> |
| 51 | +### Nested Schema for `frameworks.authors` |
| 52 | + |
| 53 | +Read-Only: |
| 54 | + |
| 55 | +- `email` (String) Author email |
| 56 | +- `name` (String) Author name |
| 57 | + |
| 58 | + |
| 59 | +<a id="nestedatt--frameworks--previous_completion_scores"></a> |
| 60 | +### Nested Schema for `frameworks.previous_completion_scores` |
| 61 | + |
| 62 | +Read-Only: |
| 63 | + |
| 64 | +- `score` (Number) Score |
| 65 | +- `timestamp` (String) Timestamp |
| 66 | + |
| 67 | + |
| 68 | +<a id="nestedatt--frameworks--tags"></a> |
| 69 | +### Nested Schema for `frameworks.tags` |
| 70 | + |
| 71 | +Read-Only: |
| 72 | + |
| 73 | +- `key` (String) Tag key |
| 74 | +- `value` (String) Tag value |
0 commit comments