Skip to content

PhpSecureScanner/phpsecure_action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Phpsecure GitHub Action

Using this GitHub Action, scan your code with phpsecure scanner (SaaS https://phpsecure.net/) to detect vulnerabilities in php code.

Requirements

Inputs

These are some of the supported input parameters of action.

Usage

First, add secret variable (see https://docs.github.com/en/actions/security-guides/encrypted-secrets).

Secret variable name: PHPSECURE_AUTH_TOKEN

Secret variable value: get it for free in your profile on the site https://phpsecure.net/

Second, create the workflow, usually declared in .github/workflows/build.yaml, looks like:

name: GitHub Actions Phpsecure
on:
  push:
    branches:
      - master
jobs:
  Phpsecure-Action:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v3
      - name: Phpsecure Vulnerabilities Scanner
        uses: PhpSecureScanner/phpsecure_action@v0.1.7
        env:
          PHPSECURE_AUTH_TOKEN: ${{ secrets.PHPSECURE_AUTH_TOKEN }}

You can change the project name by using the optional input like this:

      - name: Phpsecure Vulnerabilities Scanner
        uses: PhpSecureScanner/phpsecure_action@v0.1.7
        env:
          PHPSECURE_AUTH_TOKEN: ${{ secrets.PHPSECURE_AUTH_TOKEN }}
          PROJECT_NAME: "your project name"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •