Skip to content

Latest commit

 

History

History

cidr_prefix_length_bicep

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Maximum CIDR length check

This action verifies that the templates in the repo do not contain too many IP groups.

Inputs

file_prefixes

Optional File prefixes (space-separated) for the ARM templates to be analyzed. Default "ipgroups rcg".

file_extension

Optional File extension for the ARM templates to be analyzed. Default "bicep".

min_cidr_length

Optional Minimum CIDR prefix length allowed. Default "24".

base_dir

Optional Directory where to look for files. Default "./".

Example usage

uses: ./.github/actions/cidr_prefix_length
with:
  file_prefix: 'ipgroups rcg'
  file_extension: 'json'
  min_cidr_length: '24'
  base_dir: './'