-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.yaml
More file actions
1134 lines (1037 loc) · 50.4 KB
/
Copy pathconfig.yaml
File metadata and controls
1134 lines (1037 loc) · 50.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# Ferret Scanner Configuration File
# This file defines default settings and profiles for different scanning scenarios
# Default settings applied when no profile is specified
# NOTE: Some CLI flags are not parseable from config — they must be passed on
# the command line: --disable-ip-types, --enable-redaction, --redaction-*,
# --suppression-file, --preprocess-only, --pre-commit-mode, --generate-suppressions=<specific>.
defaults:
format: text # Output format: text, json, csv, yaml, junit, gitlab-sast, sarif
confidence_levels: all # Confidence levels to display: high, medium, low, or combinations
checks:
all # Specific checks to run: CREDIT_CARD, EMAIL, INTELLECTUAL_PROPERTY, IP_ADDRESS, METADATA, PASSPORT, PERSON_NAME, PHONE, SECRETS, SOCIAL_MEDIA, SSN, VIN, or combinations
# GENAI_DISABLED: COMPREHEND_PII also available with --enable-genai
verbose: false # Display detailed information for each finding
debug: false # Enable debug logging to show preprocessing and validation flow
no_color: false # Disable colored output
recursive: false # Recursively scan directories
enable_preprocessors: true # Enable text extraction from documents (PDF, Office files)
show_match: false # Display the actual matched text in findings (otherwise [HIDDEN])
quiet: false # Suppress progress output (useful for scripts and CI/CD)
show_suppressed: false # Include suppressed findings in output with [SUPP] marker
generate_suppressions: false # Generate suppression rules for all findings
fail_on_incomplete: false # Exit code 3 if any file's validator coverage was cut short (timeout/cancellation/budget)
# File exclusion patterns — glob syntax, applied in addition to --exclude on CLI
# Uncomment and customize for your repo. Paths are matched against both the
# full path and each path segment; trailing / marks a directory-only pattern.
# exclude_patterns:
# - ".git"
# - "node_modules"
# - "vendor"
# - "dist/"
# - "build/"
# - "*.log"
# - "*.tmp"
# Honor .gitignore, .git/info/exclude, and the user's global git excludes file.
# Opt-in because .gitignore routinely hides the files most valuable for secret
# scanning (.env, *.pem, credentials/). When enabled, .git is always skipped.
respect_gitignore: false
# GENAI_DISABLED: max_cost: 0 # Maximum cost limit for GenAI services (0 = no limit)
# GENAI_DISABLED: estimate_only: false # Show cost estimate and exit without processing
# Preprocessor configurations
preprocessors:
# Text extraction from documents
text_extraction:
enabled: true # Enable text extraction preprocessor
types: # Types of text extraction to perform
- pdf # Extract text from PDF documents
- office # Extract text from Office documents (DOCX, XLSX, PPTX, ODT, ODS, ODP)
# GENAI_DISABLED: Amazon Textract OCR (requires --enable-genai flag)
# GENAI_DISABLED: WARNING: Using Textract will send your files to AWS and incur costs
# GENAI_DISABLED: textract:
# GENAI_DISABLED: enabled: false # Disabled by default, enabled with --enable-genai flag
# GENAI_DISABLED: region: us-east-1 # AWS region for Textract service
# GENAI_DISABLED: Amazon Transcribe for audio file transcription (requires --enable-genai flag)
# GENAI_DISABLED: WARNING: Using Transcribe will send your files to AWS and incur costs
# GENAI_DISABLED: transcribe:
# GENAI_DISABLED: enabled: false # Disabled by default, enabled with --enable-genai flag
# GENAI_DISABLED: region: us-east-1 # AWS region for Transcribe service
# GENAI_DISABLED: bucket: "" # S3 bucket name for audio uploads (optional, creates temporary bucket if not specified)
# GENAI_DISABLED: Amazon Comprehend for PII detection (requires --enable-genai flag)
# GENAI_DISABLED: WARNING: Using Comprehend will send your text to AWS and incur costs
# GENAI_DISABLED: comprehend:
# GENAI_DISABLED: enabled: false # Disabled by default, enabled with --enable-genai flag
# GENAI_DISABLED: region: us-east-1 # AWS region for Comprehend service
# Metadata extraction (automatically enabled when preprocessors are enabled)
# Supports multiple file types:
# - Images: JPG, JPEG, TIFF, TIF, PNG, GIF, BMP, WEBP
# Extracts EXIF data, camera information, GPS coordinates, timestamps, etc.
# GENAI_DISABLED: With --enable-genai: Also extracts text using Amazon Textract OCR
# - Office Documents: DOCX, XLSX, PPTX, ODT, ODS, ODP
# Extracts author, creator, company, modification history, document properties, etc.
# - PDF Documents: PDF
# Extracts author, creator, producer, creation dates, document properties, etc.
# GENAI_DISABLED: With --enable-genai: Also extracts text from scanned/image-based PDFs using Amazon Textract OCR
# Redaction configurations
redaction:
enabled: false # Enable redaction of sensitive data (can be overridden with --enable-redaction)
output_dir: "./redacted" # Directory where redacted files will be stored
strategy: "format_preserving" # Default redaction strategy: simple, format_preserving, or synthetic
audit_log_file: "" # Path to save redaction audit log file (JSON format for compliance)
memory_scrub: true # Enable secure memory scrubbing after processing sensitive data
audit_trail: true # Enable audit trail generation for redaction operations
# Strategy-specific configurations
strategies:
simple:
replacement: "[REDACTED]" # Text to replace sensitive data with
format_preserving:
preserve_length: true # Maintain original text length
preserve_format: true # Maintain original text format (e.g., XXX-XX-XXXX for SSN)
synthetic:
secure: true # Use cryptographically secure synthetic data generation
# Validator-specific configurations
validators:
# Intellectual property validator configuration
intellectual_property:
# Disabled IP sub-types
# Use this to skip detection of specific intellectual property categories.
# This is useful when your codebase legitimately contains certain IP markers
# (e.g., copyright notices on all source files) that would generate excessive findings.
#
# Valid values: copyright, patent, trademark, trade_secret, internal_url
# Example: Disable copyright detection for codebases with standard copyright headers
# disabled_types:
# - copyright
#
# Internal company URL patterns to detect
# IMPORTANT: Internal URL detection requires explicit configuration
# Configure patterns specific to your organization's infrastructure
#
# Pattern Categories:
# 1. Cloud Infrastructure - AWS, Azure, GCP service URLs
# 2. Corporate Networks - Internal domains and naming conventions
# 3. Development Environments - Dev, staging, test environments
# 4. Private Networks - RFC 1918 private IP ranges
# 5. Organization-Specific - Custom domains and subdomains
#
# Pattern Format: Regular expressions using escaped forward slashes
# Example: "http[s]?:\\/\\/.*\\.internal\\..*" matches https://wiki.internal.company.com
#
# Migration Note: Previously hardcoded patterns must now be explicitly configured
# See INTERNAL_URL_MIGRATION_GUIDE.md for migration assistance
internal_urls:
# ========================================
# CLOUD INFRASTRUCTURE PATTERNS
# ========================================
# Amazon Web Services (AWS) Patterns
# Core AWS services that commonly appear in internal documentation
- "http[s]?:\\/\\/s3\\.amazonaws\\.com" # AWS S3 main endpoint
- "http[s]?:\\/\\/.*\\.s3\\.amazonaws\\.com" # S3 bucket-specific URLs
- "http[s]?:\\/\\/.*\\.s3-.*\\.amazonaws\\.com" # S3 regional endpoints
# - "http[s]?:\\/\\/.*\\.cloudfront\\.net" # CloudFront distributions
# - "http[s]?:\\/\\/.*\\.execute-api\\..*\\.amazonaws\\.com" # API Gateway endpoints
# - "http[s]?:\\/\\/.*\\.elb\\.amazonaws\\.com" # Classic Load Balancers
# - "http[s]?:\\/\\/.*\\.elb\\..*\\.amazonaws\\.com" # Application/Network Load Balancers
# - "http[s]?:\\/\\/.*\\.lambda\\..*\\.amazonaws\\.com" # Lambda function URLs
# - "http[s]?:\\/\\/.*\\.rds\\.amazonaws\\.com" # RDS database endpoints
# - "http[s]?:\\/\\/.*\\.elasticache\\..*\\.amazonaws\\.com" # ElastiCache endpoints
# - "http[s]?:\\/\\/.*\\.es\\.amazonaws\\.com" # Elasticsearch Service
# Amazon/AWS Internal Infrastructure Patterns
# Internal Amazon/AWS tools and systems (using optional host patterns for efficiency)
- "w\\.amazon\\.com" # Internal Wiki (exact match)
- "(.*\\.)?aws\\.dev" # AWS development tools (aws.dev + *.aws.dev)
- "(.*\\.)?amazon\\.dev" # Amazon development tools (amazon.dev + *.amazon.dev)
- "(.*\\.)?a2z\\.com" # Amazon A2Z systems (a2z.com + *.a2z.com)
- "isengard\\.amazon\\.com" # Internal tool (Isengard - exact match)
- "(.*\\.)?corp\\.amazon\\.com" # Corporate tools (corp.amazon.com + *.corp.amazon.com)
- "river\\.amazon\\.com" # Internal workflows (exact match)
- "issues\\.amazon\\.com" # Internal ticketing system (exact match)
- "hack\\.amazon\\.com" # Amazon hack events (exact match)
- "(.*\\.)?pulse\\.aws" # AWS Pulse (pulse.aws + *.pulse.aws)
- "admin\\.jam\\.awsevents\\.com" # AWS Events admin (exact match)
- "proservecrm\\.my\\.salesforce\\.com" # ProServe CRM Salesforce (exact match)
- "(.*\\.)?aws-border\\.cn" # AWS China border (aws-border.cn + *.aws-border.cn)
- "(.*\\.)?aws-border\\.com" # AWS border service (aws-border.com + *.aws-border.com)
- "(.*\\.)?awsc-integ\\.aws\\.amazon\\.com" # AWS integration tools (awsc-integ.aws.amazon.com + *.awsc-integ.aws.amazon.com)
- "(.*\\.)?a2z\\.org\\.cn" # Amazon China A2Z (a2z.org.cn + *.a2z.org.cn)
- "(.*\\.)?amazon\\.enterprise\\..*" # Amazon Enterprise systems (amazon.enterprise.* + *.amazon.enterprise.*)
# Microsoft Azure Patterns
# Uncomment and customize if you use Microsoft Azure
# - "http[s]?:\\/\\/.*\\.blob\\.core\\.windows\\.net" # Azure Blob Storage
# - "http[s]?:\\/\\/.*\\.file\\.core\\.windows\\.net" # Azure File Storage
# - "http[s]?:\\/\\/.*\\.table\\.core\\.windows\\.net" # Azure Table Storage
# - "http[s]?:\\/\\/.*\\.queue\\.core\\.windows\\.net" # Azure Queue Storage
# - "http[s]?:\\/\\/.*\\.azurewebsites\\.net" # Azure Web Apps
# - "http[s]?:\\/\\/.*\\.azure-api\\.net" # Azure API Management
# - "http[s]?:\\/\\/.*\\.azureedge\\.net" # Azure CDN
# - "http[s]?:\\/\\/.*\\.servicebus\\.windows\\.net" # Azure Service Bus
# - "http[s]?:\\/\\/.*\\.database\\.windows\\.net" # Azure SQL Database
# - "http[s]?:\\/\\/.*\\.vault\\.azure\\.net" # Azure Key Vault
# Google Cloud Platform (GCP) Patterns
# Uncomment and customize if you use Google Cloud
# - "http[s]?:\\/\\/storage\\.googleapis\\.com" # Google Cloud Storage
# - "http[s]?:\\/\\/.*\\.storage\\.googleapis\\.com" # GCS bucket URLs
# - "http[s]?:\\/\\/.*\\.appspot\\.com" # Google App Engine
# - "http[s]?:\\/\\/.*\\.run\\.app" # Google Cloud Run
# - "http[s]?:\\/\\/.*\\.cloudfunctions\\.net" # Google Cloud Functions
# - "http[s]?:\\/\\/.*\\.firebaseapp\\.com" # Firebase Hosting
# - "http[s]?:\\/\\/.*\\.web\\.app" # Firebase Web App
# - "http[s]?:\\/\\/.*\\.googleapis\\.com" # Google APIs
# ========================================
# CORPORATE NETWORK PATTERNS
# ========================================
# Standard Corporate Domain Patterns
# These patterns match common corporate naming conventions
- "http[s]?:\\/\\/.*\\.internal\\..*" # Generic .internal domains
- "http[s]?:\\/\\/.*\\.corp\\..*" # Generic .corp domains
- "http[s]?:\\/\\/.*-internal\\..*" # URLs with -internal suffix
- "http[s]?:\\/\\/.*internal-.*" # URLs with internal- prefix
# - "http[s]?:\\/\\/.*\\.company\\.com" # Replace 'company' with your domain
# - "http[s]?:\\/\\/.*\\.company\\.local" # Local domain suffix
# - "http[s]?:\\/\\/.*\\.company\\.lan" # LAN domain suffix
# Common Internal Service Patterns
# Typical internal services found in corporate environments
# - "http[s]?:\\/\\/intranet\\..*" # Intranet portals
# - "http[s]?:\\/\\/wiki\\..*" # Internal wikis
# - "http[s]?:\\/\\/docs\\..*" # Documentation sites
# - "http[s]?:\\/\\/confluence\\..*" # Atlassian Confluence
# - "http[s]?:\\/\\/jira\\..*" # Atlassian Jira
# - "http[s]?:\\/\\/gitlab\\..*" # GitLab instances
# - "http[s]?:\\/\\/jenkins\\..*" # Jenkins CI/CD
# - "http[s]?:\\/\\/nexus\\..*" # Sonatype Nexus
# - "http[s]?:\\/\\/artifactory\\..*" # JFrog Artifactory
# - "http[s]?:\\/\\/vault\\..*" # HashiCorp Vault
# - "http[s]?:\\/\\/consul\\..*" # HashiCorp Consul
# ========================================
# DEVELOPMENT ENVIRONMENT PATTERNS
# ========================================
# Environment-Specific Patterns
# Uncomment if you want to detect development/staging URLs
# These patterns help identify non-production environments
# - "http[s]?:\\/\\/.*-dev\\..*" # Development environments
# - "http[s]?:\\/\\/.*-staging\\..*" # Staging environments
# - "http[s]?:\\/\\/.*-test\\..*" # Test environments
# - "http[s]?:\\/\\/.*-qa\\..*" # QA environments
# - "http[s]?:\\/\\/.*-uat\\..*" # User Acceptance Testing
# - "http[s]?:\\/\\/.*-sandbox\\..*" # Sandbox environments
# - "http[s]?:\\/\\/dev-.*" # Dev prefix
# - "http[s]?:\\/\\/staging-.*" # Staging prefix
# - "http[s]?:\\/\\/test-.*" # Test prefix
# - "http[s]?:\\/\\/qa-.*" # QA prefix
# - "http[s]?:\\/\\/uat-.*" # UAT prefix
# - "http[s]?:\\/\\/sandbox-.*" # Sandbox prefix
# Branch/Feature Environment Patterns
# For organizations using dynamic environments per feature branch
# - "http[s]?:\\/\\/.*-pr-\\d+\\..*" # Pull request environments
# - "http[s]?:\\/\\/.*-branch-.*\\..*" # Branch-specific environments
# - "http[s]?:\\/\\/.*-feature-.*\\..*" # Feature branch environments
# - "http[s]?:\\/\\/review-.*\\..*" # Review environments
# ========================================
# PRIVATE NETWORK PATTERNS
# ========================================
# Private IP Address Ranges (RFC 1918)
# Uncomment if you want to detect private IP URLs
# These patterns match private network ranges commonly used in corporate environments
# - "http[s]?:\\/\\/10\\..*" # Class A private (10.0.0.0/8)
# - "http[s]?:\\/\\/172\\.(1[6-9]|2[0-9]|3[0-1])\\..*" # Class B private (172.16.0.0/12)
# - "http[s]?:\\/\\/192\\.168\\..*" # Class C private (192.168.0.0/16)
# - "http[s]?:\\/\\/localhost" # Localhost
# - "http[s]?:\\/\\/127\\..*" # Loopback addresses (127.0.0.0/8)
# Link-Local and Special Use Addresses
# - "http[s]?:\\/\\/169\\.254\\..*" # Link-local addresses (169.254.0.0/16)
# - "http[s]?:\\/\\/\\[::1\\]" # IPv6 localhost
# - "http[s]?:\\/\\/\\[fc00:.*\\]" # IPv6 unique local addresses
# - "http[s]?:\\/\\/\\[fd00:.*\\]" # IPv6 unique local addresses
# ========================================
# ORGANIZATION-SPECIFIC PATTERNS
# ========================================
# Technology Company Patterns
# Example patterns for technology companies
# - "http[s]?:\\/\\/.*\\.eng\\..*" # Engineering domains
# - "http[s]?:\\/\\/.*\\.dev\\..*" # Development domains
# - "http[s]?:\\/\\/.*\\.ops\\..*" # Operations domains
# - "http[s]?:\\/\\/.*\\.infra\\..*" # Infrastructure domains
# - "http[s]?:\\/\\/.*\\.platform\\..*" # Platform domains
# - "http[s]?:\\/\\/.*\\.tools\\..*" # Internal tools
# - "http[s]?:\\/\\/.*\\.metrics\\..*" # Metrics and monitoring
# - "http[s]?:\\/\\/.*\\.logs\\..*" # Logging systems
# Financial Services Patterns
# Example patterns for financial institutions
# - "http[s]?:\\/\\/.*\\.bank\\.internal" # Banking systems
# - "http[s]?:\\/\\/.*\\.trading\\.internal" # Trading systems
# - "http[s]?:\\/\\/.*\\.risk\\.internal" # Risk management
# - "http[s]?:\\/\\/.*\\.compliance\\.internal" # Compliance systems
# - "http[s]?:\\/\\/.*\\.audit\\.internal" # Audit systems
# - "http[s]?:\\/\\/.*\\.finserv\\..*" # Financial services
# Healthcare Organization Patterns
# Example patterns for healthcare organizations
# - "http[s]?:\\/\\/.*\\.health\\.internal" # Health systems
# - "http[s]?:\\/\\/.*\\.medical\\.internal" # Medical systems
# - "http[s]?:\\/\\/.*\\.hipaa\\..*" # HIPAA-compliant systems
# - "http[s]?:\\/\\/ehr\\..*" # Electronic Health Records
# - "http[s]?:\\/\\/patient\\..*" # Patient management systems
# - "http[s]?:\\/\\/.*\\.clinic\\..*" # Clinic systems
# Manufacturing/Industrial Patterns
# Example patterns for manufacturing organizations
# - "http[s]?:\\/\\/.*\\.plant\\..*" # Manufacturing plants
# - "http[s]?:\\/\\/.*\\.factory\\..*" # Factory systems
# - "http[s]?:\\/\\/.*\\.scada\\..*" # SCADA systems
# - "http[s]?:\\/\\/.*\\.mes\\..*" # Manufacturing Execution Systems
# - "http[s]?:\\/\\/.*\\.erp\\..*" # Enterprise Resource Planning
# - "http[s]?:\\/\\/.*\\.plm\\..*" # Product Lifecycle Management
# Educational Institution Patterns
# Example patterns for universities and schools
# - "http[s]?:\\/\\/.*\\.edu\\.internal" # Educational domains
# - "http[s]?:\\/\\/.*\\.campus\\..*" # Campus systems
# - "http[s]?:\\/\\/.*\\.student\\..*" # Student systems
# - "http[s]?:\\/\\/.*\\.faculty\\..*" # Faculty systems
# - "http[s]?:\\/\\/.*\\.research\\..*" # Research systems
# - "http[s]?:\\/\\/lms\\..*" # Learning Management Systems
# Government/Public Sector Patterns
# Example patterns for government organizations
# - "http[s]?:\\/\\/.*\\.gov\\.internal" # Government internal
# - "http[s]?:\\/\\/.*\\.agency\\..*" # Agency systems
# - "http[s]?:\\/\\/.*\\.classified\\..*" # Classified systems
# - "http[s]?:\\/\\/.*\\.secure\\..*" # Secure systems
# - "http[s]?:\\/\\/.*\\.fed\\..*" # Federal systems
# Retail/E-commerce Patterns
# Example patterns for retail organizations
# - "http[s]?:\\/\\/.*\\.retail\\.internal" # Retail systems
# - "http[s]?:\\/\\/.*\\.pos\\..*" # Point of Sale systems
# - "http[s]?:\\/\\/.*\\.inventory\\..*" # Inventory management
# - "http[s]?:\\/\\/.*\\.warehouse\\..*" # Warehouse systems
# - "http[s]?:\\/\\/.*\\.supply\\..*" # Supply chain systems
# - "http[s]?:\\/\\/.*\\.logistics\\..*" # Logistics systems
# Custom intellectual property patterns
# These patterns detect various types of intellectual property references
intellectual_property_patterns:
# Patent number patterns (US, European, Japanese, Chinese, WIPO)
patent: "\\b(US|EP|JP|CN|WO)[ -]?(\\d{1,3}[,.]?\\d{3}[,.]?\\d{3}|\\d{1,3}[,.]?\\d{3}[,.]?\\d{2}[A-Z]\\d?)\\b"
# Trademark patterns (™, ®, (TM), (R), and text variations)
trademark: "\\b(\\w+\\s*[™®]|\\w+\\s*\\(TM\\)|\\w+\\s*\\(R\\)|\\w+\\s+Trademark|\\w+\\s+Registered\\s+Trademark)\\b"
# Copyright patterns (©, (c), (C), Copyright with years)
copyright: "(©|\\(c\\)|\\(C\\)|Copyright|\\bCopyright\\b)\\s*\\d{4}[-,]?(\\d{4})?\\s+[A-Za-z0-9\\s\\.,]+"
# Trade secret and confidentiality patterns
trade_secret: "\\b(Confidential|Trade\\s+Secret|Proprietary|Company\\s+Confidential|Internal\\s+Use\\s+Only|Restricted|Classified)\\b"
social_media:
# Platform-specific regex patterns for detecting social media profiles and handles
platform_patterns:
# LinkedIn - Professional networking platform
linkedin:
- "(?i)https?://(?:www\\.)?linkedin\\.com/in/[a-zA-Z0-9_-]+" # Personal profiles
- "(?i)https?://(?:www\\.)?linkedin\\.com/company/[a-zA-Z0-9_-]+" # Company pages
- "(?i)https?://(?:www\\.)?linkedin\\.com/pub/[a-zA-Z0-9_/-]+" # Public profiles
- "(?i)linkedin\\.com/in/[a-zA-Z0-9_-]+" # Without protocol
# Twitter/X - Microblogging platform
twitter:
- "(?i)https?://(?:www\\.)?(twitter|x)\\.com/[a-zA-Z0-9_]+" # Profile URLs
- "(?i)(?<!\\w)@[a-zA-Z0-9_]{1,15}(?!@|\\.[a-zA-Z])" # @mentions and handles
- "(?i)(twitter|x)\\.com/[a-zA-Z0-9_]+"
# GitHub - Code repository platform
# github:
# - "(?i)https?://(?:www\\.)?github\\.com/[a-zA-Z0-9_-]+(?:/[a-zA-Z0-9_.-]+)?" # User/repo URLs
# - "(?i)https?://[a-zA-Z0-9_-]+\\.github\\.io" # GitHub Pages
# - "(?i)github\\.com/[a-zA-Z0-9_-]+(?:/[a-zA-Z0-9_.-]+)?" # Without protocol
# Facebook - Social networking platform
facebook:
- "(?i)https?://(?:www\\.)?(facebook|fb)\\.com/[a-zA-Z0-9._-]+" # Profile/page URLs
- "(?i)https?://(?:www\\.)?facebook\\.com/profile\\.php\\?id=\\d+" # Numeric profile IDs
- "(?i)(facebook|fb)\\.com/[a-zA-Z0-9._-]+" # Without protocol
# Instagram - Photo/video sharing platform
instagram:
- "(?i)https?://(?:www\\.)?instagram\\.com/[a-zA-Z0-9_.]+/" # Profile URLs
- "(?i)https?://(?:www\\.)?instagr\\.am/[a-zA-Z0-9_.]+/" # Short domain
- "(?i)instagram\\.com/[a-zA-Z0-9_.]+/" # Without protocol
# YouTube - Video sharing platform
youtube:
- "(?i)https?://(?:www\\.)?youtube\\.com/(?:user|c|channel)/[a-zA-Z0-9_-]+" # Channel URLs
- "(?i)https?://(?:www\\.)?youtube\\.com/@[a-zA-Z0-9_-]+" # New handle format
- "(?i)https?://(?:www\\.)?youtu\\.be/[a-zA-Z0-9_-]+" # Short URLs
- "(?i)youtube\\.com/(?:user|c|channel)/[a-zA-Z0-9_-]+" # Without protocol
# TikTok - Short video platform
tiktok:
- "(?i)https?://(?:www\\.)?tiktok\\.com/@[a-zA-Z0-9_.]+/" # Profile URLs
- "(?i)https?://(?:www\\.)?tiktok\\.com/t/[a-zA-Z0-9]+" # Short URLs
- "(?i)tiktok\\.com/@[a-zA-Z0-9_.]+/" # Without protocol
# Discord - Gaming/community chat platform
discord:
- "(?i)https?://(?:www\\.)?discord\\.gg/[a-zA-Z0-9]+" # Server invites
- "(?i)https?://(?:www\\.)?discord\\.com/users/\\d+" # User profiles
- "(?i)discord\\.gg/[a-zA-Z0-9]+" # Without protocol
# Reddit - Social news aggregation platform
reddit:
- "(?i)https?://(?:www\\.)?reddit\\.com/u(?:ser)?/[a-zA-Z0-9_-]+" # User profiles
- "(?i)https?://(?:www\\.)?reddit\\.com/r/[a-zA-Z0-9_]+" # Subreddits
- "(?i)reddit\\.com/u(?:ser)?/[a-zA-Z0-9_-]+" # Without protocol
# Snapchat - Multimedia messaging platform
snapchat:
- "(?i)https?://(?:www\\.)?snapchat\\.com/add/[a-zA-Z0-9_.]+/" # Add friend URLs
- "(?i)snapchat\\.com/add/[a-zA-Z0-9_.]+/" # Without protocol
# Pinterest - Visual discovery platform
pinterest:
- "(?i)https?://(?:www\\.)?pinterest\\.com/[a-zA-Z0-9_]+/" # Profile URLs
- "(?i)pinterest\\.com/[a-zA-Z0-9_]+/" # Without protocol
# Twitch - Live streaming platform
twitch:
- "(?i)https?://(?:www\\.)?twitch\\.tv/[a-zA-Z0-9_]+" # Channel URLs
- "(?i)twitch\\.tv/[a-zA-Z0-9_]+" # Without protocol
# Medium - Publishing platform
medium:
- "(?i)https?://(?:www\\.)?medium\\.com/@[a-zA-Z0-9_.-]+" # Profile URLs
- "(?i)https?://[a-zA-Z0-9_.-]+\\.medium\\.com" # Custom domains
- "(?i)medium\\.com/@[a-zA-Z0-9_.-]+" # Without protocol
# Stack Overflow - Q&A platform for developers
stackoverflow:
- "(?i)https?://(?:www\\.)?stackoverflow\\.com/users/\\d+/[a-zA-Z0-9_-]*" # User profiles
- "(?i)stackoverflow\\.com/users/\\d+/[a-zA-Z0-9_-]*" # Without protocol
# Telegram - Messaging platform
telegram:
- "(?i)https?://(?:www\\.)?t\\.me/[a-zA-Z0-9_]+" # Channel/user URLs
- "(?i)t\\.me/[a-zA-Z0-9_]+" # Without protocol
# WhatsApp - Messaging platform
whatsapp:
- "(?i)https?://(?:www\\.)?wa\\.me/[0-9]+" # WhatsApp links
- "(?i)wa\\.me/[0-9]+" # Without protocol
# Skype - Video calling platform
skype:
- "(?i)skype:[a-zA-Z0-9._-]+" # Skype protocol links
- "(?i)https?://(?:www\\.)?skype\\.com/[a-zA-Z0-9._-]+" # Skype profile URLs
# Clubhouse - Audio social networking
clubhouse:
- "(?i)https?://(?:www\\.)?clubhouse\\.com/@[a-zA-Z0-9_]+" # Profile URLs
- "(?i)clubhouse\\.com/@[a-zA-Z0-9_]+" # Without protocol
# Keywords that increase confidence when found near social media patterns
positive_keywords:
- "profile"
- "social media"
- "follow me"
- "connect with me"
- "find me on"
- "professional"
- "networking"
- "collaboration"
- "social"
- "handle"
- "username"
- "account"
- "page"
- "channel"
- "follow"
- "connect"
- "link"
- "contact"
- "reach me"
- "social network"
- "online presence"
- "digital footprint"
# Keywords that decrease confidence when found near social media patterns
negative_keywords:
- "example"
- "test"
- "placeholder"
- "demo"
- "sample"
- "documentation"
- "tutorial"
- "mock"
- "fake"
- "dummy"
- "not real"
- "fictional"
- "made up"
- "for testing"
- "template"
- "guide"
- "instruction"
# Platform-specific keywords for enhanced context analysis
platform_keywords:
linkedin:
- "professional"
- "career"
- "network"
- "business"
- "work"
- "employment"
- "job"
- "resume"
- "cv"
- "experience"
- "connect"
- "endorsement"
- "recommendation"
twitter:
- "tweet"
- "follow"
- "retweet"
- "hashtag"
- "mention"
- "timeline"
- "trending"
- "viral"
- "thread"
- "updates"
- "microblog"
# github:
# - "repository"
# - "code"
# - "project"
# - "commit"
# - "pull request"
# - "fork"
# - "star"
# - "issue"
# - "developer"
# - "programming"
# - "open source"
# - "version control"
facebook:
- "post"
- "share"
- "like"
- "comment"
- "friend"
- "page"
- "group"
- "event"
- "photo"
- "status"
- "community"
instagram:
- "photo"
- "image"
- "story"
- "reel"
- "hashtag"
- "filter"
- "post"
- "share"
- "follow"
- "like"
- "visual"
- "photography"
youtube:
- "video"
- "channel"
- "subscribe"
- "playlist"
- "watch"
- "upload"
- "stream"
- "content"
- "creator"
- "vlog"
- "tutorial"
tiktok:
- "video"
- "viral"
- "trend"
- "dance"
- "challenge"
- "creator"
- "content"
- "short"
- "clip"
- "sound"
- "duet"
discord:
- "server"
- "channel"
- "voice"
- "chat"
- "gaming"
- "community"
- "bot"
- "role"
- "guild"
reddit:
- "subreddit"
- "post"
- "comment"
- "upvote"
- "karma"
- "thread"
- "discussion"
- "community"
- "moderator"
twitch:
- "stream"
- "streaming"
- "live"
- "gaming"
- "chat"
- "follower"
- "subscriber"
- "emote"
medium:
- "article"
- "blog"
- "writing"
- "publish"
- "story"
- "author"
- "publication"
- "clap"
# Patterns to whitelist (reduce false positives)
whitelist_patterns:
- "(?i)example\\.com"
- "(?i)test\\.com"
- "(?i)placeholder"
- "(?i)demo"
- "(?i)sample"
# Suppression configuration
suppressions:
file: ".ferret-scan-suppressions.yaml" # Path to suppression configuration file
generate_on_scan: false # Generate suppression rules for all findings during scan
show_suppressed: false # Include suppressed findings in output
# GENAI_DISABLED: Cost control settings for GenAI services
# GENAI_DISABLED: NOTE: These settings only apply when --enable-genai flag is used
# GENAI_DISABLED: cost_control:
# GENAI_DISABLED: max_cost: 0 # Maximum cost limit for GenAI services (0 = no limit)
# GENAI_DISABLED: estimate_only: false # Show cost estimate and exit without processing
# GENAI_DISABLED: prompt_for_costs: true # Prompt user before incurring any GenAI costs
# GENAI_DISABLED: GenAI service configuration
# GENAI_DISABLED: genai:
# GENAI_DISABLED: services: "all" # Comma-separated list: textract, transcribe, comprehend, or 'all'
# GENAI_DISABLED: region: "us-east-1" # Default AWS region for all GenAI services
# Profiles for different scanning scenarios
profiles:
# Quick scan profile - only high confidence matches, minimal output
quick:
format: text
confidence_levels: high
checks: CREDIT_CARD,SECRETS,SSN,EMAIL # Focus on most critical data types
verbose: false
no_color: false
recursive: false
quiet: true
show_match: false
enable_preprocessors: false # Skip document processing for speed
# Pre-commit-style scan: honor .gitignore so we only look at tracked/stageable files,
# plus exclude the usual noisy directories.
respect_gitignore: true
exclude_patterns:
- ".git"
- "node_modules"
- "dist/"
- "build/"
description: "Quick scan focusing on critical data types with minimal processing"
# Thorough scan profile - all confidence levels, verbose output, recursive scanning
thorough:
format: text
confidence_levels: all
checks: all
verbose: true
no_color: false
recursive: true
enable_preprocessors: true
# Deep audits should NOT honor .gitignore — .env files, *.pem, and credentials/
# are routinely gitignored but are exactly what we want to find.
respect_gitignore: false
description: "Thorough scan with all confidence levels, recursive scanning, and text extraction"
# Debug profile - enables debug logging to show preprocessing and validation flow
debug:
format: yaml # YAML format is more readable for debugging
confidence_levels: all
checks: all
verbose: true
debug: true
no_color: false
recursive: true
enable_preprocessors: true
show_match: true # Show actual matches for debugging
show_suppressed: true # Show suppressed findings for debugging
description: "Debug mode with detailed logging and comprehensive output for troubleshooting"
# CI/CD pipeline profile - JUnit XML output for integration with CI/CD systems
ci:
format: junit
confidence_levels: high,medium
checks: all
verbose: true
no_color: true
recursive: true
enable_preprocessors: true
quiet: true
show_suppressed: false
generate_suppressions: false
description: "CI/CD pipeline profile with JUnit XML output for test result integration"
# Credit card scan profile - only scan for credit card numbers
credit-card:
format: text
confidence_levels: all
checks: CREDIT_CARD
verbose: true
no_color: false
recursive: true
description: "Scan only for credit card numbers"
# Passport scan profile - only scan for passport numbers
passport:
format: text
confidence_levels: all
checks: PASSPORT
verbose: true
no_color: false
recursive: true
description: "Scan only for passport numbers"
# Intellectual property scan profile - only scan for IP references
intellectual-property:
format: text
confidence_levels: all
checks: INTELLECTUAL_PROPERTY
verbose: true
no_color: false
recursive: true
description: "Scan only for intellectual property references"
# Profile-specific validator configurations that override the defaults
validators:
intellectual_property:
# Example: Technology company internal URL patterns
# This profile demonstrates how to customize patterns for a specific organization
internal_urls:
# Core company infrastructure
- "http[s]?:\\/\\/internal\\.example\\.com" # Main internal portal
- "http[s]?:\\/\\/wiki\\.example\\.com" # Company wiki
- "http[s]?:\\/\\/docs\\.example\\.com" # Documentation site
- "http[s]?:\\/\\/api\\.example\\.com" # Internal APIs
- "http[s]?:\\/\\/.*\\.internal\\.example\\.com" # All internal subdomains
- "http[s]?:\\/\\/.*-api\\.example\\.com" # API services
# Development and engineering tools
- "http[s]?:\\/\\/gitlab\\.example\\.com" # Source control
- "http[s]?:\\/\\/jenkins\\.example\\.com" # CI/CD pipeline
- "http[s]?:\\/\\/monitoring\\.example\\.com" # System monitoring
- "http[s]?:\\/\\/logs\\.example\\.com" # Log aggregation
# GENAI_DISABLED: GenAI profile - enables all AWS AI services for advanced analysis
# GENAI_DISABLED: WARNING: This profile will send files to AWS and incur costs
# GENAI_DISABLED: genai:
# GENAI_DISABLED: format: text
# GENAI_DISABLED: confidence_levels: all
# GENAI_DISABLED: checks: all
# GENAI_DISABLED: verbose: true
# GENAI_DISABLED: no_color: false
# GENAI_DISABLED: recursive: true
# GENAI_DISABLED: enable_preprocessors: true
# GENAI_DISABLED: enable_genai: true
# GENAI_DISABLED: max_cost: 10.0
# GENAI_DISABLED: estimate_only: false
# GENAI_DISABLED: description: "Advanced scan with all AWS AI services: Textract OCR, Transcribe, and Comprehend PII (requires AWS credentials, costs apply)"
# Company-specific profile with custom internal URLs and patterns
company-specific:
format: text
confidence_levels: all
checks: INTELLECTUAL_PROPERTY
verbose: true
no_color: false
recursive: true
description: "Company-specific intellectual property scan with comprehensive internal patterns"
validators:
intellectual_property:
# Example: Large enterprise internal URL patterns
# This profile shows comprehensive patterns for a large organization
internal_urls:
# Corporate infrastructure
- "http[s]?:\\/\\/company-wiki\\.internal" # Corporate wiki
- "http[s]?:\\/\\/docs\\.company\\.com" # Documentation portal
- "http[s]?:\\/\\/code\\.company\\.com" # Source code repositories
- "http[s]?:\\/\\/jira\\.company\\.com" # Issue tracking
- "http[s]?:\\/\\/confluence\\.company\\.com" # Collaboration platform
- "http[s]?:\\/\\/.*\\.company-internal\\.com" # All company-internal subdomains
- "http[s]?:\\/\\/.*\\.corp\\.company\\.com" # Corporate network
- "http[s]?:\\/\\/.*\\.company\\.local" # Local domain
# Business applications
- "http[s]?:\\/\\/erp\\.company\\.com" # Enterprise Resource Planning
- "http[s]?:\\/\\/crm\\.company\\.com" # Customer Relationship Management
- "http[s]?:\\/\\/hr\\.company\\.com" # Human Resources systems
- "http[s]?:\\/\\/finance\\.company\\.com" # Financial systems
- "http[s]?:\\/\\/procurement\\.company\\.com" # Procurement systems
# Development environments
- "http[s]?:\\/\\/.*-dev\\.company\\.com" # Development environments
- "http[s]?:\\/\\/.*-staging\\.company\\.com" # Staging environments
- "http[s]?:\\/\\/.*-test\\.company\\.com" # Test environments
# Regional offices (example for multinational company)
- "http[s]?:\\/\\/.*\\.us\\.company\\.com" # US operations
- "http[s]?:\\/\\/.*\\.eu\\.company\\.com" # European operations
- "http[s]?:\\/\\/.*\\.apac\\.company\\.com" # Asia-Pacific operations
# Custom intellectual property patterns specific to this company
intellectual_property_patterns:
# Enhanced trade secret patterns for this organization
trade_secret: "\\b(Company\\s+Confidential|Internal\\s+Use\\s+Only|Restricted\\s+Access|Classified\\s+Information|Proprietary\\s+to\\s+Company|Company\\s+Proprietary|Confidential\\s+and\\s+Proprietary)\\b"
# Custom copyright pattern including company name
copyright: "(©|\\(c\\)|\\(C\\)|Copyright|\\bCopyright\\b)\\s*\\d{4}[-,]?(\\d{4})?\\s+(Company\\s+Name|Company\\s+Inc|[A-Za-z0-9\\s\\.,]+)"
# GENAI_DISABLED: Cost-aware GenAI profile - limits spending on AWS services
# GENAI_DISABLED: cost-aware-genai:
# GENAI_DISABLED: format: json
# GENAI_DISABLED: confidence_levels: all
# GENAI_DISABLED: checks: all
# GENAI_DISABLED: verbose: true
# GENAI_DISABLED: no_color: true
# GENAI_DISABLED: recursive: true
# GENAI_DISABLED: enable_preprocessors: true
# GENAI_DISABLED: enable_genai: true
# GENAI_DISABLED: max_cost: 5.0
# Redaction profile - scan and redact sensitive data with format preservation
redaction:
format: text
confidence_levels: high,medium
checks: all
verbose: true
no_color: false
recursive: true
enable_preprocessors: true
description: "Scan and redact sensitive data with format-preserving strategy"
redaction:
enabled: true
output_dir: "./redacted"
strategy: "format_preserving"
index_file: "./redaction-index.json"
# Secure redaction profile - maximum security with synthetic data replacement
secure-redaction:
format: json
confidence_levels: all
checks: all
verbose: true
no_color: true
recursive: true
enable_preprocessors: true
description: "Maximum security redaction with synthetic data replacement"
redaction:
enabled: true
output_dir: "./secure-redacted"
strategy: "synthetic"
index_file: "./secure-redaction-index.json"
# GENAI_DISABLED: estimate_only: false
# GENAI_DISABLED: description: "GenAI scanning with cost controls ($5 limit)"
# GENAI_DISABLED: Estimate-only profile - shows costs without processing
# GENAI_DISABLED: cost-estimate:
# GENAI_DISABLED: format: text
# GENAI_DISABLED: confidence_levels: all
# GENAI_DISABLED: checks: all
# GENAI_DISABLED: verbose: false
# GENAI_DISABLED: no_color: false
# GENAI_DISABLED: recursive: true
# GENAI_DISABLED: enable_preprocessors: true
# GENAI_DISABLED: enable_genai: true
# GENAI_DISABLED: estimate_only: true
# GENAI_DISABLED: description: "Show GenAI cost estimates without processing files"
# Security audit profile - focused on security-sensitive data types
security-audit:
format: json
confidence_levels: medium,high # Exclude low confidence to reduce noise
checks: SECRETS,CREDIT_CARD,SSN,PASSPORT,INTELLECTUAL_PROPERTY
verbose: true
no_color: true
recursive: true
enable_preprocessors: true
show_match: false # Don't show actual sensitive data in logs
quiet: false
description: "Security-focused scan for audit and compliance purposes"
# Comprehensive profile - all features enabled with suppression support
comprehensive:
format: yaml
confidence_levels: all
checks: all
verbose: true
no_color: false
recursive: true
enable_preprocessors: true
show_match: true
show_suppressed: true
generate_suppressions: false
description: "Comprehensive scan with all features and suppression support"
# JSON API profile - structured JSON output for programmatic consumption
json-api:
format: json
confidence_levels: all
checks: all
verbose: true
no_color: true
recursive: true
enable_preprocessors: true
show_match: true
description: "Structured JSON output for APIs and programmatic processing"
# CSV export profile - spreadsheet-friendly output for analysis
csv-export:
format: csv
confidence_levels: all
checks: all
verbose: false
no_color: true
recursive: true
enable_preprocessors: true
quiet: true
description: "CSV format for spreadsheet analysis and reporting"
# Silent profile - minimal output for automated systems
silent:
format: json
confidence_levels: high
checks: all
verbose: false
no_color: true
recursive: true
enable_preprocessors: true
quiet: true
show_suppressed: false
description: "Silent operation for automated systems and scripts"
# Financial services profile - patterns for banking/finance industry
financial-services:
format: json
confidence_levels: all
checks: INTELLECTUAL_PROPERTY,CREDIT_CARD,SSN,SECRETS
verbose: true
no_color: true
recursive: true
description: "Financial services scan with comprehensive industry-specific patterns"
validators:
intellectual_property:
internal_urls:
# Core banking systems
- "http[s]?:\\/\\/.*\\.bank\\.internal" # Banking systems
- "http[s]?:\\/\\/.*\\.banking\\.internal" # Banking infrastructure
- "http[s]?:\\/\\/core-banking\\..*" # Core banking platform
- "http[s]?:\\/\\/.*\\.corebank\\..*" # Core banking services
# Trading and investment systems
- "http[s]?:\\/\\/.*\\.trading\\.internal" # Trading systems
- "http[s]?:\\/\\/.*\\.investment\\.internal" # Investment platforms
- "http[s]?:\\/\\/.*\\.portfolio\\.internal" # Portfolio management
- "http[s]?:\\/\\/.*\\.wealth\\.internal" # Wealth management
# Risk and compliance systems
- "http[s]?:\\/\\/.*\\.risk\\.internal" # Risk management
- "http[s]?:\\/\\/.*\\.compliance\\.internal" # Compliance systems
- "http[s]?:\\/\\/.*\\.audit\\.internal" # Audit systems
- "http[s]?:\\/\\/.*\\.regulatory\\.internal" # Regulatory reporting
- "http[s]?:\\/\\/.*\\.aml\\.internal" # Anti-Money Laundering
- "http[s]?:\\/\\/.*\\.kyc\\.internal" # Know Your Customer
# Financial services infrastructure
- "http[s]?:\\/\\/.*\\.finserv\\..*" # Financial services
- "http[s]?:\\/\\/.*\\.payments\\.internal" # Payment processing
- "http[s]?:\\/\\/.*\\.clearing\\.internal" # Clearing systems
- "http[s]?:\\/\\/.*\\.settlement\\.internal" # Settlement systems
- "http[s]?:\\/\\/.*\\.swift\\.internal" # SWIFT messaging
# Customer-facing systems