-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into dependabot/github_actions/microsoft/setup-…
…msbuild-2.0.0
- Loading branch information
Showing
6 changed files
with
83 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,66 @@ | ||
version: 2.1 | ||
|
||
orbs: | ||
general-platform-helpers: okta/[email protected] | ||
general-platform-helpers: okta/[email protected] | ||
python: circleci/[email protected] | ||
aws-cli: circleci/[email protected] | ||
|
||
jobs: | ||
|
||
reversing-labs: | ||
docker: | ||
- image: cimg/openjdk:17.0.7 | ||
steps: | ||
- checkout | ||
|
||
- run: | ||
name: Install Python | ||
command: | | ||
sudo apt-get update | ||
sudo apt-get install -y python3 python3-pip | ||
sudo pip install --upgrade pip | ||
- run: | ||
name: Download Reverse Labs Scanner | ||
command: | | ||
curl https://dso-resources.oktasecurity.com/scanner \ | ||
-H "x-api-key: $DSO_RLSECURE_TOKEN" \ | ||
--output rl_wrapper-0.0.2+35ababa-py3-none-any.whl | ||
# Install the wrapper that was downloaded | ||
- run: | ||
name: Install RL Wrapper | ||
command: | | ||
pip install ./rl_wrapper-0.0.2+35ababa-py3-none-any.whl | ||
# Setup the AWS profile | ||
- aws-cli/setup: | ||
profile_name: default | ||
role_arn: $AWS_ARN | ||
region: us-east-1 | ||
# Get the credentials and save to env | ||
- run: >- | ||
eval "$(aws configure export-credentials --profile default --format env)" 2> /dev/null | ||
# Run the wrapper, do not change anything here | ||
- run: | ||
name: Run Reversing Labs Wrapper Scanner | ||
command: | | ||
rl-wrapper \ | ||
--artifact ${CIRCLE_WORKING_DIRECTORY/#\~/$HOME} \ | ||
--name $CIRCLE_PROJECT_REPONAME\ | ||
--version $CIRCLE_SHA1\ | ||
--repository $CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME \ | ||
--commit $CIRCLE_SHA1 \ | ||
--build-env "circleci" \ | ||
--suppress_output | ||
workflows: | ||
# See OKTA-624620 | ||
semgrep: | ||
jobs: | ||
- general-platform-helpers/job-semgrep-prepare: | ||
name: semgrep-prepare | ||
- general-platform-helpers/job-semgrep-scan: | ||
name: "Scan with Semgrep" | ||
requires: | ||
- semgrep-prepare | ||
context: | ||
- static-analysis | ||
|
||
"Malware Scanner": | ||
jobs: | ||
- reversing-labs: | ||
context: | ||
- static-analysis |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -72,7 +72,7 @@ jobs: | |
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ilammy/msvc-dev-cmd@v1.12.1 | ||
- uses: ilammy/msvc-dev-cmd@v1.13.0 | ||
- uses: microsoft/[email protected] | ||
|
||
- name: Set up GraalVM | ||
|
@@ -84,7 +84,7 @@ jobs: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Configure Pagefile | ||
uses: al-cheb/configure-pagefile-action@v1.3 | ||
uses: al-cheb/configure-pagefile-action@v1.4 | ||
|
||
- name: Setup Pagefile | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters