Categorygithub.com/DanMolz/wiz-semgrep-connector
repository
0.0.0-20250120031220-45a635ff12b9
Repository: https://github.com/danmolz/wiz-semgrep-connector.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

Wiz Semgrep Connector

Overview

The Wiz Semgrep Connector is a Go application that integrates with the Semgrep AppSec Platform and Wiz API to fetch security findings and upload them to Wiz. The application runs on a configurable interval, fetching findings from Semgrep, transforming them, and uploading them to Wiz.

Configuration

Here is the current set of supported variables:

NAMEREQUIREDDEFAULTDESCRIPTION
MODEOptionalagentConfigure 'scheduled' or 'agent' mode.
WIZ_API_ENDPOINTYes""Wiz API Endpoint. Format: https://api..app.wiz.io/graphql
WIZ_CLIENT_IDYes""Wiz client ID for authentication.
WIZ_CLIENT_SECRETYes""Wiz Client secret for authentication.
SEMGREP_API_TOKENYes""Semgrep API token for authentication.
SEMGREP_DEPLOYMENTYes""Semgrep deployment identifier.
TARGET_REPOOptional""Repository which will be used to collect findings.
FETCH_INTERVALOptional24Interval (in hours) at which the application fetches findings from Semgrep.

You can set these environment variables in a .env file in the root directory of the project:

Docker (Scheduled)

You can also deploy the the connector as a docker container

docker run --name wiz-semgrep-connector -d \
-e MODE=scheduled \
-e WIZ_API_ENDPOINT=https://api.<region>.app.wiz.io/graphql \
-e WIZ_CLIENT_ID=your_wiz_client_id \
-e WIZ_CLIENT_SECRET=your_wiz_client_secret \
-e SEMGREP_API_TOKEN=your_semgrep_api_token \
-e SEMGREP_DEPLOYMENT=your_semgrep_deployment \
-e FETCH_INTERVAL=24 \
danielmoloney/wiz-semgrep-connector:latest