Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vulnerability Management #1706

Closed
wants to merge 174 commits into from
Closed
Show file tree
Hide file tree
Changes from 9 commits
Commits
Show all changes
174 commits
Select commit Hold shift + click to select a range
713e090
Create SECURITY.md
4k4xs4pH1r3 Dec 13, 2020
4fbd7d9
Create codeql-analysis.yml
4k4xs4pH1r3 Dec 13, 2020
76768c4
Create ossar-analysis.yml
4k4xs4pH1r3 Dec 13, 2020
c3773cf
Create veracode-analysis.yml
4k4xs4pH1r3 Dec 13, 2020
618e027
Add .whitesource configuration file
mend-bolt-for-github[bot] Dec 30, 2021
a33455c
Merge branch 'mandiant:master' into master
4k4xs4pH1r3 Aug 11, 2023
313f595
Merge pull request #9 from 4k4xs4pH1r3/whitesource/configure
4k4xs4pH1r3 Aug 11, 2023
4b67c19
Merge branch 'master' into master
4k4xs4pH1r3 Aug 11, 2023
4fe6746
build(deps-dev): bump types-pyyaml from 6.0.8 to 6.0.12.11
dependabot[bot] Aug 14, 2023
6cdc242
build(deps-dev): bump types-protobuf from 4.23.0.3 to 4.24.0.1
dependabot[bot] Aug 14, 2023
f76e9d5
Merge branch 'master' into master
4k4xs4pH1r3 Aug 15, 2023
87abf14
Merge branch 'master' into master
4k4xs4pH1r3 Aug 22, 2023
b1111bf
Merge branch 'master' into master
4k4xs4pH1r3 Aug 29, 2023
1931b98
build(deps-dev): bump isort from 5.11.4 to 5.12.0
dependabot[bot] Aug 29, 2023
ead98af
Merge pull request #26 from 4k4xs4pH1r3/dependabot/pip/isort-5.12.0
4k4xs4pH1r3 Aug 29, 2023
777b201
Merge pull request #29 from 4k4xs4pH1r3/dependabot/pip/types-pyyaml-6…
4k4xs4pH1r3 Aug 29, 2023
0b15177
Merge pull request #30 from 4k4xs4pH1r3/dependabot/pip/types-protobuf…
4k4xs4pH1r3 Aug 29, 2023
32645b0
build(deps-dev): bump types-colorama from 0.4.15.11 to 0.4.15.12
dependabot[bot] Aug 29, 2023
4f12b9e
build(deps-dev): bump pyinstaller from 5.10.1 to 5.13.1
dependabot[bot] Aug 29, 2023
a7dfd46
Merge pull request #31 from 4k4xs4pH1r3/dependabot/pip/types-colorama…
4k4xs4pH1r3 Aug 29, 2023
3099023
Merge pull request #32 from 4k4xs4pH1r3/dependabot/pip/pyinstaller-5.…
4k4xs4pH1r3 Aug 29, 2023
585f17c
.
4k4xs4pH1r3 Aug 29, 2023
a139a65
Add .whitesource configuration file
mend-bolt-for-github[bot] Aug 29, 2023
bb29217
Merge pull request #33 from 4k4xs4pH1r3/whitesource/configure
4k4xs4pH1r3 Aug 29, 2023
f6deca6
.
4k4xs4pH1r3 Aug 29, 2023
4f49597
Add .whitesource configuration file
mend-bolt-for-github[bot] Aug 29, 2023
763c7f1
papeloto replaced by vimtor
4k4xs4pH1r3 Aug 29, 2023
dfbe7e7
.
4k4xs4pH1r3 Aug 29, 2023
71c578e
Merge pull request #34 from 4k4xs4pH1r3/whitesource/configure
4k4xs4pH1r3 Aug 29, 2023
d0d42fd
upgrade .github/workflows/veracode-analysis.yml.
4k4xs4pH1r3 Aug 29, 2023
c28b05c
upgrade .github/workflows/veracode-analysis.yml
4k4xs4pH1r3 Aug 29, 2023
29b44a7
Merge branch 'master' into master
4k4xs4pH1r3 Aug 31, 2023
0ebc019
Merge branch 'master' into master
4k4xs4pH1r3 Sep 13, 2023
91c0425
Merge branch 'master' into master
4k4xs4pH1r3 Sep 25, 2023
3e9aa87
codeql-analysis: restrict to python only
williballenthin Sep 27, 2023
f1858ba
Merge branch 'master' into master
williballenthin Sep 27, 2023
f26758c
Merge branch 'master' into master
4k4xs4pH1r3 Sep 30, 2023
c72070c
build(deps-dev): bump types-psutil from 5.8.23 to 5.9.5.17
dependabot[bot] Oct 16, 2023
3cd0de1
Merge branch 'master' into master
4k4xs4pH1r3 Oct 16, 2023
6c1fb3b
Merge branch 'master' into master
4k4xs4pH1r3 Oct 18, 2023
d2d9417
build(deps-dev): bump types-termcolor from 1.1.4 to 1.1.6.2
dependabot[bot] Oct 23, 2023
02aa32a
Merge branch 'master' into master
4k4xs4pH1r3 Nov 30, 2023
a4e99ac
build(deps-dev): bump pydantic from 2.1.1 to 2.5.2
dependabot[bot] Nov 30, 2023
0a51d6d
build(deps-dev): bump protobuf from 4.23.4 to 4.25.1
dependabot[bot] Nov 30, 2023
20f9992
Merge branch 'master' into master
4k4xs4pH1r3 Jan 26, 2024
06230f4
Merge branch 'master' into master
4k4xs4pH1r3 Jan 31, 2024
6a30a0e
Merge branch 'master' into dependabot/pip/types-psutil-5.9.5.17
4k4xs4pH1r3 Jan 31, 2024
5c76bd2
Merge pull request #50 from 4k4xs4pH1r3/dependabot/pip/types-psutil-5…
4k4xs4pH1r3 Jan 31, 2024
f10b31e
Merge branch 'master' into dependabot/pip/types-termcolor-1.1.6.2
4k4xs4pH1r3 Jan 31, 2024
da27622
Merge pull request #51 from 4k4xs4pH1r3/dependabot/pip/types-termcolo…
4k4xs4pH1r3 Jan 31, 2024
14ae0de
Merge pull request #53 from 4k4xs4pH1r3/dependabot/pip/protobuf-4.25.1
4k4xs4pH1r3 Jan 31, 2024
04f5de8
Merge branch 'master' into dependabot/pip/pydantic-2.5.2
4k4xs4pH1r3 Jan 31, 2024
eebcced
Merge pull request #55 from 4k4xs4pH1r3/dependabot/pip/pydantic-2.5.2
4k4xs4pH1r3 Jan 31, 2024
34a0eab
Create codeql.yml
4k4xs4pH1r3 Jan 31, 2024
f1a7860
build(deps-dev): bump pre-commit from 3.5.0 to 3.6.0
dependabot[bot] Jan 31, 2024
b3e1624
build(deps-dev): bump isort from 5.12.0 to 5.13.2
dependabot[bot] Jan 31, 2024
72adb34
build(deps-dev): bump types-colorama from 0.4.15.12 to 0.4.15.20240106
dependabot[bot] Jan 31, 2024
b99038e
build(deps-dev): bump psutil from 5.9.2 to 5.9.8
dependabot[bot] Jan 31, 2024
46f649a
Merge pull request #57 from 4k4xs4pH1r3/dependabot/pip/pre-commit-3.6.0
4k4xs4pH1r3 Jan 31, 2024
b567127
Merge branch 'master' into dependabot/pip/isort-5.13.2
4k4xs4pH1r3 Jan 31, 2024
45b0e4a
Merge pull request #58 from 4k4xs4pH1r3/dependabot/pip/isort-5.13.2
4k4xs4pH1r3 Jan 31, 2024
90acb34
Merge branch 'master' into dependabot/pip/types-colorama-0.4.15.20240106
4k4xs4pH1r3 Jan 31, 2024
42ff23c
Merge pull request #59 from 4k4xs4pH1r3/dependabot/pip/types-colorama…
4k4xs4pH1r3 Jan 31, 2024
791b0df
Merge branch 'master' into dependabot/pip/psutil-5.9.8
4k4xs4pH1r3 Jan 31, 2024
c8f4623
Merge pull request #60 from 4k4xs4pH1r3/dependabot/pip/psutil-5.9.8
4k4xs4pH1r3 Jan 31, 2024
db022be
build(deps-dev): bump types-pyyaml from 6.0.12.11 to 6.0.12.12
dependabot[bot] Jan 31, 2024
d832678
Merge pull request #61 from 4k4xs4pH1r3/dependabot/pip/types-pyyaml-6…
4k4xs4pH1r3 Jan 31, 2024
bd03e20
build(deps-dev): bump types-psutil from 5.9.5.17 to 5.9.5.20240106
dependabot[bot] Jan 31, 2024
8ee1715
build(deps-dev): bump ruff from 0.1.14 to 0.1.15
dependabot[bot] Jan 31, 2024
e981a51
build(deps-dev): bump protobuf from 4.25.1 to 4.25.2
dependabot[bot] Jan 31, 2024
bda04f2
build(deps-dev): bump networkx from 3.1 to 3.2.1
dependabot[bot] Jan 31, 2024
bdac516
build(deps-dev): bump pydantic from 2.5.2 to 2.6.0
dependabot[bot] Jan 31, 2024
59e22da
Merge pull request #62 from 4k4xs4pH1r3/dependabot/pip/types-psutil-5…
4k4xs4pH1r3 Jan 31, 2024
ef0b327
Merge branch 'master' into dependabot/pip/ruff-0.1.15
4k4xs4pH1r3 Jan 31, 2024
a51c1e9
Merge pull request #63 from 4k4xs4pH1r3/dependabot/pip/ruff-0.1.15
4k4xs4pH1r3 Jan 31, 2024
b7e50a5
Merge branch 'master' into dependabot/pip/protobuf-4.25.2
4k4xs4pH1r3 Jan 31, 2024
76ce0ab
Merge pull request #64 from 4k4xs4pH1r3/dependabot/pip/protobuf-4.25.2
4k4xs4pH1r3 Jan 31, 2024
1bda85e
Merge branch 'master' into dependabot/pip/networkx-3.2.1
4k4xs4pH1r3 Jan 31, 2024
c8b64fd
Merge pull request #65 from 4k4xs4pH1r3/dependabot/pip/networkx-3.2.1
4k4xs4pH1r3 Jan 31, 2024
31b28c1
Merge branch 'master' into dependabot/pip/pydantic-2.6.0
4k4xs4pH1r3 Jan 31, 2024
5aa200d
Merge pull request #66 from 4k4xs4pH1r3/dependabot/pip/pydantic-2.6.0
4k4xs4pH1r3 Jan 31, 2024
8527581
Update README.md
4k4xs4pH1r3 Jan 31, 2024
487bea3
[StepSecurity] Apply security best practices
step-security-bot Jan 31, 2024
4489b6e
Merge pull request #68 from step-security-bot/stepsecurity_remediatio…
4k4xs4pH1r3 Jan 31, 2024
7f85805
build(deps): bump actions/checkout from 2.7.0 to 4.1.1
dependabot[bot] Jan 31, 2024
f66180d
build(deps): bump svenstaro/upload-release-action from 2.4.0 to 2.7.0
dependabot[bot] Jan 31, 2024
32348a0
build(deps): bump ad-m/github-push-action
dependabot[bot] Jan 31, 2024
9937bd0
build(deps): bump actions/dependency-review-action from 2.5.1 to 4.0.0
dependabot[bot] Jan 31, 2024
df2b134
build(deps): bump actions/setup-java from 3.11.0 to 4.0.0
dependabot[bot] Jan 31, 2024
8f1f0db
build(deps-dev): bump types-tabulate from 0.9.0.3 to 0.9.0.20240106
dependabot[bot] Jan 31, 2024
8a5847e
build(deps-dev): bump types-protobuf from 4.24.0.1 to 4.24.0.20240129
dependabot[bot] Jan 31, 2024
701dd3c
Merge pull request #69 from 4k4xs4pH1r3/dependabot/github_actions/act…
4k4xs4pH1r3 Jan 31, 2024
08b52b1
Merge branch 'master' into dependabot/github_actions/svenstaro/upload…
4k4xs4pH1r3 Jan 31, 2024
425cfe2
Merge pull request #70 from 4k4xs4pH1r3/dependabot/github_actions/sve…
4k4xs4pH1r3 Jan 31, 2024
4bc8bc9
Merge branch 'master' into dependabot/github_actions/ad-m/github-push…
4k4xs4pH1r3 Jan 31, 2024
0179c5f
Merge pull request #71 from 4k4xs4pH1r3/dependabot/github_actions/ad-…
4k4xs4pH1r3 Jan 31, 2024
6f0ac68
Merge branch 'master' into dependabot/github_actions/actions/dependen…
4k4xs4pH1r3 Jan 31, 2024
7ca05f7
Merge pull request #72 from 4k4xs4pH1r3/dependabot/github_actions/act…
4k4xs4pH1r3 Jan 31, 2024
5a4bc21
Merge branch 'master' into dependabot/github_actions/actions/setup-ja…
4k4xs4pH1r3 Jan 31, 2024
f7ff5ae
Merge pull request #73 from 4k4xs4pH1r3/dependabot/github_actions/act…
4k4xs4pH1r3 Jan 31, 2024
ac976e6
Merge branch 'master' into dependabot/pip/types-tabulate-0.9.0.20240106
4k4xs4pH1r3 Jan 31, 2024
94568fe
Merge pull request #74 from 4k4xs4pH1r3/dependabot/pip/types-tabulate…
4k4xs4pH1r3 Jan 31, 2024
02ef7ad
Merge branch 'master' into dependabot/pip/types-protobuf-4.24.0.20240129
4k4xs4pH1r3 Jan 31, 2024
515db1b
Merge pull request #75 from 4k4xs4pH1r3/dependabot/pip/types-protobuf…
4k4xs4pH1r3 Jan 31, 2024
63382c2
Create codacy.yml
4k4xs4pH1r3 Jan 31, 2024
8a6cc62
Create snyk-security.yml
4k4xs4pH1r3 Jan 31, 2024
144afbf
Create sysdig-scan.yml
4k4xs4pH1r3 Jan 31, 2024
bf657f9
Create apisec-scan.yml
4k4xs4pH1r3 Jan 31, 2024
f33f896
Create bandit.yml
4k4xs4pH1r3 Jan 31, 2024
825f0c3
Create checkmarx-one.yml
4k4xs4pH1r3 Jan 31, 2024
a566612
Create checkmarx.yml
4k4xs4pH1r3 Jan 31, 2024
6c5ae71
Create crda.yml
4k4xs4pH1r3 Jan 31, 2024
fcc7a7c
Create devskim.yml
4k4xs4pH1r3 Jan 31, 2024
9302121
Create defender-for-devops.yml
4k4xs4pH1r3 Jan 31, 2024
44e2b3b
Create endorlabs.yml
4k4xs4pH1r3 Jan 31, 2024
7724cb6
Create ethicalcheck.yml
4k4xs4pH1r3 Jan 31, 2024
b49cf28
Create frogbot-scan-and-fix.yml
4k4xs4pH1r3 Jan 31, 2024
0cd0dd1
Create frogbot-scan-pr.yml
4k4xs4pH1r3 Jan 31, 2024
559e6a1
Create mayhem-for-api.yml
4k4xs4pH1r3 Jan 31, 2024
eca8150
Create fortify.yml
4k4xs4pH1r3 Jan 31, 2024
0e1b76c
Create ossar.yml
4k4xs4pH1r3 Jan 31, 2024
6cdf4e8
Create pyre.yml
4k4xs4pH1r3 Jan 31, 2024
61134c2
Create pysa.yml
4k4xs4pH1r3 Jan 31, 2024
c78b54a
Create semgrep.yml
4k4xs4pH1r3 Jan 31, 2024
2ce5c1d
Create stackhawk.yml
4k4xs4pH1r3 Jan 31, 2024
cc7c2e9
Create synopsys-action.yml
4k4xs4pH1r3 Jan 31, 2024
2eea8d6
Create synopsys-io.yml
4k4xs4pH1r3 Jan 31, 2024
5982a2b
Create veracode.yml
4k4xs4pH1r3 Jan 31, 2024
b55f014
Create anchore-syft.yml
4k4xs4pH1r3 Jan 31, 2024
0f650a7
Create anchore.yml
4k4xs4pH1r3 Jan 31, 2024
2a0a5be
Create hadolint.yml
4k4xs4pH1r3 Jan 31, 2024
573537e
Create snyk-container.yml
4k4xs4pH1r3 Jan 31, 2024
830a89a
Create trivy.yml
4k4xs4pH1r3 Jan 31, 2024
c81c2db
Create bearer.yml
4k4xs4pH1r3 Jan 31, 2024
6e46160
Create brakeman.yml
4k4xs4pH1r3 Jan 31, 2024
0f4ff31
Create clj-holmes.yml
4k4xs4pH1r3 Jan 31, 2024
44e9b11
Create codescan.yml
4k4xs4pH1r3 Jan 31, 2024
e6d61ec
Create clj-watson.yml
4k4xs4pH1r3 Jan 31, 2024
af30ea8
Create cloudrail.yml
4k4xs4pH1r3 Jan 31, 2024
98d123d
Create contrast-scan.yml
4k4xs4pH1r3 Jan 31, 2024
993df1d
Create credo.yml
4k4xs4pH1r3 Jan 31, 2024
f7fd3a0
Create crunch42.yml
4k4xs4pH1r3 Jan 31, 2024
b4560b2
Create datree.yml
4k4xs4pH1r3 Jan 31, 2024
1530500
Create detekt.yml
4k4xs4pH1r3 Jan 31, 2024
d1bc393
Create eslint.yml
4k4xs4pH1r3 Jan 31, 2024
ee7c411
Create flawfinder.yml
4k4xs4pH1r3 Jan 31, 2024
97ab8dd
Create jscrambler-code-integrity.yml
4k4xs4pH1r3 Jan 31, 2024
c92e9a6
Create kubesec.yml
4k4xs4pH1r3 Jan 31, 2024
34b1efd
Create lintr.yml
4k4xs4pH1r3 Jan 31, 2024
c750914
Create mobsf.yml
4k4xs4pH1r3 Jan 31, 2024
4a0f245
Create msvc.yml
4k4xs4pH1r3 Jan 31, 2024
fdee965
Create njsscan.yml
4k4xs4pH1r3 Jan 31, 2024
901bc45
Create nowsecure-mobile-sbom.yml
4k4xs4pH1r3 Jan 31, 2024
b483a8c
Create nowsecure.yml
4k4xs4pH1r3 Jan 31, 2024
7907f8f
Create phpmd.yml
4k4xs4pH1r3 Jan 31, 2024
3755803
Create pmd.yml
4k4xs4pH1r3 Jan 31, 2024
151e96b
Create powershell.yml
4k4xs4pH1r3 Jan 31, 2024
8648a3f
Create prisma.yml
4k4xs4pH1r3 Jan 31, 2024
715621d
Create psalm.yml
4k4xs4pH1r3 Jan 31, 2024
2d141f0
Create puppet-lint.yml
4k4xs4pH1r3 Jan 31, 2024
5eac9ca
Create rubocop.yml
4k4xs4pH1r3 Jan 31, 2024
9aab629
Create rust-clippy.yml
4k4xs4pH1r3 Jan 31, 2024
25bcaa3
Create securitycodescan.yml
4k4xs4pH1r3 Jan 31, 2024
a372e47
Create snyk-infrastructure.yml
4k4xs4pH1r3 Jan 31, 2024
35ed57d
Create sobelow.yml
4k4xs4pH1r3 Jan 31, 2024
1786b69
Create sonarcloud.yml
4k4xs4pH1r3 Jan 31, 2024
0c1bd00
Create sonarqube.yml
4k4xs4pH1r3 Jan 31, 2024
b778df0
Create soos-dast-scan.yml
4k4xs4pH1r3 Jan 31, 2024
36fa405
Create tfsec.yml
4k4xs4pH1r3 Jan 31, 2024
9e37fe8
Create xanitizer.yml
4k4xs4pH1r3 Jan 31, 2024
9b15eff
Create zscaler-iac-scan.yml
4k4xs4pH1r3 Jan 31, 2024
135b3d0
Create zscan.yml
4k4xs4pH1r3 Jan 31, 2024
10a97e4
Create cleanthat.yaml
4k4xs4pH1r3 Jan 31, 2024
edd55da
Update dependabot.yml
4k4xs4pH1r3 Jan 31, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
67 changes: 67 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"

