code: func EnforcePolicy(event *audit.Event, level audit.Level, omitStages []audit.Stage) (*audit.Event, error) {
  	for _, stage := range omitStages {
  		if event.Stage == stage {
  			return nil, nil
  		}
  	}
  	return enforceLevel(event, level)
  }
docs: // EnforcePolicy drops any part of the event that doesn't conform to a policy level
  // or omitStages and sets the event level accordingly