Skip to content

Commit

Permalink
cleanup a bit the codebase (#195)
Browse files Browse the repository at this point in the history
  • Loading branch information
jt-dd committed May 22, 2024
1 parent b59be0f commit 3e3ff1d
Show file tree
Hide file tree
Showing 5 changed files with 70 additions and 5 deletions.
40 changes: 39 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,42 @@ deployments/kubehound/kubegraph/dsl/kubehound/target
test/setup/test-cluster/RBAC/

# poetry file
poetry.lock
poetry.lock

###############################################################################
# Terraform Files
###############################################################################
# Local .terraform directories
**/.terraform/*

# .tfstate files
*.tfstate
*.tfstate.*

# Crash log files
crash.log
crash.*.log

# Exclude all .tfvars files, which are likely to contain sensitive data, such as
# password, private keys, and other secrets. These should not be part of version
# control as they are data points which are potentially sensitive and subject
# to change depending on the environment.
*.tfvars
*.tfvars.json

# Ignore override files as they are usually used to override resources locally and so
# are not checked in
override.tf
override.tf.json
*_override.tf
*_override.tf.json

# Include override files you do wish to add to version control using negated pattern
# !example_override.tf

# Include tfplan files to ignore the plan output of command: terraform plan -out=tfplan
# example: *tfplan*

# Ignore CLI configuration files
.terraformrc
terraform.rc
23 changes: 23 additions & 0 deletions datadog/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ require (
github.com/DataDog/datadog-go/v5 v5.3.0
github.com/alitto/pond v1.8.3
github.com/apache/tinkerpop/gremlin-go/v3 v3.7.0
github.com/aws/aws-sdk-go-v2/config v1.25.5
github.com/aws/aws-sdk-go-v2/service/s3 v1.44.0
github.com/go-playground/validator/v10 v10.19.0
github.com/hashicorp/go-multierror v1.1.1
github.com/spf13/afero v1.10.0
Expand Down Expand Up @@ -49,7 +51,6 @@ require (
github.com/aws/aws-sdk-go v1.48.3 // indirect
github.com/aws/aws-sdk-go-v2 v1.23.1 // indirect
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.5.1 // indirect
github.com/aws/aws-sdk-go-v2/config v1.25.5 // indirect
github.com/aws/aws-sdk-go-v2/credentials v1.16.4 // indirect
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.14.5 // indirect
github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.14.2 // indirect
Expand All @@ -61,7 +62,6 @@ require (
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.2.4 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.10.4 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.16.4 // indirect
github.com/aws/aws-sdk-go-v2/service/s3 v1.44.0 // indirect
github.com/aws/aws-sdk-go-v2/service/sso v1.17.3 // indirect
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.20.1 // indirect
github.com/aws/aws-sdk-go-v2/service/sts v1.25.4 // indirect
Expand Down
4 changes: 4 additions & 0 deletions static-analysis.datadog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
rulesets:
- go-best-practices
- go-security
ignorePaths: []
4 changes: 2 additions & 2 deletions test/setup/util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ test_prequisites

function load_env(){
_printf_warn "Loading env vars from $SCRIPT_DIR/.config ..."
if [ -f $SCRIPT_DIR/.config ]; then
if [ -f "$SCRIPT_DIR/.config" ]; then
set -a
source $SCRIPT_DIR/.config
source "$SCRIPT_DIR/.config"
set +a
fi
}
Expand Down

0 comments on commit 3e3ff1d

Please sign in to comment.