on:
push:
branches: [ master ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ master ]
schedule:
- cron: '37 11 * * 4'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
language: [ 'python' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
# Learn more:
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed

steps:
- name: Checkout repository
uses: actions/checkout@v2

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# 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@v1

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
49 changes: 49 additions & 0 deletions .github/workflows/ossar-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# This workflow integrates a collection of open source static analysis tools
# with GitHub code scanning. For documentation, or to provide feedback, visit
# https://github.com/github/ossar-action
name: OSSAR

on:
push:
pull_request:

jobs:
OSSAR-Scan:
# OSSAR runs on windows-latest.
# ubuntu-latest and macos-latest support coming soon
runs-on: windows-latest

steps:
# Checkout your code repository to scan
- name: Checkout repository
uses: actions/checkout@v2
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
fetch-depth: 2

# If this run was triggered by a pull request event, then checkout
# the head of the pull request instead of the merge commit.
- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}

# Ensure a compatible version of dotnet is installed.
# The [Microsoft Security Code Analysis CLI](https://aka.ms/mscadocs) is built with dotnet v3.1.201.
# A version greater than or equal to v3.1.201 of dotnet must be installed on the agent in order to run this action.
# GitHub hosted runners already have a compatible version of dotnet installed and this step may be skipped.
# For self-hosted runners, ensure dotnet version 3.1.201 or later is installed by including this action:
# - name: Install .NET
# uses: actions/setup-dotnet@v1
# with:
# dotnet-version: '3.1.x'

