From 2662ba58f3b8432ce8b730128656708569e012b3 Mon Sep 17 00:00:00 2001 From: vandersonpaim Date: Wed, 27 Mar 2024 16:28:37 -0300 Subject: [PATCH 1/4] feature(security): add script on-demand type node [3187326] --- .github/CODEOWNERS | 1 + .github/philips-repo.yaml | 10 ++++++++++ .github/workflows/on-demand-blackduck.yml | 23 +++++++++++++++++++++++ .github/workflows/on-demand-fortify.yml | 21 +++++++++++++++++++++ 4 files changed, 55 insertions(+) create mode 100644 .github/CODEOWNERS create mode 100644 .github/philips-repo.yaml create mode 100644 .github/workflows/on-demand-blackduck.yml create mode 100644 .github/workflows/on-demand-fortify.yml diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..2c24321 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +* @philips-internal/date-functions diff --git a/.github/philips-repo.yaml b/.github/philips-repo.yaml new file mode 100644 index 0000000..d24d9eb --- /dev/null +++ b/.github/philips-repo.yaml @@ -0,0 +1,10 @@ +version: 1 + +# Business category according to https://share.philips.com/sites/SWCoE/Lists/List%20of%20Business%20Categories/AllItems.aspx +business-category: 32 # EMR +business-category-details: https://share.philips.com/sites/SWCoE/Lists/List%20of%20Business%20Categories/DispForm.aspx?ID=32 + +# Export control according to https://portal.internal.philips/catalog/default/component/developer-portal/docs/export-control +export-control-eccn: EAR99 +export-control-rationale: Based on export control screening questionnaire results +export-control-sgi: 3 diff --git a/.github/workflows/on-demand-blackduck.yml b/.github/workflows/on-demand-blackduck.yml new file mode 100644 index 0000000..fb45e35 --- /dev/null +++ b/.github/workflows/on-demand-blackduck.yml @@ -0,0 +1,23 @@ +name: 'BlackDuck On-Demand Scan' + +run-name: 'BlackDuck Scan on (#${{inputs.branch}}) branch' + +on: + workflow_dispatch: + inputs: + branch: + type: string + description: Branch + required: true + +jobs: + black_duck_scan: + name: 'BlackDuck Scan' + uses: philips-internal/emr-devops-actions/.github/workflows/reusable_blackduck_node_scan.yml@develop + with: + repository_name: 'date-functions' + project_name: 'EMR-CM-TECHNOLOGY' + repository_url: 'philips-internal/date-functions' + branch: ${{inputs.branch}} + runner: 'philips-emr-bnu' + secrets: inherit diff --git a/.github/workflows/on-demand-fortify.yml b/.github/workflows/on-demand-fortify.yml new file mode 100644 index 0000000..b7d241b --- /dev/null +++ b/.github/workflows/on-demand-fortify.yml @@ -0,0 +1,21 @@ +name: 'Fortify On-Demand Scan' + +run-name: 'Fortify Scan on (#${{inputs.branch}}) branch' + +on: + workflow_dispatch: + inputs: + branch: + type: string + description: Branch + required: true +jobs: + fortify_scan: + name: 'Fortify Scan' + uses: philips-internal/emr-devops-actions/.github/workflows/reusable_fortify_node_scan.yml@develop + with: + repository_name: 'date-functions' + application: 'EMR-CM-TECHNOLOGY' + repository_url: 'philips-internal/date-functions' + branch: ${{inputs.branch}} + secrets: inherit From de1d4fdba28fb271b38a9bc03905ad19ff222c1e Mon Sep 17 00:00:00 2001 From: Vanderson Paim <77120548+vandersonpaim@users.noreply.github.com> Date: Wed, 27 Mar 2024 17:00:26 -0300 Subject: [PATCH 2/4] feature(security): Update CODEOWNERS [3187326] --- .github/CODEOWNERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 2c24321..5c68e87 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1 +1 @@ -* @philips-internal/date-functions +* @philips-emr/date-functions From 7ae4a4efbdee8f40f355f4db9fb530e16e03c7cc Mon Sep 17 00:00:00 2001 From: Vanderson Paim <77120548+vandersonpaim@users.noreply.github.com> Date: Wed, 27 Mar 2024 17:01:13 -0300 Subject: [PATCH 3/4] feature(security): Delete .github/CODEOWNERS [3187326] --- .github/CODEOWNERS | 1 - 1 file changed, 1 deletion(-) delete mode 100644 .github/CODEOWNERS diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS deleted file mode 100644 index 5c68e87..0000000 --- a/.github/CODEOWNERS +++ /dev/null @@ -1 +0,0 @@ -* @philips-emr/date-functions From 938acc2f11d4517109550e00ba0e26229fc720ff Mon Sep 17 00:00:00 2001 From: Vanderson Paim <77120548+vandersonpaim@users.noreply.github.com> Date: Wed, 27 Mar 2024 17:04:15 -0300 Subject: [PATCH 4/4] feature(security): Delete .github/philips-repo.yaml [3187326] --- .github/philips-repo.yaml | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 .github/philips-repo.yaml diff --git a/.github/philips-repo.yaml b/.github/philips-repo.yaml deleted file mode 100644 index d24d9eb..0000000 --- a/.github/philips-repo.yaml +++ /dev/null @@ -1,10 +0,0 @@ -version: 1 - -# Business category according to https://share.philips.com/sites/SWCoE/Lists/List%20of%20Business%20Categories/AllItems.aspx -business-category: 32 # EMR -business-category-details: https://share.philips.com/sites/SWCoE/Lists/List%20of%20Business%20Categories/DispForm.aspx?ID=32 - -# Export control according to https://portal.internal.philips/catalog/default/component/developer-portal/docs/export-control -export-control-eccn: EAR99 -export-control-rationale: Based on export control screening questionnaire results -export-control-sgi: 3