code: func ruleMatchesNonResource(r *audit.PolicyRule, attrs authorizer.Attributes) bool {
  	if attrs.IsResourceRequest() {
  		return false
  	}
  
  	path := attrs.GetPath()
  	for _, spec := range r.NonResourceURLs {
  		if pathMatches(path, spec) {
  			return true
  		}
  	}
  
  	return false
  }
docs: // Check whether the rule's non-resource URLs match the request attrs.