Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add YAML lint check #96

Merged
merged 5 commits into from
Jan 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 7 additions & 7 deletions .github/workflows/contributors.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
---
name: Contributors
on:
push:
branches:
- main
branches: [main]
workflow_dispatch:
inputs:
logLevel:
description: 'manual run'
required: false
default: ''
inputs:
logLevel:
description: manual run
required: false
default: ''
jobs:
contributors:
runs-on: ubuntu-latest
Expand Down
54 changes: 26 additions & 28 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,34 @@
---
name: Deploy

on:
push:
branches:
- main
branches: [main]
workflow_dispatch:

jobs:
Deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0
- name: Install dependencies
run: gem install erb yaml
- name: Run app
run: |
ruby ./scripts/erb.rb
- name: Make last_change
run: date > ./scripts/last_change
- name: Commit files
run: |
git config --local user.email "[email protected]"
git config --local user.name "WHW"
git add README.md ./scripts/last_change
git add ./categorize/*
git commit -m "Deploy README.md and Categorize Docs"
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0
- name: Install dependencies
run: gem install erb yaml
- name: Run app
run: |
ruby ./scripts/erb.rb
- name: Make last_change
run: date > ./scripts/last_change
- name: Commit files
run: |
git config --local user.email "[email protected]"
git config --local user.name "WHW"
git add README.md ./scripts/last_change
git add ./categorize/*
git commit -m "Deploy README.md and Categorize Docs"
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}
15 changes: 15 additions & 0 deletions .github/workflows/yaml-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
name: YAML Lint
on:
pull_request:
branches: [main]
jobs:
lintAllTheThings:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: yaml-lint
uses: ibiqlik/action-yamllint@v3
with:
file_or_dir: weapons/*.yaml
config_file: .yamllint.yml
30 changes: 30 additions & 0 deletions .yamllint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---

rules:
anchors: enable
braces: enable
brackets: enable
colons: enable
commas: enable
comments:
level: warning
comments-indentation:
level: warning
document-end: disable
document-start:
level: warning
empty-lines: enable
empty-values: disable
float-values: disable
hyphens: enable
indentation: enable
key-duplicates: enable
key-ordering: disable
line-length: disable
new-line-at-end-of-file: enable
new-lines: enable
octal-values: disable
quoted-strings: disable
trailing-spaces: enable
truthy:
level: warning
10 changes: 2 additions & 8 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,9 @@ description: Identifies common parameters vulnerable to certain vulnerability cl
url: https://github.com/bugcrowd/HUNT
category: tool-addon
type: Recon
platform:
- linux
- macos
- windows
- zap
- burpsuite
platform: [linux, macos, windows, zap, burpsuite]
lang: Kotlin
tags:
- param
tags: [param]
```

![1415](https://user-images.githubusercontent.com/13212227/98445635-00db1e00-215c-11eb-8a59-d7d21dd98db0.png)
Expand Down
8 changes: 2 additions & 6 deletions weapons/230-OOB.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ description: An Out-of-Band XXE server for retrieving file contents over FTP.
url: https://github.com/lc/230-OOB
category: tool
type: Utils
platform:
- linux
- macos
- windows
platform: [linux, macos, windows]
lang: Python
tags:
- xxe
tags: [xxe]
5 changes: 1 addition & 4 deletions weapons/3klCon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ description: Automation Recon tool which works with Large & Medium scopes. It pe
url: https://github.com/eslam3kl/3klCon
category: tool
type: Recon
platform:
- linux
- macos
- windows
platform: [linux, macos, windows]
lang: Python
tags: []
8 changes: 2 additions & 6 deletions weapons/AWSBucketDump.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ description: Security Tool to Look For Interesting Files in S3 Buckets
url: https://github.com/jordanpotti/AWSBucketDump
category: tool
type: Scanner
platform:
- linux
- macos
- windows
platform: [linux, macos, windows]
lang: Python
tags:
- s3
tags: [s3]
8 changes: 2 additions & 6 deletions weapons/AWSSigner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ description: Burp Extension for AWS Signing
url: https://github.com/NetSPI/AWSSigner
category: tool-addon
type: Utils
platform:
- linux
- macos
- windows
- burpsuite
platform: [linux, macos, windows, burpsuite]
lang: Java
tags: []
tags: []
8 changes: 2 additions & 6 deletions weapons/Amass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ description: 'In-depth Attack Surface Mapping and Asset Discovery '
url: https://github.com/OWASP/Amass
category: tool
type: Recon
platform:
- linux
- macos
- windows
platform: [linux, macos, windows]
lang: Go
tags:
- subdomains
tags: [subdomains]
8 changes: 2 additions & 6 deletions weapons/Arjun.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ description: 'HTTP parameter discovery suite. '
url: https://github.com/s0md3v/Arjun
category: tool
type: Recon
platform:
- linux
- macos
- windows
platform: [linux, macos, windows]
lang: Python
tags:
- param
tags: [param]
9 changes: 2 additions & 7 deletions weapons/Assetnote_Wordlists.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ description: Automated & Manual Wordlists provided by Assetnote
url: https://github.com/assetnote/wordlists
category: tool
type: Utils
platform:
- linux
- macos
- windows
platform: [linux, macos, windows]
lang: CSS
tags:
- wordlist
- documents
tags: [wordlist, documents]
5 changes: 1 addition & 4 deletions weapons/Atlas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ description: 'Quick SQLMap Tamper Suggester '
url: https://github.com/m4ll0k/Atlas
category: tool
type: Utils
platform:
- linux
- macos
- windows
platform: [linux, macos, windows]
lang: Python
tags: []
9 changes: 2 additions & 7 deletions weapons/AuthMatrix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ description:
url: https://github.com/SecurityInnovation/AuthMatrix
category: tool-addon
type: Scanner
platform:
- linux
- macos
- windows
- burpsuite
platform: [linux, macos, windows, burpsuite]
lang: Python
tags:
- aaa
tags: [aaa]
6 changes: 1 addition & 5 deletions weapons/AutoRepeater.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ description: Automated HTTP Request Repeating With Burp Suite
url: https://github.com/SecurityInnovation/AuthMatrix
category: tool-addon
type: Utils
platform:
- linux
- macos
- windows
- burpsuite
platform: [linux, macos, windows, burpsuite]
lang: Java
tags: []
9 changes: 2 additions & 7 deletions weapons/Autorize.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ description:
url: https://github.com/Quitten/Autorize
category: tool-addon
type: Scanner
platform:
- linux
- macos
- windows
- burpsuite
platform: [linux, macos, windows, burpsuite]
lang: Python
tags:
- aaa
tags: [aaa]
8 changes: 2 additions & 6 deletions weapons/BLUTO.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ description: DNS Analysis Tool
url: https://github.com/darryllane/Bluto
category: tool
type: Recon
platform:
- linux
- macos
- windows
platform: [linux, macos, windows]
lang: Python
tags:
- dns
tags: [dns]
8 changes: 2 additions & 6 deletions weapons/BaRMIe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ description: Java RMI enumeration and attack tool.
url: https://github.com/NickstaDB/BaRMIe
category: tool
type: Exploit
platform:
- linux
- macos
- windows
platform: [linux, macos, windows]
lang: Java
tags:
- RMI
tags: [RMI]
11 changes: 4 additions & 7 deletions weapons/BatchQL.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
---
name: BatchQL
description: GraphQL security auditing script with a focus on performing batch GraphQL queries and mutations
description: GraphQL security auditing script with a focus on performing batch GraphQL
queries and mutations
url: https://github.com/assetnote/batchql
category: tool
type: Fuzzer
platform:
- linux
- macos
- windows
platform: [linux, macos, windows]
lang: Python
tags:
- graphql
tags: [graphql]
6 changes: 1 addition & 5 deletions weapons/Berserko.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ description: Burp Suite extension to perform Kerberos authentication
url: https://github.com/nccgroup/Berserko
category: tool-addon
type: Utils
platform:
- linux
- macos
- windows
- burpsuite
platform: [linux, macos, windows, burpsuite]
lang: Java
tags: []
5 changes: 1 addition & 4 deletions weapons/Blacklist3r.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ description: 'project-blacklist3r '
url: https://github.com/NotSoSecure/Blacklist3r
category: tool
type: Utils
platform:
- linux
- macos
- windows
platform: [linux, macos, windows]
lang: C#
tags: []
5 changes: 1 addition & 4 deletions weapons/BruteX.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ description: Automatically brute force all services running on a target.
url: https://github.com/1N3/BruteX
category: tool
type: Fuzzer
platform:
- linux
- macos
- windows
platform: [linux, macos, windows]
lang: Shell
tags: []
5 changes: 1 addition & 4 deletions weapons/Bug-Bounty-Toolz.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ description: 'BBT - Bug Bounty Tools '
url: https://github.com/m4ll0k/Bug-Bounty-Toolz
category: tool
type: Utils
platform:
- linux
- macos
- windows
platform: [linux, macos, windows]
lang: Python
tags: []
6 changes: 1 addition & 5 deletions weapons/BurpBounty.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ description:
url: https://github.com/wagiro/BurpBounty
category: tool-addon
type: Utils
platform:
- linux
- macos
- windows
- burpsuite
platform: [linux, macos, windows, burpsuite]
lang: BlitzBasic
tags: []
Loading