Skip to content

seqra/seqra-gitlab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Seqra GitLab CI template

Run Seqra static code analysis in your GitLab CI pipelines. Generates a SARIF report for code scanning integration or further processing.

Quick Start

Scan

Note: This template runs on Linux x86_64 environments and requires Docker-in-Docker.

Example: Run Seqra

include:
  - remote: https://raw.githubusercontent.com/seqra/seqra-gitlab/refs/heads/main/seqra.gitlab-ci.yml

stages:
  - analysis

seqra-job:
  extends: .seqra-template
  variables:
    PROJECT_ROOT: "."

All Inputs

include:
  - remote: https://raw.githubusercontent.com/seqra/seqra-gitlab/refs/heads/main/seqra.gitlab-ci.yml

stages:
  - analysis

seqra-job:
  extends: .seqra-template
  variables:
    # Relative path to the root of the analyzed project
    PROJECT_ROOT: "."
    # Tag of seqra release
    SEQRA_VERSION: "v2.0.2"
    # Relative path to rules. If set RULES_REPOSITORY not used
    RULES_PATH: ""
    # Scan timeout
    TIMEOUT: "15m"

Artifacts

After the job completes, you’ll find:

  • seqra-job:archive in the job artifacts.
  • These can be consumed by other CI jobs or uploaded to a code scanning service.

Troubleshooting

  • Monorepos: You can analyze only the project you need using PROJECT_ROOT.
  • Timeouts: If the scan times out, increase TIMEOUT (e.g., 30m).

Changelog

See CHANGELOG.

License

This project is released under the MIT License.

The core analysis engine is source-available under the Functional Source License (FSL-1.1-ALv2), which converts to Apache 2.0 two years after each release. You can use Seqra for free, including for commercial use, except for competing products or services.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published