diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 8137439ac..a8aeb51a8 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -51,7 +51,7 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@d90b8d79de6dc1f58e83a1499aa58d6c93dc28de # v2.22.2 + uses: github/codeql-action/init@0116bc2df50751f9724a2e35ef1f24d22f90e4e1 # v2.22.3 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -62,7 +62,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@d90b8d79de6dc1f58e83a1499aa58d6c93dc28de # v2.22.2 + uses: github/codeql-action/autobuild@0116bc2df50751f9724a2e35ef1f24d22f90e4e1 # v2.22.3 # ℹī¸ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl @@ -76,4 +76,4 @@ jobs: # make release - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@d90b8d79de6dc1f58e83a1499aa58d6c93dc28de # v2.22.2 + uses: github/codeql-action/analyze@0116bc2df50751f9724a2e35ef1f24d22f90e4e1 # v2.22.3 diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index 1b11fdd3c..c685b9e60 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -72,6 +72,6 @@ jobs: # Upload the results to GitHub's code scanning dashboard. - name: "Upload to code-scanning" - uses: github/codeql-action/upload-sarif@d90b8d79de6dc1f58e83a1499aa58d6c93dc28de # v2.22.2 + uses: github/codeql-action/upload-sarif@0116bc2df50751f9724a2e35ef1f24d22f90e4e1 # v2.22.3 with: sarif_file: results.sarif diff --git a/Jenkinsfile b/Jenkinsfile deleted file mode 100644 index dc20f994c..000000000 --- a/Jenkinsfile +++ /dev/null @@ -1,46 +0,0 @@ -pipeline{ - agent { - label 'docker-amt' - } - options { - buildDiscarder(logRotator(numToKeepStr: '5', daysToKeepStr: '30')) - timestamps() - timeout(unit: 'HOURS', time: 2) - } - stages{ - stage('Scan'){ - environment { - PROJECT_NAME = 'OpenAMT - MPS' - SCANNERS = 'protex,checkmarx,snyk' - - // publishArtifacts details - PUBLISH_TO_ARTIFACTORY = true - - SNYK_MANIFEST_FILE = 'package-lock.json' - SNYK_PROJECT_NAME = 'openamt-mps' - } - when { - anyOf { - branch 'main'; - } - } - steps { - script{ - scmCheckout { - clean = true - } - } - rbheStaticCodeScan() - } - } - } - post{ - failure { - script{ - slackBuildNotify { - slackFailureChannel = '#open-amt-cloud-toolkit-build' - } - } - } - } -}