# Run open source static analysis tools
- name: Run OSSAR
uses: github/ossar-action@v1
id: ossar

# Upload results to the Security tab
- name: Upload OSSAR results
uses: github/codeql-action/upload-sarif@v1
with:
sarif_file: ${{ steps.ossar.outputs.sarifFile }}
60 changes: 60 additions & 0 deletions .github/workflows/veracode-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# This workflow will initiate a Veracode Static Analysis Pipeline scan, return a results.json and convert to SARIF for upload as a code scanning alert

name: Veracode Static Analysis Pipeline Scan

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a job to build and submit pipeline scan, you will need to customize the build process accordingly and make sure the artifact you build is used as the file input to the pipeline scan file parameter
build-and-pipeline-scan:
# The type of runner that the job will run on
runs-on: ubuntu-latest
steps:

# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it and copies all sources into ZIP file for submitting for analysis. Replace this section with your applications build steps
- uses: actions/checkout@v2
with:
repository: ''

- uses: papeloto/action-zip@v1
4k4xs4pH1r3 marked this conversation as resolved.
Show resolved Hide resolved
with:
files: /
recursive: true
dest: veracode-pipeline-scan-results-to-sarif.zip

- uses: actions/upload-artifact@v1
with:
name: my-artifact
path: veracode-pipeline-scan-results-to-sarif.zip

