func (x *Exception) Run(s *Secret) bool {
	match := true

	if match && x.Rule != nil && !x.Rule.MatchString(s.Rule.Name) {
		match = false
	}

	if match && x.Object != nil && !x.Object.MatchString(s.Object.Name) {
		match = false
	}

	if match && x.Nline != nil && *x.Nline != s.Nline {
		match = false
	}

	if match && x.Content != nil && !x.Content.MatchString(s.Line) {
		match = false
	}

	return match
}
func (x *Exception) Run(s *Secret) bool {
	match := true

	if match && x.Rule != nil && !x.Rule.MatchString(s.Rule.Name) {
		match = false
	}

	if match && x.Object != nil && !x.Object.MatchString(s.Object.Name) {
		match = false
	}

	if match && x.Nline != nil && *x.Nline != s.Nline {
		match = false
	}

	if match && x.Content != nil && !x.Content.MatchString(s.Line) {
		match = false
	}

	return match
}
func ( x * Exception ) Run ( s * Secret ) bool { match := true if match && x . Rule != nil && ! x . Rule . MatchString ( s . Rule . Name ) { match = false } if match && x . Object != nil && ! x . Object . MatchString ( s . Object . Name ) { match = false } if match && x . Nline != nil && * x . Nline != s . Nline { match = false } if match && x . Content != nil && ! x . Content . MatchString ( s . Line ) { match = false } return match }
// Run executes the exception into a secret to determine if it's an exception
// or not.
Run executes the exception into a secret to determine if it s an exception or not .