crash.software
Projects
Pull Requests
Issues
Builds
bearer
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
bearer
Files
🤬
Sign In
f16c3a25
ROOT
/
pkg
/
report
/
output
/
dataflow
/
datatypes
/
get_extras.go
Search
History
331 lines
|
ISO-8859-1
|
7 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
processorInput
Rule
:
*settings.Rule
AllDetections
:
[]interface{}
TargetDetections
:
[]interface{}
ExtraFields
encrypted
:
*bool
verifiedBy
:
[]types.DatatypeVerifiedBy
getCustomTargetDetections
(allDetections []interface{})
:
([]interface{}, error)
getEncryptedField
(result rego.Vars, detection interface{})
:
(bool, error)
getVerifiedBy
(result rego.Vars, detection interface{})
:
([]types.DatatypeVerifiedBy, error)
extrasObj
data
:
map[string]*ExtraFields
NewCustomExtras
(detections []interface{}, config settings.Config)
:
(*extrasObj, error)
NewExtras
(detections []interface{}, config settings.Config)
:
(*extrasObj, error)
newExtrasObj
( detections []interface{}, targetDetectionsFunc func(detections []interface{}) ([]interface{}, error), config settings.Config, )
:
(*extrasObj, error)
runExtrasQuery
( query string, modules []regohelper.Module, detections, targetDetections []interface{}, rule *settings.Rule, )
:
(map[string]*ExtraFields, error)
getTargetDetections
(allDetections []interface{})
:
([]interface{}, error)
processorModules
(processorName string)
:
(modules []regohelper.Module, err error)
runProcessor
( processorName string, detections []any, targetDetections []any, rule *settings.Rule, )
:
(data map[string]*ExtraFields, err error)
*extrasObj
Get
(detection interface{})
:
*ExtraFields
All occurrences
Please wait...
Page is in error, reload to recover