Skip to content

Commit c435cfe

Browse files
author
RahulMR42
committed
fixing code repo policies
1 parent 075aaa2 commit c435cfe

File tree

3 files changed

+6
-3
lines changed
  • oci-coderepo-examples

3 files changed

+6
-3
lines changed

oci-coderepo-examples/oci-devops-coderepo-with-bitbucketcloud/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ A sample illustration of [Bitbucket Cloud ](https://bitbucket.org/product?&aceid
6262
- Create a `Dynamic group` with the below rules.
6363
6464
```
65-
ALL {resource.type = 'devopsconnection', resource.compartment.id = 'ocid1.compartment.oc1..xxxxx'}
65+
ALL {resource.type = 'devopsconnection', resource.compartment.id = 'COMPARMENT OCID'}
66+
ALL {resource.type = 'devopsrepository', resource.compartment.id = 'COMPARMENT OCID'}
6667
```
6768
6869
- Create a policy (Ensure to create it under the ROOT of tenancy) for the dynamic groups with the below policy statement.

oci-coderepo-examples/oci-devops-coderepo-with-github/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ A sample illustration of [Github](https://github.com/) code repo integration wit
6969
- Create a `Dynamic group` with below rules .
7070
7171
```
72-
ALL {resource.type = 'devopsconnection', resource.compartment.id = 'ocid1.compartment.oc1..xxxxx'}
72+
ALL {resource.type = 'devopsconnection', resource.compartment.id = 'COMPARMENT OCID'}
73+
ALL {resource.type = 'devopsrepository', resource.compartment.id = 'COMPARMENT OCID'}
7374
```
7475
7576
![](images/oci-dg.png)

oci-coderepo-examples/oci-devops-coderepo-with-gitlab/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ A sample illustration of [Gitlab](https://gitlab.com/) code repo integration wit
6565
- Create a `Dynamic group` with below rules .
6666
6767
```
68-
ALL {resource.type = 'devopsconnection', resource.compartment.id = 'ocid1.compartment.oc1..xxxxx'}
68+
ALL {resource.type = 'devopsconnection', resource.compartment.id = 'COMPARMENT OCID'}
69+
ALL {resource.type = 'devopsrepository', resource.compartment.id = 'COMPARMENT OCID'}
6970
```
7071
7172
![](images/oci-dg.png)

0 commit comments

Comments
 (0)