Skip to content

Commit 8ee83a8

Browse files
Merge pull request #2029 from oracle/release_gh
Releasing version 5.25.0
2 parents 52439af + a3477af commit 8ee83a8

File tree

423 files changed

+22456
-855
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

423 files changed

+22456
-855
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
## 5.25.0 (January 17, 2024)
2+
3+
### Added
4+
Support for Configure Acceptable Risks for Security Assessment Findings
5+
Support for Data Safe - Users access to db objects, top 5 security assessment findings and db security feature usage
6+
Support for suppression by dimension
7+
Support for ADM Polyglot Audit
8+
Support for Data Safe Support for Active DataGuard (ADG) enabled databases
9+
Support for OL8/OL7 DomU provisioning on OL8 Infra
10+
### Bug Fix
11+
Fix missing discover private IPs associated with VLAN using terraform
12+
113
## 5.24.0 (January 10, 2024)
214

315
### Added

examples/adm/knowledge_base/main.tf

Lines changed: 31 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ resource "oci_adm_knowledge_base" "example_knowledge_base" {
3838

3939
resource "oci_adm_vulnerability_audit" "example_vulnerability_audit" {
4040
#Required
41-
compartment_id = var.compartment_ocid
42-
build_type = "MAVEN"
41+
knowledge_base_id = oci_adm_knowledge_base.example_knowledge_base.id
4342

4443
#Optional
45-
knowledge_base_id = oci_adm_knowledge_base.example_knowledge_base.id
44+
build_type = "MAVEN"
45+
compartment_id = var.compartment_ocid
4646
application_dependencies {
4747
gav = "com.google.guava:guava:29.0-jre"
4848
node_id = "node_id"
@@ -64,6 +64,28 @@ resource "oci_adm_vulnerability_audit" "example_vulnerability_audit" {
6464
display_name = "Example_Vulnerability_Audit"
6565
}
6666

67+
resource "oci_adm_vulnerability_audit" "example_vulnerability_audit_polyglot" {
68+
#Required
69+
knowledge_base_id = oci_adm_knowledge_base.example_knowledge_base.id
70+
71+
#Optional
72+
build_type = "UNSET"
73+
74+
application_dependencies {
75+
gav = ""
76+
purl = "pkg:deb/ubuntu/openjdk-6@6b30?distro=14.04"
77+
node_id = "node_id"
78+
#Optional
79+
application_dependency_node_ids = []
80+
}
81+
82+
source {
83+
type = "OCI_RESOURCE"
84+
oci_resource_id = "ocid1.example.ocid"
85+
}
86+
display_name = "Example_Polyglot_Vulnerability_Audit"
87+
}
88+
6789
data "oci_adm_knowledge_base" "example_knowledge_base" {
6890
knowledge_base_id = oci_adm_knowledge_base.example_knowledge_base.id
6991
}
@@ -88,3 +110,9 @@ data "oci_adm_vulnerability_audit_application_dependency_vulnerabilities" "examp
88110
gav = "com.google.guava:guava:29.0-jre"
89111
cvss_v2greater_than_or_equal = "1.5"
90112
}
113+
114+
data "oci_adm_vulnerability_audit_application_dependency_vulnerabilities" "example_application_dependency_vulnerabilities_polyglot" {
115+
vulnerability_audit_id = oci_adm_vulnerability_audit.example_vulnerability_audit_polyglot.id
116+
purl = "pkg:deb/ubuntu/openjdk-6@6b30?distro=14.04"
117+
severity_greater_than_or_equal = "LOW"
118+
}

examples/adm/remediation/main.tf

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,7 @@ resource "oci_adm_remediation_recipe" "example_remediation_recipe" {
4747
is_run_triggered_on_kb_change = false
4848
detect_configuration {
4949
exclusions = []
50-
max_permissible_cvss_v2score = 1.5
51-
max_permissible_cvss_v3score = 1.5
50+
max_permissible_severity = "LOW"
5251
upgrade_policy = "NEAREST"
5352
}
5453
network_configuration {
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
// Copyright (c) 2017, 2023, Oracle and/or its affiliates. All rights reserved.
2+
// Licensed under the Mozilla Public License v2.0
3+
4+
variable "tenancy_ocid" {
5+
}
6+
7+
variable "user_ocid" {
8+
}
9+
10+
variable "fingerprint" {
11+
}
12+
13+
variable "private_key_path" {
14+
}
15+
16+
variable "region" {
17+
}
18+
19+
variable "compartment_ocid" {
20+
}
21+
22+
variable "data_safe_target_ocid" {}
23+
24+
provider "oci" {
25+
tenancy_ocid = var.tenancy_ocid
26+
user_ocid = var.user_ocid
27+
fingerprint = var.fingerprint
28+
private_key_path = var.private_key_path
29+
region = var.region
30+
}
31+
32+
resource "oci_data_safe_data_safe_configuration" "test_data_safe_configuration" {
33+
is_enabled = "true"
34+
}
35+
36+
variable "peer_target_database_description" {
37+
default = "description"
38+
}
39+
40+
variable "peer_target_database_display_name" {
41+
default = "peerTargetDatabase1"
42+
}
43+
44+
variable "peerdb_ocid" {}
45+
46+
variable "peerdb_port" {}
47+
48+
variable "service_name" {}
49+
50+
51+
resource "random_string" "autonomous_database_admin_password" {
52+
length = 16
53+
min_numeric = 1
54+
min_lower = 1
55+
min_upper = 1
56+
min_special = 1
57+
}
58+
variable "autonomous_database_db_workload" {
59+
default = "OLTP"
60+
}
61+
62+
variable "autonomous_database_freeform_tags" {
63+
default = {
64+
"Department" = "Finance"
65+
}
66+
}
67+
68+
resource "oci_data_safe_target_database_peer_target_database" "test_target_database_peer_target_database" {
69+
#Required
70+
target_database_id = var.data_safe_target_ocid
71+
database_details {
72+
database_type = "DATABASE_CLOUD_SERVICE"
73+
infrastructure_type = "ORACLE_CLOUD"
74+
db_system_id = var.peerdb_ocid
75+
listener_port = var.peerdb_port
76+
service_name = var.service_name
77+
}
78+
}

examples/datasafe/security_assessment/security_assessment.tf

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ variable "user_ocid" {}
66
variable "fingerprint" {}
77
variable "private_key_path" {}
88
variable "region" {}
9-
variable "compartment_id" {}
9+
variable "compartment_ocid" {}
1010
variable "security_assessment_id" {}
11-
variable "target_id" {}
11+
variable "data_safe_target_ocid" {}
1212

1313

1414
variable "display_name" {
@@ -25,18 +25,18 @@ provider "oci" {
2525

2626
resource "oci_data_safe_security_assessment" "oci_data_safe_security_assessment" {
2727
#Required
28-
compartment_id = var.compartment_id
28+
compartment_id = var.compartment_ocid
2929

3030
#Optional
31-
target_id = var.target_id
31+
target_id = var.data_safe_target_ocid
3232
display_name = var.display_name
3333
}
3434

3535
data "oci_data_safe_security_assessments" "test_security_assessments" {
3636
#Required
37-
compartment_id = var.compartment_id
37+
compartment_id = var.compartment_ocid
3838

3939
#Optional
40-
target_id = var.target_id
40+
target_id = var.data_safe_target_ocid
4141

4242
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
// Copyright (c) 2017, 2023, Oracle and/or its affiliates. All rights reserved.
2+
// Licensed under the Mozilla Public License v2.0
3+
4+
variable "tenancy_ocid" {}
5+
variable "user_ocid" {}
6+
variable "fingerprint" {}
7+
variable "private_key_path" {}
8+
variable "region" {}
9+
variable "compartment_ocid" {}
10+
variable "security_assessment_ocid" {}
11+
variable "data_safe_target_ocid" {}
12+
13+
provider "oci" {
14+
tenancy_ocid = var.tenancy_ocid
15+
user_ocid = var.user_ocid
16+
fingerprint = var.fingerprint
17+
private_key_path = var.private_key_path
18+
region = var.region
19+
}
20+
21+
data "oci_data_safe_security_assessment_finding_analytics" "test_security_assessment_finding_analytics" {
22+
#Required
23+
compartment_id = var.compartment_ocid
24+
access_level = "ACCESSIBLE"
25+
compartment_id_in_subtree = true
26+
}

examples/datasafe/security_assessment_findings/security_assessment_findings.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ variable "fingerprint" {}
77
variable "private_key_path" {}
88
variable "region" {}
99
variable "compartment_ocid" {}
10-
variable "security_assessment_id" {}
11-
variable "target_id" {}
10+
variable "security_assessment_ocid" {}
11+
variable "data_safe_target_ocid" {}
1212

1313
variable "description" {
1414
default = "description"
@@ -29,7 +29,7 @@ provider "oci" {
2929
resource "oci_data_safe_security_assessment" "oci_data_safe_security_assessment" {
3030
#Required
3131
compartment_id = var.compartment_ocid
32-
target_id = var.target_id
32+
target_id = var.data_safe_target_ocid
3333

3434
#Optional
3535
description = var.description
@@ -38,5 +38,5 @@ resource "oci_data_safe_security_assessment" "oci_data_safe_security_assessment"
3838

3939
data "oci_data_safe_security_assessment_findings" "test_security_assessment_findings" {
4040
#Required
41-
security_assessment_id = var.security_assessment_id
41+
security_assessment_id = var.security_assessment_ocid
4242
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
// Copyright (c) 2017, 2023, Oracle and/or its affiliates. All rights reserved.
2+
// Licensed under the Mozilla Public License v2.0
3+
4+
variable "tenancy_ocid" {}
5+
variable "user_ocid" {}
6+
variable "fingerprint" {}
7+
variable "private_key_path" {}
8+
variable "region" {}
9+
variable "compartment_ocid" {}
10+
variable "security_assessment_ocid" {}
11+
variable "data_safe_target_ocid" {}
12+
13+
variable "description" {
14+
default = "description"
15+
}
16+
17+
variable "display_name" {
18+
default = "SA_1"
19+
}
20+
21+
provider "oci" {
22+
tenancy_ocid = var.tenancy_ocid
23+
user_ocid = var.user_ocid
24+
fingerprint = var.fingerprint
25+
private_key_path = var.private_key_path
26+
region = var.region
27+
}
28+
29+
data "oci_data_safe_security_assessment_findings_change_audit_logs" "test_security_assessment_findings_change_audit_logs" {
30+
#Required
31+
security_assessment_id = var.security_assessment_ocid
32+
}
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
// Copyright (c) 2017, 2023, Oracle and/or its affiliates. All rights reserved.
2+
// Licensed under the Mozilla Public License v2.0
3+
4+
variable "tenancy_ocid" {}
5+
variable "user_ocid" {}
6+
variable "fingerprint" {}
7+
variable "private_key_path" {}
8+
variable "region" {}
9+
variable "compartment_ocid" {}
10+
variable "security_assessment_ocid" {}
11+
variable "data_safe_target_ocid" {}
12+
13+
provider "oci" {
14+
tenancy_ocid = var.tenancy_ocid
15+
user_ocid = var.user_ocid
16+
fingerprint = var.fingerprint
17+
private_key_path = var.private_key_path
18+
region = var.region
19+
}
20+
21+
data "oci_data_safe_security_assessment_security_features" "test_security_assessment_security_features" {
22+
#Required
23+
compartment_id = var.compartment_ocid
24+
target_id = var.data_safe_target_ocid
25+
access_level = "ACCESSIBLE"
26+
compartment_id_in_subtree = true
27+
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
// Copyright (c) 2017, 2023, Oracle and/or its affiliates. All rights reserved.
2+
// Licensed under the Mozilla Public License v2.0
3+
4+
variable "tenancy_ocid" {}
5+
variable "user_ocid" {}
6+
variable "fingerprint" {}
7+
variable "private_key_path" {}
8+
variable "region" {}
9+
variable "compartment_ocid" {}
10+
variable "security_assessment_ocid" {}
11+
variable "data_safe_target_ocid" {}
12+
13+
provider "oci" {
14+
tenancy_ocid = var.tenancy_ocid
15+
user_ocid = var.user_ocid
16+
fingerprint = var.fingerprint
17+
private_key_path = var.private_key_path
18+
region = var.region
19+
}
20+
21+
data "oci_data_safe_security_assessment_security_feature_analytics" "test_security_assessment_security_feature_analytics" {
22+
#Required
23+
compartment_id = var.compartment_ocid
24+
access_level = "ACCESSIBLE"
25+
compartment_id_in_subtree = true
26+
}

0 commit comments

Comments
 (0)