Home

Awesome

<p align="center"> <img src="https://www.insidersec.io/wp-content/uploads/2020/11/cover-linkedin2.png"> <p align="center"> <a href="https://github.com/insidersec/insider-action/releases"> <img src="https://img.shields.io/github/v/release/insidersec/insider-action"> </a> <a href="https://github.com/marketplace/actions/insider-action"> <img alt="GitHub marketplace" src="https://img.shields.io/badge/marketplace-insider--action-blue?logo=github&style=flat-square"> </a> <a href="https://github.com/insidersec/insider-action/actions?workflow=test"> <img alt="Test workflow" src="https://img.shields.io/github/workflow/status/insidersec/insider-action/test?label=test&logo=github&style=flat-square"> </a> </p> </p>

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