# download the Veracode Static Analysis Pipeline scan jar
- uses: wei/curl@master
with:
args: -O https://downloads.veracode.com/securityscan/pipeline-scan-LATEST.zip
- run: unzip -o pipeline-scan-LATEST.zip

- uses: actions/setup-java@v1
with:
java-version: 1.8
- run: java -jar pipeline-scan.jar --veracode_api_id "${{secrets.VERACODE_API_ID}}" --veracode_api_key "${{secrets.VERACODE_API_KEY}}" --fail_on_severity="Very High, High" --file veracode-pipeline-scan-results-to-sarif.zip
continue-on-error: true
- uses: actions/upload-artifact@v1
with:
name: ScanResults
path: results.json
- name: Convert pipeline scan output to SARIF format
id: convert
uses: veracode/veracode-pipeline-scan-results-to-sarif@master
with:
pipeline-results-json: results.json
- uses: github/codeql-action/upload-sarif@v1
with:
# Path to SARIF file relative to the root of the repository
sarif_file: veracode-results.sarif
12 changes: 12 additions & 0 deletions .whitesource
4k4xs4pH1r3 marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"scanSettings": {
"baseBranches": []
},
"checkRunSettings": {
"vulnerableCheckRunConclusionLevel": "failure",
"displayMode": "diff"
},
"issueSettings": {
"minSeverityLevel": "LOW"
}
}
21 changes: 21 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Security Policy

## Supported Versions

Use this section to tell people about which versions of your project are
currently being supported with security updates.

| Version | Supported |
| ------- | ------------------ |
| 5.1.x | :white_check_mark: |
| 5.0.x | :x: |
| 4.0.x | :white_check_mark: |
| < 4.0 | :x: |

## Reporting a Vulnerability

Use this section to tell people how to report a vulnerability.

Tell them where to go, how often they can expect to get an update on a
reported vulnerability, what to expect if the vulnerability is accepted or
declined, etc.
Comment on lines +5 to +21
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.