Skip to content

Commit

Permalink
Merge pull request #163 from MaibornWolff/dev
Browse files Browse the repository at this point in the history
chore: merge to main for release 2024_04
  • Loading branch information
StefanFl authored Apr 24, 2024
2 parents 3695996 + b681a7b commit f9a5c16
Show file tree
Hide file tree
Showing 34 changed files with 119 additions and 13 deletions.
3 changes: 3 additions & 0 deletions actions/DAST/cryptolyzer/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ inputs:
so_product_name:
description: 'Name of the product which observations are imported. The product has to exist before starting the import.'
required: true
so_branch_name:
description: 'Name of the product branch which observations are imported. If the branch does not exist yet, it is automatically created.'
required: false
so_origin_service:
description: 'Service name to be set for all imported observations.'
required: false
Expand Down
3 changes: 3 additions & 0 deletions actions/DAST/drheader/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ inputs:
so_product_name:
description: 'Name of the product which observations are imported. The product has to exist before starting the import.'
required: true
so_branch_name:
description: 'Name of the product branch which observations are imported. If the branch does not exist yet, it is automatically created.'
required: false
so_origin_service:
description: 'Service name to be set for all imported observations.'
required: false
Expand Down
3 changes: 3 additions & 0 deletions actions/DAST/zap/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ inputs:
so_product_name:
description: 'Name of the product which observations are imported. The product has to exist before starting the import.'
required: true
so_branch_name:
description: 'Name of the product branch which observations are imported. If the branch does not exist yet, it is automatically created.'
required: false
so_origin_service:
description: 'Service name to be set for all imported observations.'
required: false
Expand Down
3 changes: 3 additions & 0 deletions actions/SAST/bandit/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ inputs:
so_product_name:
description: 'Name of the product which observations are imported. The product has to exist before starting the import.'
required: true
so_branch_name:
description: 'Name of the product branch which observations are imported. If the branch does not exist yet, it is automatically created.'
required: false
so_origin_service:
description: 'Service name to be set for all imported observations.'
required: false
Expand Down
3 changes: 3 additions & 0 deletions actions/SAST/checkov/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ inputs:
so_product_name:
description: 'Name of the product which observations are imported. The product has to exist before starting the import.'
required: true
so_branch_name:
description: 'Name of the product branch which observations are imported. If the branch does not exist yet, it is automatically created.'
required: false
so_origin_service:
description: 'Service name to be set for all imported observations.'
required: false
Expand Down
3 changes: 3 additions & 0 deletions actions/SAST/eslint/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ inputs:
so_product_name:
description: 'Name of the product which observations are imported. The product has to exist before starting the import.'
required: true
so_branch_name:
description: 'Name of the product branch which observations are imported. If the branch does not exist yet, it is automatically created.'
required: false
so_origin_service:
description: 'Service name to be set for all imported observations.'
required: false
Expand Down
8 changes: 8 additions & 0 deletions actions/SAST/kics/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ inputs:
description: 'Further parameters to be given to the scanner.'
required: false
default: ''
output_path:
description: 'Output path for the KICS scan results.'
required: true
default: ''
so_upload:
description: 'No upload of observations into SecObserve if value is not "true", default is "true".'
required: false
Expand All @@ -31,6 +35,9 @@ inputs:
so_product_name:
description: 'Name of the product which observations are imported. The product has to exist before starting the import.'
required: true
so_branch_name:
description: 'Name of the product branch which observations are imported. If the branch does not exist yet, it is automatically created.'
required: false
so_origin_service:
description: 'Service name to be set for all imported observations.'
required: false
Expand All @@ -50,6 +57,7 @@ runs:
REPORT_NAME: ${{ inputs.report_name }}
RUN_DIRECTORY: ${{ inputs.run_directory }}
FURTHER_PARAMETERS: ${{ inputs.further_parameters }}
OUTPUT_PATH: ${{ inputs.output_path }}
SO_UPLOAD: ${{ inputs.so_upload }}
SO_API_BASE_URL: ${{ inputs.so_api_base_url }}
SO_API_TOKEN: ${{ inputs.so_api_token }}
Expand Down
3 changes: 3 additions & 0 deletions actions/SAST/semgrep/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ inputs:
so_product_name:
description: 'Name of the product which observations are imported. The product has to exist before starting the import.'
required: true
so_branch_name:
description: 'Name of the product branch which observations are imported. If the branch does not exist yet, it is automatically created.'
required: false
so_origin_service:
description: 'Service name to be set for all imported observations.'
required: false
Expand Down
3 changes: 3 additions & 0 deletions actions/SAST/tfsec/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ inputs:
so_product_name:
description: 'Name of the product which observations are imported. The product has to exist before starting the import.'
required: true
so_branch_name:
description: 'Name of the product branch which observations are imported. If the branch does not exist yet, it is automatically created.'
required: false
so_origin_service:
description: 'Service name to be set for all imported observations.'
required: false
Expand Down
3 changes: 3 additions & 0 deletions actions/SAST/trivy_config/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ inputs:
so_product_name:
description: 'Name of the product which observations are imported. The product has to exist before starting the import.'
required: true
so_branch_name:
description: 'Name of the product branch which observations are imported. If the branch does not exist yet, it is automatically created.'
required: false
so_origin_service:
description: 'Service name to be set for all imported observations.'
required: false
Expand Down
3 changes: 3 additions & 0 deletions actions/SCA/grype_image/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ inputs:
so_product_name:
description: 'Name of the product which observations are imported. The product has to exist before starting the import.'
required: true
so_branch_name:
description: 'Name of the product branch which observations are imported. If the branch does not exist yet, it is automatically created.'
required: false
so_origin_service:
description: 'Service name to be set for all imported observations.'
required: false
Expand Down
3 changes: 3 additions & 0 deletions actions/SCA/trivy_filesystem/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ inputs:
so_product_name:
description: 'Name of the product which observations are imported. The product has to exist before starting the import.'
required: true
so_branch_name:
description: 'Name of the product branch which observations are imported. If the branch does not exist yet, it is automatically created.'
required: false
so_origin_service:
description: 'Service name to be set for all imported observations.'
required: false
Expand Down
3 changes: 3 additions & 0 deletions actions/SCA/trivy_image/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ inputs:
so_product_name:
description: 'Name of the product which observations are imported. The product has to exist before starting the import.'
required: true
so_branch_name:
description: 'Name of the product branch which observations are imported. If the branch does not exist yet, it is automatically created.'
required: false
so_origin_service:
description: 'Service name to be set for all imported observations.'
required: false
Expand Down
3 changes: 3 additions & 0 deletions actions/importer/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ inputs:
so_product_name:
description: 'Name of the product which observations are imported. The product has to exist before starting the import.'
required: true
so_branch_name:
description: 'Name of the product branch which observations are imported. If the branch does not exist yet, it is automatically created.'
required: false
so_file_name:
description: 'Name of the file to import.'
required: true
Expand Down
3 changes: 3 additions & 0 deletions actions/secrets/gitleaks/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ inputs:
so_product_name:
description: 'Name of the product which observations are imported. The product has to exist before starting the import.'
required: true
so_branch_name:
description: 'Name of the product branch which observations are imported. If the branch does not exist yet, it is automatically created.'
required: false
so_origin_service:
description: 'Service name to be set for all imported observations.'
required: false
Expand Down
3 changes: 3 additions & 0 deletions dev/actions/DAST/cryptolyzer/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ inputs:
so_product_name:
description: 'Name of the product which observations are imported. The product has to exist before starting the import.'
required: true
so_branch_name:
description: 'Name of the product branch which observations are imported. If the branch does not exist yet, it is automatically created.'
required: false
so_origin_service:
description: 'Service name to be set for all imported observations.'
required: false
Expand Down
3 changes: 3 additions & 0 deletions dev/actions/DAST/drheader/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ inputs:
so_product_name:
description: 'Name of the product which observations are imported. The product has to exist before starting the import.'
required: true
so_branch_name:
description: 'Name of the product branch which observations are imported. If the branch does not exist yet, it is automatically created.'
required: false
so_origin_service:
description: 'Service name to be set for all imported observations.'
required: false
Expand Down
3 changes: 3 additions & 0 deletions dev/actions/DAST/zap/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ inputs:
so_product_name:
description: 'Name of the product which observations are imported. The product has to exist before starting the import.'
required: true
so_branch_name:
description: 'Name of the product branch which observations are imported. If the branch does not exist yet, it is automatically created.'
required: false
so_origin_service:
description: 'Service name to be set for all imported observations.'
required: false
Expand Down
3 changes: 3 additions & 0 deletions dev/actions/SAST/bandit/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ inputs:
so_product_name:
description: 'Name of the product which observations are imported. The product has to exist before starting the import.'
required: true
so_branch_name:
description: 'Name of the product branch which observations are imported. If the branch does not exist yet, it is automatically created.'
required: false
so_origin_service:
description: 'Service name to be set for all imported observations.'
required: false
Expand Down
3 changes: 3 additions & 0 deletions dev/actions/SAST/checkov/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ inputs:
so_product_name:
description: 'Name of the product which observations are imported. The product has to exist before starting the import.'
required: true
so_branch_name:
description: 'Name of the product branch which observations are imported. If the branch does not exist yet, it is automatically created.'
required: false
so_origin_service:
description: 'Service name to be set for all imported observations.'
required: false
Expand Down
3 changes: 3 additions & 0 deletions dev/actions/SAST/eslint/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ inputs:
so_product_name:
description: 'Name of the product which observations are imported. The product has to exist before starting the import.'
required: true
so_branch_name:
description: 'Name of the product branch which observations are imported. If the branch does not exist yet, it is automatically created.'
required: false
so_origin_service:
description: 'Service name to be set for all imported observations.'
required: false
Expand Down
8 changes: 8 additions & 0 deletions dev/actions/SAST/kics/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ inputs:
description: 'Further parameters to be given to the scanner.'
required: false
default: ''
output_path:
description: 'Output path for the KICS scan results.'
required: true
default: ''
so_upload:
description: 'No upload of observations into SecObserve if value is not "true", default is "true".'
required: false
Expand All @@ -31,6 +35,9 @@ inputs:
so_product_name:
description: 'Name of the product which observations are imported. The product has to exist before starting the import.'
required: true
so_branch_name:
description: 'Name of the product branch which observations are imported. If the branch does not exist yet, it is automatically created.'
required: false
so_origin_service:
description: 'Service name to be set for all imported observations.'
required: false
Expand All @@ -50,6 +57,7 @@ runs:
REPORT_NAME: ${{ inputs.report_name }}
RUN_DIRECTORY: ${{ inputs.run_directory }}
FURTHER_PARAMETERS: ${{ inputs.further_parameters }}
OUTPUT_PATH: ${{ inputs.output_path }}
SO_UPLOAD: ${{ inputs.so_upload }}
SO_API_BASE_URL: ${{ inputs.so_api_base_url }}
SO_API_TOKEN: ${{ inputs.so_api_token }}
Expand Down
3 changes: 3 additions & 0 deletions dev/actions/SAST/semgrep/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ inputs:
so_product_name:
description: 'Name of the product which observations are imported. The product has to exist before starting the import.'
required: true
so_branch_name:
description: 'Name of the product branch which observations are imported. If the branch does not exist yet, it is automatically created.'
required: false
so_origin_service:
description: 'Service name to be set for all imported observations.'
required: false
Expand Down
3 changes: 3 additions & 0 deletions dev/actions/SAST/tfsec/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ inputs:
so_product_name:
description: 'Name of the product which observations are imported. The product has to exist before starting the import.'
required: true
so_branch_name:
description: 'Name of the product branch which observations are imported. If the branch does not exist yet, it is automatically created.'
required: false
so_origin_service:
description: 'Service name to be set for all imported observations.'
required: false
Expand Down
3 changes: 3 additions & 0 deletions dev/actions/SAST/trivy_config/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ inputs:
so_product_name:
description: 'Name of the product which observations are imported. The product has to exist before starting the import.'
required: true
so_branch_name:
description: 'Name of the product branch which observations are imported. If the branch does not exist yet, it is automatically created.'
required: false
so_origin_service:
description: 'Service name to be set for all imported observations.'
required: false
Expand Down
3 changes: 3 additions & 0 deletions dev/actions/SCA/grype_image/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ inputs:
so_product_name:
description: 'Name of the product which observations are imported. The product has to exist before starting the import.'
required: true
so_branch_name:
description: 'Name of the product branch which observations are imported. If the branch does not exist yet, it is automatically created.'
required: false
so_origin_service:
description: 'Service name to be set for all imported observations.'
required: false
Expand Down
3 changes: 3 additions & 0 deletions dev/actions/SCA/trivy_filesystem/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ inputs:
so_product_name:
description: 'Name of the product which observations are imported. The product has to exist before starting the import.'
required: true
so_branch_name:
description: 'Name of the product branch which observations are imported. If the branch does not exist yet, it is automatically created.'
required: false
so_origin_service:
description: 'Service name to be set for all imported observations.'
required: false
Expand Down
3 changes: 3 additions & 0 deletions dev/actions/SCA/trivy_image/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ inputs:
so_product_name:
description: 'Name of the product which observations are imported. The product has to exist before starting the import.'
required: true
so_branch_name:
description: 'Name of the product branch which observations are imported. If the branch does not exist yet, it is automatically created.'
required: false
so_origin_service:
description: 'Service name to be set for all imported observations.'
required: false
Expand Down
3 changes: 3 additions & 0 deletions dev/actions/importer/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ inputs:
so_product_name:
description: 'Name of the product which observations are imported. The product has to exist before starting the import.'
required: true
so_branch_name:
description: 'Name of the product branch which observations are imported. If the branch does not exist yet, it is automatically created.'
required: false
so_file_name:
description: 'Name of the file to import.'
required: true
Expand Down
3 changes: 3 additions & 0 deletions dev/actions/secrets/gitleaks/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ inputs:
so_product_name:
description: 'Name of the product which observations are imported. The product has to exist before starting the import.'
required: true
so_branch_name:
description: 'Name of the product branch which observations are imported. If the branch does not exist yet, it is automatically created.'
required: false
so_origin_service:
description: 'Service name to be set for all imported observations.'
required: false
Expand Down
14 changes: 7 additions & 7 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Python build stage
FROM python:3.12.2-alpine as python-build-stage
FROM python:3.12.3-alpine as python-build-stage

