Code Monkey home page Code Monkey logo

ghas-for-ado-decorator-extension's Introduction

GitHub Advanced Security for Azure DevOps Decorator Tools

Decorator extension for Azure DevOps. The purpose of this extension is to automatically inject GitHub Advanced Security tasks into your Continuous Integration (CI) pipelines. The extension helps to improve the security of your applications and makes your development process more efficient.

Overview

GitHub Advanced Security helps to identify potential security vulnerabilities within your code. By integrating these security checks into your CI pipelines, you can ensure that every code change is automatically scanned for issues before it is merged.

This decorator tool for Azure DevOps makes it easy to add these security checks to your pipelines. Once installed, the decorator will automatically inject the necessary tasks to your CI pipeline, saving you the time and effort of manual configuration.

Features

  • Automatic injection of GitHub Advanced Security tasks into your CI pipelines.
  • Easy installation and setup.
  • Helps to identify and fix security vulnerabilities early in the development process.

Getting Started

To get started with the GitHub Advanced Security for Azure DevOps Decorator Tools, install the Azure DevOps extension and configure the variables to control how the GitHub Advanced Security tasks will work.

Variables

Use these variables in the main CI pipeline to control the behavior and values of the decorator variables:

  • system.debugContext: true
    • When set to true, the pipeline will run in debug mode. This will display additional information in the logs.
  • advancedsecurity.enable: true
    • When set to true, the pipeline will inject the Advanced Security analysis.
    • To enable the Advanced Security analysis, set the advancedsecurity.enable variable to true.
  • advancedsecurity.skip: true
    • When set to true, the pipeline will skip the Advanced Security analysis.
    • To skip the Advanced Security analysis, set the advancedsecurity.skip variable to true.
  • advancedsecurity.codeql.language: 'csharp, javascript'
    • Allowed values: csharp, cpp, go, java, javascript, python, ruby, swift.
    • To specify the languages to analyze, set the advancedsecurity.codeql.language variable.
  • advancedsecurity.codeql.querysuite: 'security-and-quality'
    • Allowed values: code-scanning, security-extended, security-experimental, security-and-quality
    • To specify the query suite to use, set the advancedsecurity.codeql.querysuite variable.
  • advancedsecurity.dependencies.failoncritical.skip: true
    • When set to true, the pipeline will skip the Advanced Security Dependency Review (Fail on Critical).
  • advancedsecurity.codescanning.failoncritical.skip: true
    • When set to true, the pipeline will skip the Advanced Security Code Scanning (Fail on Critical).
  • advancedsecurity.codeql.autobuild.enable: true
    • When set to true, the pipeline will inject the Advanced Security AutoBuild.

Images

Injected GitHub Advanced Security tasks:

GitHub Advanced Security tasks injected

Fail on critical vulnerabilities found:

GitHub Advanced Security fail on critical

GitHub Advanced Security variables:

GitHub Advanced Security enable variable

GitHub Advanced Security variables

ghas-for-ado-decorator-extension's People

Contributors

calinl avatar

Stargazers

 avatar

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.