You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: allow paths in --exclude parameter for IaC commands while maintaining backwards compatibility
- Remove path separator validation only for IaC commands (--iac flag)
- Keep existing validation for open source scanning to maintain backwards compatibility
- Update tests to verify both behaviors work correctly
- IaC commands now support: --exclude=path/to/dir, --exclude=subdir/file.tf
- Open source commands still restrict to: --exclude=dirname, --exclude=filename
Fixes issue where --exclude parameter only worked with single files and directories
without path separators for IaC commands.
0 commit comments