Giter Club home page Giter Club logo

wait-for's Introduction

Poll Results of a Bright Scan

This action polls a Bright scan until it returns a detected issue, or its time runs out.

Build Secure Apps & APIs. Fast.

Bright is a powerful dynamic application & API security testing (DAST) platform that security teams trust and developers love.

Automatically Tests Every Aspect of Your Apps & APIs

Scans any target, whether Web Apps, APIs (REST. & SOAP, GraphQL & more), Web sockets or mobile, providing actionable reports

Seamlessly integrates with the Tools and Workflows You Already Use

Bright works with your existing CI/CD pipelines – trigger scans on every commit, pull request or build with unit testing.

Spin-Up, Configure and Control Scans with Code

One file. One command. One scan. No UI needed.

Super-Fast Scans

Interacts with applications and APIs, instead of just crawling them and guessing. Scans are fast as our AI-powered engine can understand application architecture and generate sophisticated and targeted attacks.

No False Positives

Stop chasing ghosts and wasting time. Bright doesn’t return false positives, so you can focus on releasing code.

Comprehensive Security Testing

Bright tests for all common vulnerabilities, such as SQL injection, CSRF, XSS, and XXE -- as well as uncommon vulnerabilities, such as business logic vulnerabilities.

More information is available on Bright’s:

Inputs

api_token

Required. Your Bright API authorization token (key). You can generate it in the Organization section in the Bright app. Find more information here.

Example: api_token: ${{ secrets.NEURALEGION_TOKEN }}

scan

Required. ID of an existing scan to be restarted. You can get the scan ID in the Scans section in the Bright app.

Example: scan: ${{ steps.start.outputs.id }}

wait_for

Required. Set the severity of the first issue to wait for: any, medium, high.

Example: wait_for: any

timeout

Required. Time for polling in seconds.

Example: timeout: 55

stop_scan

If set to true, allows you to stop a scan after the action has completed.

Example: stop_scan: true

code_scanning_alerts

If set to true, uploads SARIF scan data to GitHub so that scan results are available from Code Scanning. Requires to be set github_token.

Example: code_scanning_alerts: true

To use code scanning in private and internal repositories, you need to enable GitHub Advanced Security features for the repository.

You can find more details on how to manage your repository's security and analysis settings in the Managing security and analysis settings for your repository documentation.

Outputs

url

URL of the resulting scan.

Usage Example

Poll the results of a previously started scan

start_and_wait_scan:
  runs-on: ubuntu-latest
  name: A job to run a NeuraLegion scan
  steps:
    - name: Start NeuraLegion Scan 🏁
      id: start
      uses: NeuraLegion/run-scan@master
      with:
        api_token: ${{ secrets.NEURALEGION_TOKEN }}
        name: GitHub scan ${{ github.sha }}
        discovery_types: |
          [ "crawler", "archive" ]
        crawler_urls: |
          [ "https://juice-shop.herokuapp.com" ]
        file_id: LiYknMYSdbSZbqgMaC9Sj
        hosts_filter: |
          [ ]
        wait_for: high
    - name: Get the output scan url
      run: echo "The scan was started on ${{ steps.start.outputs.url }}"
    - name: Wait for any issues ⏳
      id: wait
      uses: NeuraLegion/wait-for@master
      with:
        api_token: ${{ secrets.NEURALEGION_TOKEN }}
        scan: ${{ steps.start.outputs.id }}
        wait_for: any
        timeout: 55
        code_scanning_alerts: true
        github_token: ${{ github.token }}

wait-for's People

Contributors

derevnjuk avatar rielas avatar dependabot[bot] avatar olga-demidko avatar unclevic avatar artlinkov avatar

Watchers

 avatar Aleksei Sapozhnikov avatar James Cloos avatar Bar Hofesh avatar dostrikov avatar Or Rubin avatar Alexander avatar Viachaslau avatar Michael Konchakovsky avatar Maksim B. avatar Danylo avatar  avatar Aleksey avatar

wait-for's Issues

Change the name to NeuraLegion across the code

Our GitHub actions are still using the previous domain (nexploit.app) as the hostname value.
The hostname should be updated, and the Nexploit name should be changed to NeuraLegion across the actions configurations.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.