rspec/rules/S6321/python/highlight.adoc

7 lines
380 B
Plaintext
Raw Normal View History

== Highlighting
When a call to `allow_from_any_ipv4` or `allow_default_port_from_any_ipv4` is identified:
* Highlight the method name
In any other case, when a dangerous peer definition is identified:
* Highlight the peer definition attribute, e.g. `cidr_ip` for `IngressProperty` constructors, `peer` parameter for `add_ingress_rule` calls, `other` for `allow_from` calls, etc.