README.md

December 22, 2020 ยท View on GitHub

GitHub marketplace Test workflow

Usage

Workflow

name: insider
on:
  pull_request:
  push:
jobs:
  insider:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v2
        with:
          fetch-depth: 0

      - name: Run Insider
        uses: insidersec/insider-action@v0
        with:
            technology: javascript
            # Relative path under $GITHUB_WORKSPACE to use as a target
            # In this example, will use $GITHUB_WORKSPACE/src as a target
            target: src

Customizing

Inputs

Following inputs can be used as steps.with keys

NameTypeDefaultDescription
versionStringlatestInsider version
technologyStringSpecify which technology ruleset to load
targetString.Relative path under $GITHUB_WORKSPACE to use as a target
securityStringSet the Security level, values between 0 and 100
noHtmlBoolSkips the report generation in the HTML format
noJsonBoolSkips the report generation in the JSON format
noBannerBoolSkips the banner printing