MCPcopy
hub / github.com/crowdsecurity/crowdsec / SetRemediation

Method SetRemediation

pkg/database/ent/mutation.go:1361–1363  ·  view source on GitHub ↗

SetRemediation sets the "remediation" field.

(b bool)

Source from the content-addressed store, hash-verified

1359
1360// SetRemediation sets the "remediation" field.
1361func (m *AlertMutation) SetRemediation(b bool) {
1362 m.remediation = &b
1363}
1364
1365// Remediation returns the value of the "remediation" field in the mutation.
1366func (m *AlertMutation) Remediation() (r bool, exists bool) {

Callers 3

SetFieldMethod · 0.95
createAlertBatchMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected