Skip to content

Commit 053337b

Browse files
Increase to warning in markdown (#5511) (#10681)
Co-authored-by: Brandon Bird <[email protected]> Signed-off-by: Modular Magician <[email protected]> Co-authored-by: Brandon Bird <[email protected]>
1 parent bfaec5c commit 053337b

File tree

2 files changed

+43
-40
lines changed

2 files changed

+43
-40
lines changed

.changelog/5511.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:none
2+
3+
```

website/docs/r/os_config_os_policy_assignment.html.markdown

+40-40
Original file line numberDiff line numberDiff line change
@@ -703,46 +703,6 @@ The `disruption_budget` block supports:
703703
(Optional)
704704
Specifies the relative value defined as a percentage, which will be multiplied by a reference value.
705705

706-
The `source` block supports:
707-
708-
* `allow_insecure` -
709-
(Optional)
710-
Defaults to false. When false, files are subject to validations based on the file type: Remote: A checksum must be specified. Cloud Storage: An object generation number must be specified.
711-
712-
* `gcs` -
713-
(Optional)
714-
A Cloud Storage object.
715-
716-
* `local_path` -
717-
(Optional)
718-
A local path within the VM to use.
719-
720-
* `remote` -
721-
(Optional)
722-
A generic remote file.
723-
724-
The `validate` block supports:
725-
726-
* `interpreter` -
727-
(Required)
728-
Required. The script interpreter to use. Possible values: INTERPRETER_UNSPECIFIED, NONE, SHELL, POWERSHELL
729-
730-
* `args` -
731-
(Optional)
732-
Optional arguments to pass to the source during execution.
733-
734-
* `file` -
735-
(Optional)
736-
Required. A deb package.
737-
738-
* `output_file_path` -
739-
(Optional)
740-
Only recorded for enforce Exec. Path to an output file (that is created by this Exec) whose content will be recorded in OSPolicyResourceCompliance after a successful run. Absence or failure to read this file will result in this ExecResource being non-compliant. Output file size is limited to 100K bytes.
741-
742-
* `script` -
743-
(Optional)
744-
An inline script. The size of the script is limited to 1024 characters.
745-
746706
- - -
747707

748708
* `description` -
@@ -992,6 +952,24 @@ The `zypper` block supports:
992952
(Required)
993953
Required. A one word, unique name for this repository. This is the `repo id` in the zypper config file and also the `display_name` if `display_name` is omitted. This id is also used as the unique identifier when checking for GuestPolicy conflicts.
994954

955+
The `file` block supports:
956+
957+
* `allow_insecure` -
958+
(Optional)
959+
Defaults to false. When false, files are subject to validations based on the file type: Remote: A checksum must be specified. Cloud Storage: An object generation number must be specified.
960+
961+
* `gcs` -
962+
(Optional)
963+
A Cloud Storage object.
964+
965+
* `local_path` -
966+
(Optional)
967+
A local path within the VM to use.
968+
969+
* `remote` -
970+
(Optional)
971+
A generic remote file.
972+
995973
The `gcs` block supports:
996974

997975
* `bucket` -
@@ -1016,6 +994,28 @@ The `remote` block supports:
1016994
(Optional)
1017995
SHA256 checksum of the remote file.
1018996

997+
The `enforce` block supports:
998+
999+
* `interpreter` -
1000+
(Required)
1001+
Required. The script interpreter to use. Possible values: INTERPRETER_UNSPECIFIED, NONE, SHELL, POWERSHELL
1002+
1003+
* `args` -
1004+
(Optional)
1005+
Optional arguments to pass to the source during execution.
1006+
1007+
* `file` -
1008+
(Optional)
1009+
Required. A deb package.
1010+
1011+
* `output_file_path` -
1012+
(Optional)
1013+
Only recorded for enforce Exec. Path to an output file (that is created by this Exec) whose content will be recorded in OSPolicyResourceCompliance after a successful run. Absence or failure to read this file will result in this ExecResource being non-compliant. Output file size is limited to 100K bytes.
1014+
1015+
* `script` -
1016+
(Optional)
1017+
An inline script. The size of the script is limited to 1024 characters.
1018+
10191019
## Attributes Reference
10201020

10211021
In addition to the arguments listed above, the following computed attributes are exported:

0 commit comments

Comments
 (0)