Function get_ignored_rules
Source pub fn get_ignored_rules(
annotations: Option<&BTreeMap<String, String>>,
) -> HashSet<String>
Expand description
Extract the set of ignored rule codes from an object’s annotations.
§Arguments
annotations - Optional map of annotations from the object metadata
§Returns
A set of rule codes (e.g., “K8S-OPT-001”, “K8S-OPT-005”) that should be ignored.