Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
securestackco

GitHub Action

SecureStack Secrets Analysis

secrets-v0.1.0

SecureStack Secrets Analysis

securestackco

SecureStack Secrets Analysis

Scan your source code for sensitive data like API keys, passwords, server host strings, config and env files and more

Installation

Copy and paste the following snippet into your .yml file.

              

- name: SecureStack Secrets Analysis

uses: SecureStackCo/[email protected]

Learn more about this action in SecureStackCo/actions-secrets

Choose a version

SecureStack GitHub Actions

A GitHub Action to execute SecureStack secrets analysis on an application code repository.

name: Example Workflow Using SecureStack Actions
on: push
jobs:
  security:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout repo for running secrets analysis within workflow
        id: checkout
        uses: actions/[email protected]
        with:
          fetch-depth: 0
      - name: Secrets Analysis Step
        id: secrets
        uses: SecureStackCo/actions/[email protected]
        with:
          securestack_api_key: ${{ secrets.SECURESTACK_API_KEY_SECRET }}
          securestack_app_id: '<Application Id>'
          severity: critical
          flags: '-d 50'

NOTE - to understand possible values for the action input flags, run the SecureStack cli locally:

$ bloodhound-cli code --help

Getting your SecureStack API Key

  1. Log in to SecureStack and go to the Profile -> GENERATE KEY screen.
  2. Generate an API key and copy the value.
  3. Paste into the value of a secret called SECURESTACK_API_KEY_SECRET in the GitHub repo settings.

Getting your SecureStack Application ID

  1. Log in to SecureStack.
  2. Open the application you wish to analyse.
  3. Copy the value of the application id on the View Application screen.
  4. Paste into the value of the securestack_app_id action input for the step using the SecureStack action in your workflow.

Made with 💜 by SecureStack