File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
test/integration/default/controls Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -12,5 +12,8 @@ Metrics/BlockLength:
1212 - describe
1313 # Increase from default of `25`
1414 Max : 30
15+ Security/YAMLLoad :
16+ Exclude :
17+ - test/integration/**/_mapdata.rb
1518
1619# Any offenses that should be fixed, e.g. collected via. `rubocop --auto-gen-config`
Original file line number Diff line number Diff line change 2323 mapdata_file_path = "_mapdata/#{ platform_finger } .yaml"
2424 # Load the mapdata from profile, into a YAML structure
2525 # https://docs.chef.io/inspec/profiles/#profile-files
26- mapdata_file_yaml = YAML . safe_load ( inspec . profile . file ( mapdata_file_path ) )
26+ mapdata_file_yaml = YAML . load ( inspec . profile . file ( mapdata_file_path ) )
2727 # Dump the YAML back into a string for comparison
2828 mapdata_file_dump = YAML . dump ( mapdata_file_yaml )
2929
You can’t perform that action at this time.
0 commit comments