Documentation ¶
Index ¶
- Constants
- func GetDDSite() string
- type DatadogAlertFilter
- type DatadogAlertGeneratedAssertion
- type DatadogAlertGeneratedAssertionBuilder
- func (m *DatadogAlertGeneratedAssertionBuilder) Cleanup(detonationUuid string) error
- func (m *DatadogAlertGeneratedAssertionBuilder) HasExpectedAlert(detonationUuid string) (bool, error)
- func (m *DatadogAlertGeneratedAssertionBuilder) WithSeverity(severity string) *DatadogAlertGeneratedAssertionBuilder
- type DatadogSecuritySignalsAPI
- type DatadogSecuritySignalsAPIImpl
Constants ¶
View Source
const QueryAllOpenSignals = `@workflow.triage.state:open`
View Source
const QueryOpenSignalsByAlertNameAndSeverity = `@workflow.triage.state:open @workflow.rule.name:"%s" %s`
View Source
const QuerySeverity = `status:%s`
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DatadogAlertFilter ¶
type DatadogAlertGeneratedAssertion ¶
type DatadogAlertGeneratedAssertion struct { SignalsAPI DatadogSecuritySignalsAPI AlertFilter *DatadogAlertFilter }
func (*DatadogAlertGeneratedAssertion) Cleanup ¶
func (m *DatadogAlertGeneratedAssertion) Cleanup(detonationUuid string) error
func (*DatadogAlertGeneratedAssertion) HasExpectedAlert ¶
func (m *DatadogAlertGeneratedAssertion) HasExpectedAlert(detonationUuid string) (bool, error)
func (*DatadogAlertGeneratedAssertion) String ¶
func (m *DatadogAlertGeneratedAssertion) String() string
type DatadogAlertGeneratedAssertionBuilder ¶
type DatadogAlertGeneratedAssertionBuilder struct {
DatadogAlertGeneratedAssertion
}
builder
func DatadogSecuritySignal ¶
func DatadogSecuritySignal(name string) *DatadogAlertGeneratedAssertionBuilder
func (*DatadogAlertGeneratedAssertionBuilder) Cleanup ¶
func (m *DatadogAlertGeneratedAssertionBuilder) Cleanup(detonationUuid string) error
func (*DatadogAlertGeneratedAssertionBuilder) HasExpectedAlert ¶
func (m *DatadogAlertGeneratedAssertionBuilder) HasExpectedAlert(detonationUuid string) (bool, error)
func (*DatadogAlertGeneratedAssertionBuilder) WithSeverity ¶
func (m *DatadogAlertGeneratedAssertionBuilder) WithSeverity(severity string) *DatadogAlertGeneratedAssertionBuilder
type DatadogSecuritySignalsAPIImpl ¶
type DatadogSecuritySignalsAPIImpl struct {
// contains filtered or unexported fields
}
func (*DatadogSecuritySignalsAPIImpl) CloseSignal ¶
func (m *DatadogSecuritySignalsAPIImpl) CloseSignal(id string) error
func (*DatadogSecuritySignalsAPIImpl) SearchSignals ¶
func (m *DatadogSecuritySignalsAPIImpl) SearchSignals(query string) ([]datadogV2.SecurityMonitoringSignal, error)
Click to show internal directories.
Click to hide internal directories.