/spectral-orb

Spectral Security Integration into your CircleCI pipeline

MIT LicenseMIT



SpectralOps logo

Spectral Orb

CircleCI CircleCI Orb Version GitHub License

The Spectral CircleCI Orb can be used with any linux based docker image that includes the command line tools curl.

To connect your Spectral account on spectralops.io you need to set up SPECTRAL_DSN and SPECTRAL_ENV (e.g https://get.spectralops.io) as environment variables.

  • We recommend to set up a CircleCI context in your organization named credentials that contains a variable with key SPECTRAL_DSN and the dsn as the value, and SPECTRAL_ENV as well.

Installation

  version: 2.1
  orbs:
    spectral: spectralops/spectral@2.1.2
  workflows:
    security:
      jobs:
        - spectral/scan:
            flags: --ok

Resources

CircleCI Orb Registry Page - The official registry page of this orb for all versions, executors, commands, and jobs described. CircleCI Orb Docs - Docs for using and creating CircleCI Orbs.

How to Contribute

We welcome issues to and pull requests against this repository!

License

This project is licensed under the MIT License. See LICENSE for further details.