Skip to content

Commit

Permalink
fix: setup config files
Browse files Browse the repository at this point in the history
  • Loading branch information
lpsm-dev committed Jun 16, 2022
1 parent d9b58e8 commit 8ec5adc
Show file tree
Hide file tree
Showing 11 changed files with 48 additions and 1,005 deletions.
7 changes: 0 additions & 7 deletions .github/config/.gitleaks.toml
Original file line number Diff line number Diff line change
Expand Up @@ -509,13 +509,6 @@ description = "Typeform API token"
regex = '''(?i)(typeform[a-z0-9_ .\-,]{0,25})(=|>|:=|\|\|:|<=|=>|:).{0,5}(tfp_[a-z0-9\-_\.=]{59})'''
secretGroup = 3

[[rules]]
id = "generic-api-key"
description = "Generic API Key"
regex = '''(?i)((key|api|token|secret|password)[a-z0-9_ .\-,]{0,25})(=|>|:=|\|\|:|<=|=>|:).{0,5}['\"]([0-9a-zA-Z\-_=]{8,64})['\"]'''
entropy = 3.7
secretGroup = 4

[allowlist]
description = "global allow lists"
regexes = ['''219-09-9999''', '''078-05-1120''', '''(9[0-9]{2}|666)-\d{2}-\d{4}''']
Expand Down
6 changes: 0 additions & 6 deletions .github/config/.gitpod.Dockerfile

This file was deleted.

4 changes: 2 additions & 2 deletions .github/config/.hadolint.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
ignored:
- DL3006
- DL3008
- DL3006
- DL3008
144 changes: 0 additions & 144 deletions .github/config/.releaserc.json

This file was deleted.

32 changes: 0 additions & 32 deletions .gitpod.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .go-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.16.5
1.18.2
13 changes: 7 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
rev: v4.3.0
hooks:
- id: check-case-conflict
- id: check-merge-conflict
- id: check-yaml
- id: check-json
- id: trailing-whitespace
- id: double-quote-string-fixer
- id: end-of-file-fixer
- repo: https://github.com/zricethezav/gitleaks
rev: v8.2.7
rev: v8.8.7
hooks:
- id: gitleaks
args: ["--config", ".github/config/.gitleaks.toml", "--verbose"]
- repo: https://github.com/commitizen-tools/commitizen
rev: v2.21.0
rev: v2.27.1
hooks:
- id: commitizen
stages: [commit-msg]
- repo: https://github.com/hadolint/hadolint.git
rev: v2.10.0
hooks:
- id: hadolint
41 changes: 30 additions & 11 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,33 +1,52 @@
module github.com/lpmatos/loli

go 1.15
go 1.18

require (
github.com/asaskevich/govalidator v0.0.0-20210307081110-f21760c49a8d // indirect
github.com/aws/aws-sdk-go v1.34.28 // indirect
github.com/blang/semver v3.5.1+incompatible
github.com/briandowns/spinner v1.18.1
github.com/charmbracelet/glamour v0.5.0
github.com/common-nighthawk/go-figure v0.0.0-20210622060536-734e95fb86be
github.com/fatih/color v1.13.0
github.com/go-openapi/errors v0.20.2 // indirect
github.com/go-openapi/strfmt v0.21.2 // indirect
github.com/go-stack/stack v1.8.1 // indirect
github.com/gobuffalo/genny v0.1.1 // indirect
github.com/gobuffalo/gogen v0.1.1 // indirect
github.com/gookit/color v1.5.0 // indirect
github.com/inconshreveable/go-update v0.0.0-20160112193335-8152e7eb6ccf
github.com/jedib0t/go-pretty v4.3.0+incompatible
github.com/karrick/godirwalk v1.10.3 // indirect
github.com/kyokomi/emoji/v2 v2.2.9
github.com/logrusorgru/aurora v2.0.3+incompatible
github.com/logrusorgru/aurora/v3 v3.0.0
github.com/microcosm-cc/bluemonday v1.0.18 // indirect
github.com/muesli/termenv v0.12.0
github.com/pterm/pterm v0.12.41
github.com/sirupsen/logrus v1.8.1
github.com/spf13/cobra v1.4.0
)

require (
github.com/alecthomas/chroma v0.10.0 // indirect
github.com/asaskevich/govalidator v0.0.0-20210307081110-f21760c49a8d // indirect
github.com/atomicgo/cursor v0.0.1 // indirect
github.com/aymerick/douceur v0.2.0 // indirect
github.com/dlclark/regexp2 v1.4.0 // indirect
github.com/go-openapi/errors v0.20.2 // indirect
github.com/go-openapi/strfmt v0.21.2 // indirect
github.com/go-stack/stack v1.8.1 // indirect
github.com/gookit/color v1.5.0 // indirect
github.com/gorilla/css v1.0.0 // indirect
github.com/inconshreveable/mousetrap v1.0.0 // indirect
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
github.com/mattn/go-colorable v0.1.9 // indirect
github.com/mattn/go-isatty v0.0.14 // indirect
github.com/mattn/go-runewidth v0.0.13 // indirect
github.com/microcosm-cc/bluemonday v1.0.18 // indirect
github.com/mitchellh/mapstructure v1.3.3 // indirect
github.com/muesli/reflow v0.3.0 // indirect
github.com/oklog/ulid v1.3.1 // indirect
github.com/olekukonko/tablewriter v0.0.5 // indirect
github.com/rivo/uniseg v0.2.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/xo/terminfo v0.0.0-20210125001918-ca9a967f8778 // indirect
github.com/yuin/goldmark v1.4.7 // indirect
github.com/yuin/goldmark-emoji v1.0.1 // indirect
go.mongodb.org/mongo-driver v1.8.3 // indirect
golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd // indirect
golang.org/x/sys v0.0.0-20220319134239-a9b59b0215f8 // indirect
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 // indirect
)
Loading

0 comments on commit 8ec5adc

Please sign in to comment.