Skip to content

Commit 4ca4d62

Browse files
committed
Modify some components
1 parent 4008a6c commit 4ca4d62

File tree

22 files changed

+181
-101
lines changed

22 files changed

+181
-101
lines changed

security/security-design/fn-datasafe-dbaudit-to-oci-logging/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
# Data Safe Audit DB to OCI Logging
2+
3+
Owner: Fabrizio Zarri
4+
25
Oracle Data Safe is a fully-integrated, regional Cloud service focused on data security. It provides a complete and integrated set of features of the Oracle Cloud Infrastructure (OCI) for protecting sensitive and regulated data in Oracle databases.
36

47
Oracle Data Safe delivers essential security services for Oracle Autonomous Database, Exadata Database on Dedicated Infrastructure, Oracle Base Database and Oracle Databases running in OCI. Data Safe also supports on-premises Oracle Databases, Exadata Database on Cloud@Customer, and multicloud deployments. All Oracle Database customers can reduce the risk of a data breach and simplify compliance by using Data Safe to assess configuration and user risk, monitor and audit user activity, and discover, classify, and mask sensitive data.

security/security-design/fn-datasafe-dbaudit-to-oci-logging/terraform/buckets.tf

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1+
###############################################################################
2+
# Copyright (c) 2022, 2023, Oracle and/or its affiliates. All rights reserved.
3+
# This software is dual-licensed to you under the Universal Permissive License
4+
# (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl.
5+
###############################################################################
6+
#
7+
# Author: Fabrizio Zarri
8+
#
19
################################################################################
2-
# Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved.
3-
# This software is dual-licensed to you under the Universal Permissive
4-
# License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl
5-
################################################################################
6-
710

811
data "oci_objectstorage_namespace" "bucket_namespace" {
912
compartment_id = var.compartment_ocid

security/security-design/fn-datasafe-dbaudit-to-oci-logging/terraform/container_repository.tf

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1+
###############################################################################
2+
# Copyright (c) 2022, 2023, Oracle and/or its affiliates. All rights reserved.
3+
# This software is dual-licensed to you under the Universal Permissive License
4+
# (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl.
5+
###############################################################################
6+
#
7+
# Author: Fabrizio Zarri
8+
#
19
################################################################################
2-
# Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved.
3-
# This software is dual-licensed to you under the Universal Permissive
4-
# License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl
5-
################################################################################
6-
7-
810

911
# Container Registry Policies
1012

security/security-design/fn-datasafe-dbaudit-to-oci-logging/terraform/datasources.tf

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1+
###############################################################################
2+
# Copyright (c) 2022, 2023, Oracle and/or its affiliates. All rights reserved.
3+
# This software is dual-licensed to you under the Universal Permissive License
4+
# (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl.
5+
###############################################################################
6+
#
7+
# Author: Fabrizio Zarri
8+
#
19
################################################################################
2-
# Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved.
3-
# This software is dual-licensed to you under the Universal Permissive
4-
# License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl
5-
################################################################################
6-
710

811
data "oci_identity_region_subscriptions" "home_region_subscriptions" {
912
tenancy_id = var.tenancy_ocid

security/security-design/fn-datasafe-dbaudit-to-oci-logging/terraform/function/oci-datasafe-audit-to-logging/func.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1-
################################################################################
2-
# Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved.
3-
# This software is dual-licensed to you under the Universal Permissive
4-
# License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl
1+
###############################################################################
2+
# Copyright (c) 2022, 2023, Oracle and/or its affiliates. All rights reserved.
3+
# This software is dual-licensed to you under the Universal Permissive License
4+
# (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl.
5+
###############################################################################
6+
#
7+
# Author: Fabrizio Zarri
8+
#
59
################################################################################
610

711
import json

security/security-design/fn-datasafe-dbaudit-to-oci-logging/terraform/function/oci-datasafe-audit-to-logging/set-fn-config.sh

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1-
################################################################################
2-
# Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved.
3-
# This software is dual-licensed to you under the Universal Permissive
4-
# License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl
1+
###############################################################################
2+
# Copyright (c) 2022, 2023, Oracle and/or its affiliates. All rights reserved.
3+
# This software is dual-licensed to you under the Universal Permissive License
4+
# (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl.
5+
###############################################################################
6+
#
7+
# Author: Fabrizio Zarri
8+
#
59
################################################################################
610

711
. ./set-local-vars.sh

security/security-design/fn-datasafe-dbaudit-to-oci-logging/terraform/function/oci-datasafe-audit-to-logging/set-local-vars.sh_sample

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1-
################################################################################
2-
# Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved.
3-
# This software is dual-licensed to you under the Universal Permissive
4-
# License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl
1+
###############################################################################
2+
# Copyright (c) 2022, 2023, Oracle and/or its affiliates. All rights reserved.
3+
# This software is dual-licensed to you under the Universal Permissive License
4+
# (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl.
5+
###############################################################################
6+
#
7+
# Author: Fabrizio Zarri
8+
#
59
################################################################################
610

711
#Master config file for setting up the environment.

security/security-design/fn-datasafe-dbaudit-to-oci-logging/terraform/functions.tf

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1-
################################################################################
2-
# Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved.
3-
# This software is dual-licensed to you under the Universal Permissive
4-
# License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl
1+
###############################################################################
2+
# Copyright (c) 2022, 2023, Oracle and/or its affiliates. All rights reserved.
3+
# This software is dual-licensed to you under the Universal Permissive License
4+
# (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl.
5+
###############################################################################
6+
#
7+
# Author: Fabrizio Zarri
8+
#
59
################################################################################
610

711

security/security-design/fn-datasafe-dbaudit-to-oci-logging/terraform/locals.tf

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
1-
################################################################################
2-
# Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved.
3-
# This software is dual-licensed to you under the Universal Permissive
4-
# License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl
1+
###############################################################################
2+
# Copyright (c) 2022, 2023, Oracle and/or its affiliates. All rights reserved.
3+
# This software is dual-licensed to you under the Universal Permissive License
4+
# (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl.
5+
###############################################################################
6+
#
7+
# Author: Fabrizio Zarri
8+
#
59
################################################################################
610

711
locals {
812
ocir_docker_repository = join("", [lower(lookup(data.oci_identity_regions.oci_regions.regions[0], "key")), ".ocir.io"])
9-
# ocir_namespace = lookup(data.oci_identity_tenancy.oci_tenancy, "name" )
1013
ocir_namespace = lookup(data.oci_objectstorage_namespace.namespace, "namespace")
1114
namespace = lookup(data.oci_objectstorage_namespace.namespace, "namespace")
1215
compartment_name = lookup(data.oci_identity_compartment.compartment, "name")

security/security-design/fn-datasafe-dbaudit-to-oci-logging/terraform/logging.tf

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1-
################################################################################
2-
# Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved.
3-
# This software is dual-licensed to you under the Universal Permissive
4-
# License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl
1+
###############################################################################
2+
# Copyright (c) 2022, 2023, Oracle and/or its affiliates. All rights reserved.
3+
# This software is dual-licensed to you under the Universal Permissive License
4+
# (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl.
5+
###############################################################################
6+
#
7+
# Author: Fabrizio Zarri
8+
#
59
################################################################################
610

711
resource "oci_logging_log_group" "log_group" {

0 commit comments

Comments
 (0)