Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

Forces is simple and powerful, it allows validating the status of vulnerabilities within integrates.

Project description

PyPI Status Downloads License

You can use forces on any operating system that python can run on, you can see the status of the package in Pypi. You can also integrate forces into your CI/CD to ensure that your software is built and shipped without previously reported vulnerabilities in integrates.


  1. Make sure you own an integrates API token. Follow this guide to generate it.
  2. Make sure your execution environment has the required dependencies.
    • git
    • python3.8
    • pip
  3. Install forces by running the following command:
    • Windows: python -m pip install forces
    • Linux and Mac OS: python3.8 -m pip install forces
  4. You can also make use of the Docker image docker pull fluidattacks/forces:new.
  5. Be sure to use forces within a git repository.


  • --token: Your token for integrates API [required]
  • --verbose <number>: Declare the level of detail of the report (default 3)
    • 1: It only shows the number of open, closed and accepted vulnerabilities
    • 2: Only show open vulnerabilities
    • 3: Show open and closed vulnerabilities
    • 4: Show open, closed and accepted vulnerabilities
    • You can use -v, -vv, -vvv, -vvvv instead of --verbose
  • --strict / --lax: Run forces in strict mode (default --lax)
  • --repo-path: Git repository path (optional)
  • --dynamic: Only check DAST vulnerabilities
  • --static: Only check SAST vulnerabilities
  • If you do not specify --dynamic/--static all vulnerabilities are checked


In your local environment you execute: forces --token <your-token>

You can also use the Docker image: docker run --rm fluidattacks/forces:new forces --token <your-token>

Use in some CI\CD

In GitLab add these lines to your .gitlab-ci.yml

    name: fluidattacks/forces:new
    entrypoint: [""]
    - forces --token <your-token> --strict

In Azure DevOps add these lines to you configuration file:

  - forces:
    container: fluidattacks/forces:new
    - bash: forces --token <your-token>

In Jenkins, the configuration file should look like this:

pipeline {
  agent {
    label 'label'
  environment {
    TOKEN = "test"
  stages {
    stage('Forces') {
      steps {
        script {
          sh """
            docker pull fluidattacks/forces:new
            docker run fluidattacks/forces:new --token ${TOKEN}

Project details

Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for forces, version 20.9.25331
Filename, size File type Python version Upload date Hashes
Filename, size forces-20.9.25331-py3-none-any.whl (15.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size forces-20.9.25331.tar.gz (12.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page