I am trying to exclude the WordPress files wp-includes and wp-admin in gitleaks.toml to avoid unnecessary checks and errors. I am trying to include the two files paths like this :
paths = [
'''app/public/wp-admin/.*''',
'''app/public/wp-includes/.*'''
]
and I tried this path also:
path=[
'''^app/public/wp-admin/.*''',
'''^app/public/wp-includes/.*''',
]
but the results are the same. The folders are being scanned.
Any suggestions?