Coder Social home page Coder Social logo

felipecosta09 / cloud-conformity-vscode-extension Goto Github PK

View Code? Open in Web Editor NEW

This project forked from raphabot/cloud-conformity-vscode-extension

0.0 1.0 0.0 5.07 MB

This extension has a really simple feature: a preventative measure to ensure your AWS infrastructure remains compliant by detecting risks in template files before they are launched into AWS.

TypeScript 81.40% JavaScript 18.20% Shell 0.40%

cloud-conformity-vscode-extension's Introduction

vsm-version Build Status Coverage Status

Cloud One Conformity VSCode Extension

This is a extension with a simple implementation of Cloud One Conformity template scanner right from the IDE.

Extension working on VSCode

Features

This extension has a really simple feature: a preventative measure to ensure your AWS infrastructure remains compliant by detecting risks in template files before they are launched into AWS.

More info about the scanner over here.

Requirements

You need to configure your API Key and you might need to configure the endpoint region, as it defaults to us-west-2. To do so, see the Extension Settings below:

Extension Settings

This extension contributes the following settings:

  • cc.apikey: a string with your Cloud Conformity apikey
  • cc.region: Defaults to us-west-2. Change it to your Cloud Conformity used endpoint.
  • cc.output: Defaults to tab. Valid options are tab, table, json or csv.
  • cc.defaultAccountId: Optional. Dafaults to null. Set a default AccountID if you don't want to use the dafault.
  • cc.defaultProfileId: Optional. Dafaults to null. Set a default ProfileID if you don't want to use the dafault.

If you need help on how to edit these settings, you can find more info here.

How to Use It?

First, open VS Code Command Palette (⇧⌘P on Mac or Ctrl+⇧+P on Windows). Then:

1 - You can scan the current open file through:

"Cloud One Conformity: Scan Current Open Template."

2 - You can scan any other template right-clicking the file and selecting:

"Cloud One Conformity: Scan Selected Template."

Atention Serverless Framework Users!

If you are using the extension to scan Serverless Framework templates, make sure to package your application before running the scan. This capability is only available to AWS applications.

Known Issues

None. Please, open an issue if you find one!

Contribute

Pull Requests are encouraged!

Release Notes

0.5.0

  • Using Actions to automatically update the Extension whenever new rules are made available.
  • Fixed a bug that the Knowledge Base url was broken for certain services.

0.4.0

  • Support to scan templates against Account and Profile configurations.

0.3.1

  • Typos and branding corrections.

0.3.0

  • "New Tab" output format supported and used by default. This allows for greater visibility of the findings, but also links the detections back to the Conformity Knowledge Base.

0.2.0

  • Serverless Framework for AWS projects support.

0.1.3

  • Proper message if the template is clean
  • Order the detections by risk level.

0.1.2

  • Bug fixes

0.1.1

  • Adding an icon to the extension.
  • Better README.md

0.1.0

  • First public release

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.