wls-eng / arm-oraclelinux-wls

Microsoft Azure ARM Templates to create Oracle Linux VM with pre-installed Weblogic Server
Apache License 2.0
0 stars 7 forks source link

Resolve security issue for CI/CD: secure transfer to storage accounts should be enabled. #319

Closed edburns closed 3 years ago

edburns commented 3 years ago

Because the CI/CD pipeline runs within the Microsoft tenancy, everything that happens during a CI/CD run is subject to the security policy of that tenancy. These policies are constantly evolving as threats evolve. The latest evolution is a requirement to require secure transfer to ensure secure connections to the storage account. Our offers use the storage account for various activities during deployment.

The problem comes with versions of Oracle Linux that are based on RHEL < 7.5. These versions do not support SMB 3.0. I see the following choices:

  1. We move the CI/CD out of the Microsoft tenancy and into the Oracle global sponsored Azure subscription.
    • to keep costs down, I suggest we reduce the CI/CD schedule to just run on repository_dispatch trigger, via CURL command.
  2. We keep the CI/CD in the Microsoft tenancy, but we make it so no Oracle Linux versions based on RHEL < 7.5 are run in CI/CD.
  3. Some combination of both options.

Highlight tech issues:

edburns commented 3 years ago

AB#1330008

edburns commented 3 years ago

We discussed this at the 2021-05-19 meeting and agreed to the following.

To implement this, we must

  1. Give Jacob a new Azure credentials bound to the Oracle tenancy
  2. Modify all the build.yamls to remove the schedule trigger.
galiacheng commented 3 years ago

Current SP is expired, so all the pipelines are failed. I will not create a new one in Open Standard Enterprise Java Testing with TTL = 7 Days. Please change to Oracle tenancy SP.

zhengchang907 commented 3 years ago

PRs: Single Node: https://github.com/wls-eng/arm-oraclelinux-wls/pull/320 Admin: https://github.com/wls-eng/arm-oraclelinux-wls-admin/pull/107 Configured Cluster: https://github.com/wls-eng/arm-oraclelinux-wls-cluster/pull/150 Dynamic Cluster: https://github.com/wls-eng/arm-oraclelinux-wls-dynamic-cluster/pull/138