Skip to content

Commit

Permalink
On branch main
Browse files Browse the repository at this point in the history
  • Loading branch information
gitworkflows authored Oct 13, 2024
1 parent 627f330 commit 051ba6c
Show file tree
Hide file tree
Showing 45 changed files with 5,457 additions and 1 deletion.
54 changes: 54 additions & 0 deletions TEMPLATES/.ansible-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
---
##########################
##########################
## Ansible Linter rules ##
##########################
##########################

#############################
# Exclude paths from linter #
#############################
# exclude_paths:

########################
# Make output parsable #
########################
parseable: true

#######################
# Set output to quiet #
#######################
quiet: true

#####################
# Path to rules dir #
#####################
# rulesdir:

################
# Tags to skip #
################
skip_list:
- "empty-string-compare" # Allow compare to empty string
- "204" # Allow string length greater than 160 chars
- "no-changed-when" # False positives for running command shells
- "command-instead-of-module" # Allow git commands for push, add, etc...
- "command-instead-of-shell" # Allow use of shell when you want
- "no-handler" # Allow step to run like handler
- "unnamed-task" # Allow tasks without a name
- "yaml" # Disable YAML linting since it's done by yamllint

##################
# Tags to follow #
##################
# tags:

#############
# Use rules #
#############
use_default_rules: true

#################
# Set verbosity #
#################
verbosity: 1
30 changes: 30 additions & 0 deletions TEMPLATES/.arm-ttk.psd1
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Documentation:
# - Test Parameters: https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/test-toolkit#test-parameters
# - Test Cases: https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/test-cases
@{
# Test = @(
# 'Parameters Property Must Exist',
# 'Parameters Must Be Referenced',
# 'Secure String Parameters Cannot Have Default',
# 'Location Should Not Be Hardcoded',
# 'Resources Should Have Location',
# 'VM Size Should Be A Parameter',
# 'Min And Max Value Are Numbers',
# 'artifacts-parameter',
# 'Variables Must Be Referenced',
# 'Dynamic Variable References Should Not Use Concat',
# 'apiVersions Should Be Recent',
# 'Providers apiVersions Is Not Permitted',
# 'Template Should Not Contain Blanks',
# 'IDs Should Be Derived From ResourceIDs',
# 'ResourceIds should not contain',
# 'DependsOn Must Not Be Conditional',
# 'Deployment Resources Must Not Be Debug',
# 'adminUsername Should Not Be A Literal',
# 'VM Images Should Use Latest Version',
# 'Virtual-Machines-Should-Not-Be-Preview',
# 'ManagedIdentityExtension must not be used',
# 'Outputs Must Not Contain Secrets'
# )
# Skip = @()
}
3 changes: 3 additions & 0 deletions TEMPLATES/.cfnlintrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
include_checks:
- I
3 changes: 3 additions & 0 deletions TEMPLATES/.checkov.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
# Don't report passed checks in output
quiet: true
Loading

0 comments on commit 051ba6c

Please sign in to comment.