Coder Social home page Coder Social logo

codeql-action's Introduction

AppSec CodeQL GitHub Action

Overview

The AppSec CodeQL GitHub Action is tailored for performing CodeQL scans on repositories with the capability of using custom rule sets and configurations. It supports flexible configurations for different repositories, stored in the repo-configs directory, and utilizes custom CodeQL query suites from the query-suites directory.

Inputs

  • repo: (Required) The full name of the repository to be scanned.
  • paths_ignored: Comma delimited paths to be ignored by the scan.
  • rules_excluded: Comma delimited CodeQl rule ids to be excluded.

Usage

To integrate this action into your workflow, create a .yml file in the .github/workflows directory of your repository and follow the steps below:

  1. Workflow Setup: Add the following content to your workflow file:

    name: CodeQL Analysis
    
    on:
      push:
        branches: [ main ]
      pull_request:
        branches: [ main ]
    
    jobs:
      codeql-analysis:
        runs-on: ubuntu-latest
    
        steps:
        - name: Checkout Code
          uses: actions/checkout@v4
          with:
            repository: ${{ github.repository }}
    
        - name: Run AppSec CodeQL Analysis
          uses: <username>/[email protected]
          with:
            repo: ${{ github.repository }}
            paths_ignored: |
             test/
             data/
            rules_excluded: |
             js/foo
             js/bar
  2. Configurations: Place your custom configurations for repositories in the repo-configs directory and your CodeQL query suites in the query-suites directory. These will be utilized by the action to tailor the scan according to your specific requirements.

Features

  • Customized CodeQL Scans: Ability to run scans with custom configurations and query suites.
  • Flexible Setup: Supports multiple repositories with different configurations.
  • SARIF File Upload: Automated process for uploading SARIF files for analysis reporting.

Contributing

Contributions are welcome to enhance and expand the functionality of this action.

License

Specify your license here. Typically, projects include a MIT License.


This template is designed to be modified according to your specific requirements and project details. Make sure to replace placeholders with actual values and adjust the instructions based on how your action is set up and used.

codeql-action's People

Contributors

nicholasellul avatar witmicko avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

witmicko

codeql-action's Issues

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.