Giter Club home page Giter Club logo

full-fast-fail's Introduction

full-fast-fail

Fed up with getting it all right all the time? Isn't it tiresome, yes very, so here's the opposite. Trying to get absolutely nothing right.

Currently compares Checkov, Tfsec and KICS. The counts are automated and sometimes highlight faults in the runners if they crash.

Ensure that were finding what we should be

Run checker.sh

Success

> ./checker.sh
   ____ _               _
  / ___| |__   ___  ___| | _____ _ __
 | |   | '_ \ / _ \/ __| |/ / _ \ '__|
 | |___| | | |  __/ (__|   <  __/ |
  \____|_| |_|\___|\___|_|\_\___|_|

Error: expected 954 but found 955

testing

Run to see what rules are being triggered/passed.

 $failure.sh

compare

Run this to see how SAST tools compare on a code base

./compare.sh
   ____                                       _____           _
  / ___|___  _ __ ___  _ __   __ _ _ __ ___  |_   _|__   ___ | |___
 | |   / _ \| '_ ` _ \| '_ \ / _` | '__/ _ \   | |/ _ \ / _ \| / __|
 | |__| (_) | | | | | | |_) | (_| | | |  __/   | | (_) | (_) | \__ \
  \____\___/|_| |_| |_| .__/ \__,_|_|  \___|   |_|\___/ \___/|_|___/
                      |_|
Scanning .
1 file(s) written: .\fails_tfsec.json
Error: Checkov expected 954 but found 3993
Error: Tfsec expected 917 but found 6
Error: Kics expected 2704 but found 4680
Expected 954 and found 3993
Checkov: 3993 TFSec: 6 Kics: 4680
 __     __            _
 \ \   / /__ _ __ ___(_) ___  _ __  ___
  \ \ / / _ \ '__/ __| |/ _ \| '_ \/ __|
   \ V /  __/ |  \__ \ | (_) | | | \__ \
    \_/ \___|_|  |___/_|\___/|_| |_|___/

Summary

- Found Checkov 3993
- Found TFSec 6
- Found Kics 4680
- Resource count 1235

Versions

- Terraform v1.1.3 on windows_amd64
- Checkov 2.0.873
- Tfsec You are running a locally built version of tfsec.
- Kics Keeping Infrastructure as Code Secure 1.4.9

This currently shows that Tfsec is currently crashing on some tf code. So im building the latest TFsec to see if that works better.

Check out the cumulative totals in each folder: https://github.com/JamesWoolfenden/full-fast-fail/blob/main/summary.md

Or if you only interested in Terraform https://github.com/JamesWoolfenden/full-fast-fail/blob/main/terraform/summary.md

Provider versions

aws 4.34.0

https://github.com/hashicorp/terraform-provider-aws/blob/main/CHANGELOG.md

azure 3.18.0

https://github.com/hashicorp/terraform-provider-azurerm/blob/main/CHANGELOG.md

full-fast-fail's People

Contributors

jameswoolfenden avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

orevron

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.