Skip to content

Commit fbb04ed

Browse files
Maxrovrsagarp337
authored andcommitted
adding missing resource md files
1 parent e4f125c commit fbb04ed

File tree

2 files changed

+116
-0
lines changed

2 files changed

+116
-0
lines changed
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
---
2+
subcategory: "Data Safe"
3+
layout: "oci"
4+
page_title: "Oracle Cloud Infrastructure: oci_data_safe_set_security_assessment_baseline"
5+
sidebar_current: "docs-oci-resource-data_safe-set_security_assessment_baseline"
6+
description: |-
7+
Provides the Set Security Assessment Baseline resource in Oracle Cloud Infrastructure Data Safe service
8+
---
9+
10+
# oci_data_safe_set_security_assessment_baseline
11+
This resource provides the Set Security Assessment Baseline resource in Oracle Cloud Infrastructure Data Safe service.
12+
13+
Sets the saved security assessment as the baseline in the compartment where the the specified assessment resides. The security assessment needs to be of type 'SAVED'.
14+
15+
## Example Usage
16+
17+
```hcl
18+
resource "oci_data_safe_set_security_assessment_baseline" "test_set_security_assessment_baseline" {
19+
#Required
20+
security_assessment_id = oci_data_safe_security_assessment.test_security_assessment.id
21+
22+
#Optional
23+
assessment_ids = var.set_security_assessment_baseline_assessment_ids
24+
}
25+
```
26+
27+
## Argument Reference
28+
29+
The following arguments are supported:
30+
31+
* `assessment_ids` - (Optional) List of security assessment OCIDs that need to be updated while setting the baseline.
32+
* `security_assessment_id` - (Required) The OCID of the security assessment.
33+
34+
35+
** IMPORTANT **
36+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
37+
38+
## Attributes Reference
39+
40+
The following attributes are exported:
41+
42+
43+
## Timeouts
44+
45+
The `timeouts` block allows you to specify [timeouts](https://registry.terraform.io/providers/hashicorp/oci/latest/docs/guides/changing_timeouts) for certain operations:
46+
* `create` - (Defaults to 20 minutes), when creating the Set Security Assessment Baseline
47+
* `update` - (Defaults to 20 minutes), when updating the Set Security Assessment Baseline
48+
* `delete` - (Defaults to 20 minutes), when destroying the Set Security Assessment Baseline
49+
50+
51+
## Import
52+
53+
SetSecurityAssessmentBaseline can be imported using the `id`, e.g.
54+
55+
```
56+
$ terraform import oci_data_safe_set_security_assessment_baseline.test_set_security_assessment_baseline "id"
57+
```
58+
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
---
2+
subcategory: "Data Safe"
3+
layout: "oci"
4+
page_title: "Oracle Cloud Infrastructure: oci_data_safe_set_user_assessment_baseline"
5+
sidebar_current: "docs-oci-resource-data_safe-set_user_assessment_baseline"
6+
description: |-
7+
Provides the Set User Assessment Baseline resource in Oracle Cloud Infrastructure Data Safe service
8+
---
9+
10+
# oci_data_safe_set_user_assessment_baseline
11+
This resource provides the Set User Assessment Baseline resource in Oracle Cloud Infrastructure Data Safe service.
12+
13+
Sets the saved user assessment as the baseline in the compartment where the specified assessment resides. The user assessment needs to be of type 'SAVED'.
14+
15+
## Example Usage
16+
17+
```hcl
18+
resource "oci_data_safe_set_user_assessment_baseline" "test_set_user_assessment_baseline" {
19+
#Required
20+
user_assessment_id = oci_data_safe_user_assessment.test_user_assessment.id
21+
22+
#Optional
23+
assessment_ids = var.set_user_assessment_baseline_assessment_ids
24+
}
25+
```
26+
27+
## Argument Reference
28+
29+
The following arguments are supported:
30+
31+
* `assessment_ids` - (Optional) The list of user assessment OCIDs that need to be updated while setting the baseline.
32+
* `user_assessment_id` - (Required) The OCID of the user assessment.
33+
34+
35+
** IMPORTANT **
36+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
37+
38+
## Attributes Reference
39+
40+
The following attributes are exported:
41+
42+
43+
## Timeouts
44+
45+
The `timeouts` block allows you to specify [timeouts](https://registry.terraform.io/providers/hashicorp/oci/latest/docs/guides/changing_timeouts) for certain operations:
46+
* `create` - (Defaults to 20 minutes), when creating the Set User Assessment Baseline
47+
* `update` - (Defaults to 20 minutes), when updating the Set User Assessment Baseline
48+
* `delete` - (Defaults to 20 minutes), when destroying the Set User Assessment Baseline
49+
50+
51+
## Import
52+
53+
SetUserAssessmentBaseline can be imported using the `id`, e.g.
54+
55+
```
56+
$ terraform import oci_data_safe_set_user_assessment_baseline.test_set_user_assessment_baseline "id"
57+
```
58+

0 commit comments

Comments
 (0)