Skip to content

Insight-NA/oak9.githubaction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

oak9 GitHub Action

Use the oak9 GitHub action to scan for infrastructure-as-code errors in your oak9 action pipeline. By utilizing this GitHub action in your project workflow, you can automatically start to find, fix and monitor your project for configuration errors in Terraform.

Highlighted Features

Using this Action provides the following features:

  • App Security Design
  • Infrastructure-as-Code Security Checks
  • Automated Security Design Integration
  • Security Design Enforcement
  • Security Design Change Management
  • Out of the box compliance regulations including: PCI DSS, ISO 27001, GDPR, CCPA HIPAA, HI TECH, State Regulations, NIS SP 800- 53

Requirements

To run an analysis on your code, you first need to set up your project on oak9

Usage

The following is an example GitHub Actions workflow:

on: push
name: Main Workflow
jobs:
  oak9Analysis:
    - uses: actions/checkout@v1
    - name: OAK9 Github Action
      uses: oak9io/oak9.githubaction
      env:
        GITHUB_REPOSITORY: $GITHUB_REPOSITORY
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        OAK9_API_TOKEN: ${{ secrets.OAK9_API_TOKEN }}
      with:
        organizationId: '[your-oak9-organization-id]'
        projectId: '[your-oak9-project-id]'
        maximumSeverity: 'high'
        logDesignGaps: true

Parameters

  • organizationId - (Required) Your oak9 organization ID.
  • projectId - (Required) Your oak9 project ID.
  • maximumSeverity - (Required) The threshold at which a detected design gap will cause your workflow to fail. One of none, low, moderate, high, or critical.
  • logDesignGaps - An indicator of whether you'd like any detected design gaps output to the GitHub Actions build log. Defaults to false.

Secrets

  • OAK9_API_TOKEN - (Required) This is the API token for your oak9 project.

License

This project is released under the Apache 2.0 License.