ASN Match
The asn-match controller matches the client ASN against in a configured list.
Configuration
yaml
analysisControllers:
- name: asn
type: maxmind-asn
settings:
databasePath: GeoLite2-ASN.mmdb
matchControllers:
- name: cloud-providers
type: asn-match
settings:
asnList: config/cloud-providers-asns.txt1
2
3
4
5
6
7
8
9
10
11
2
3
4
5
6
7
8
9
10
11
Settings
asnList(required): Path to a text file with ASN numbers (one per line;ASprefix optional).
ASN List Format
- Supports lines like
15169orAS 15169;#starts a comment; blank lines are ignored.
Policy Patterns
- Allow only trusted ASNs:
authorizationPolicy: "trusted-asn". - Combine allow + block lists:
authorizationPolicy: "trusted-asn && !blocked-asn"using twoasn-matchcontrollers.