# Install gcc to be able to compile wheels for python packages
RUN apk add --no-cache gcc musl-dev python3-dev
Expand All @@ -10,9 +10,9 @@ COPY docker/requirements.txt .
RUN pip wheel --wheel-dir /usr/src/app/wheels -r ./requirements.txt

# Go build stage for KICS
FROM golang:1.22.0-alpine as go-build-stage
FROM golang:1.22.2-alpine as go-build-stage

ARG KICS_VERSION=1.7.12
ARG KICS_VERSION=2.0.0

# Install kics from GitHub
WORKDIR /usr/local/kics
Expand All @@ -22,12 +22,12 @@ RUN wget --no-verbose https://github.com/Checkmarx/kics/archive/refs/tags/v${KIC
&& go build -o ./bin/kics cmd/console/main.go

# Python run stage
FROM python:3.12.2-alpine as python-run-stage
FROM python:3.12.3-alpine as python-run-stage

ARG GITLEAKS_VERSION=8.18.2
ARG GRYPE_VERSION=0.74.5
ARG KICS_VERSION=1.7.12
ARG TRIVY_VERSION=0.49.1
ARG GRYPE_VERSION=0.77.0
ARG KICS_VERSION=2.0.0
ARG TRIVY_VERSION=0.50.2
ARG TFSEC_VERSION=1.28.5

ARG CREATED
Expand Down
Loading

0 comments on commit f9a5c16

Please sign in to comment.