Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/padok-team/yatas
:owl::mag_right: A simple tool to audit your AWS/GCP infrastructure for misconfiguration or potential security issues with plugins integration
https://github.com/padok-team/yatas
account assessment audit aws best-practices cli cloud configuration devsecops gcp hardening security
Last synced: 4 days ago
JSON representation
:owl::mag_right: A simple tool to audit your AWS/GCP infrastructure for misconfiguration or potential security issues with plugins integration
- Host: GitHub
- URL: https://github.com/padok-team/yatas
- Owner: padok-team
- License: apache-2.0
- Created: 2022-08-05T08:02:37.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-25T13:12:40.000Z (17 days ago)
- Last Synced: 2024-11-25T14:23:11.256Z (17 days ago)
- Topics: account, assessment, audit, aws, best-practices, cli, cloud, configuration, devsecops, gcp, hardening, security
- Language: Go
- Homepage:
- Size: 7.06 MB
- Stars: 313
- Watchers: 6
- Forks: 23
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-cloud-security - 地址 - team/yatas) (0x02 工具 :hammer_and_wrench: / 1 云服务工具)
README
# YATAS
[![codecov](https://codecov.io/gh/padok-team/YATAS/branch/main/graph/badge.svg?token=OFGny8Za4x)](https://codecov.io/gh/padok-team/YATAS) [![goreport](https://goreportcard.com/badge/github.com/padok-team/yatas)](https://goreportcard.com/badge/github.com/padok-team/yatas)Yet Another Testing & Auditing Solution
The goal of YATAS is to help you create a secure AWS environment without too much hassle. It won't check for all best practices but only for the ones that are important for you based on my experience. Please feel free to tell me if you find something that is not covered.
## Features
YATAS is a simple and easy to use tool to audit your infrastructure for misconfiguration or potential security issues.
| No details | Details
|:-------------------------:|:-------------------------:
|![](./docs/demo.png) | ![](./docs/details.png)## Installation
```bash
brew tap padok-team/tap
brew install yatas
``````bash
yatas --init
```Modify .yatas.yml to your needs.
```bash
yatas --install
```Installs the plugins you need.
## Usage
```bash
yatas -h
```Flags:
- `--details`: Show details of the issues found.
- `--compare`: Compare the results of the previous run with the current run and show the differences.
- `--ci`: Exit code 1 if there are issues found, 0 otherwise.
- `--resume`: Only shows the number of tests passing and failing.
- `--time`: Shows the time each test took to run in order to help you find bottlenecks.
- `--init`: Creates a .yatas.yml file in the current directory.
- `--install`: Installs the plugins you need.
- `--only-failure`: Only show the tests that failed.## Plugins
**Checks Plugins**
| Plugins | Description | Checks |
|------|-------------|--------|
| [*AWS Audit*](https://github.com/padok-team/yatas-aws) | AWS checks | Good practices and security checks|
| [*GCP Audit*](https://github.com/padok-team/yatas-gcp) | GCP checks | Good practices and security checks|**Reporting Plugins**
| Plugins | Description |
|------|-------------|
| [*Markdown Reports*](https://github.com/padok-team/yatas-markdown) | Generates a markdown report |
| [*Notion Reports*](https://github.com/Thibaut-Padok/yatas-notion) | Generates a Notion Database report |
| [*HTML Reports*](https://github.com/Thibaut-Padok/yatas-html) | Generates an HTML report |## Checks
### Ignore results for known issues
You can ignore results of checks by adding the following to your `.yatas.yml` file:```yaml
ignore:
- id: "AWS_VPC_004"
regex: true
values:
- "VPC Flow Logs are not enabled on vpc-.*"
- id: "AWS_VPC_003"
regex: false
values:
- "VPC has only one gateway on vpc-08ffec87e034a8953"
```### Exclude a test
You can exclude a test by adding the following to your `.yatas.yml` file:```yaml
plugins:
- name: "aws"
enabled: true
description: "Check for AWS good practices"
exclude:
- AWS_S3_001
```### Specify which tests to run
To only run a specific test, add the following to your `.yatas.yml` file:
```yaml
plugins:
- name: "aws"
enabled: true
description: "Check for AWS good practices"
include:
- "AWS_VPC_003"
- "AWS_VPC_004"
```### Get error logs
You can get the error logs by adding the following to your env variables:
```bash
export YATAS_LOG=debug
```
The available log levels are: `debug`, `info`, `warn`, `error`, `fatal`, `panic` and `off` by default## How to create a new plugin ?
You'd like to add a new plugin ? Then simply visit [yatas-plugin](https://github.com/padok-team/yatas-template) and follow the instructions.
Contributors ❤️