diff --git a/build_lists/sensitive_files.yaml b/build_lists/sensitive_files.yaml index ca0aafe..b0192f8 100644 --- a/build_lists/sensitive_files.yaml +++ b/build_lists/sensitive_files.yaml @@ -408,6 +408,15 @@ search: type: f search_in: - common + + - name: "php.ini" + value: + bad_regex: "On" + remove_regex: "^;" + line_grep: "allow_" + type: f + search_in: + - common - name: PHP Sessions value: @@ -2642,13 +2651,6 @@ search: search_in: - common - - name: "php.ini" - value: - just_list_file: True - type: f - search_in: - - common - - name: "printers.xml" value: just_list_file: True