Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/blackstork-io/blackstork-cli
/ functions
Functions
2,920 in github.com/blackstork-io/blackstork-cli
⨍
Functions
2,920
◇
Types & classes
652
↓ 5 callers
Function
DefinePlugin
(block *hclsyntax.Block, atTopLevel bool)
parser/definitions/plugin.go:74
↓ 5 callers
Method
Error
Emit a message and key/value pairs at the ERROR level
pkg/sloghclog/sloghclog.go:139
↓ 5 callers
Method
Error
()
internal/openai/client/types.go:30
↓ 5 callers
Function
FnMapDiags
Produce a new slice by applying function fn to items of the slice s. Collects slice-like errors from the second return value (diagnostics in our case)
pkg/utils/slices.go:52
↓ 5 callers
Method
GenerateChatCompletion
(ctx context.Context, params *ChatCompletionParams)
internal/openai/client/client.go:32
↓ 5 callers
Method
GetAllReports
(ctx context.Context, req *GetAllReportsReq)
internal/hackerone/client/client.go:86
↓ 5 callers
Method
GetUserAPIUsage
(ctx context.Context, req *GetUserAPIUsageReq)
internal/virustotal/client/client.go:16
↓ 5 callers
Method
ID
()
plugin/content.go:57
↓ 5 callers
Function
Int
(i int)
internal/hackerone/client/client.go:22
↓ 5 callers
Method
ListIssues
(ctx context.Context, req *ListIssuesReq)
internal/snyk/client/client.go:65
↓ 5 callers
Method
ListSecurityCases
(ctx context.Context, req *ListSecurityCasesReq)
internal/elastic/kbclient/client.go:53
↓ 5 callers
Method
Log
Args are alternating key, val pairs keys must be strings vals can be any type, but display is implementation specific Emit a message and key/value pai
pkg/sloghclog/sloghclog.go:95
↓ 5 callers
Function
MapMapDiags
Produce a new map by applying function fn to items of the map m. Collects returned diagnostics
pkg/utils/maps.go:61
↓ 5 callers
Method
Match
(ty string, labels []string)
plugin/dataspec/block_spec.go:12
↓ 5 callers
Method
Name
()
parser/definitions/plugin.go:30
↓ 5 callers
Method
Named
Create a logger that will prepend the name string on the front of all messages. If the logger already has a name, the new value will be appended to th
pkg/sloghclog/sloghclog.go:229
↓ 5 callers
Function
NewLimiter
Limits parallel executions to at most limit simultaneously. Can be shared between multiple [ParExecutor]s.
pkg/parexec/limiter.go:30
↓ 5 callers
Function
NewTracebackExtra
()
pkg/diagnostics/traceback.go:29
↓ 5 callers
Function
ParseContentData
(data plugindata.Map)
plugin/content.go:414
↓ 5 callers
Method
ParseDirFS
(ctx context.Context, sourceDir fs.FS)
engine/engine.go:132
↓ 5 callers
Function
Plugin
(version string)
internal/postgresql/plugin.go:7
↓ 5 callers
Function
Plugin
(version string, loader ClientLoadFn)
internal/atlassian/plugin.go:20
↓ 5 callers
Function
Plugin
(version string)
internal/terraform/plugin.go:7
↓ 5 callers
Function
Plugin
(version string)
internal/sqlite/plugin.go:7
↓ 5 callers
Function
Plugin
(version string)
internal/graphql/plugin.go:7
↓ 5 callers
Function
Plugin
(version string)
internal/opencti/plugin.go:28
↓ 5 callers
Function
Plugin
( version string, azureClientLoader AzureClientLoadFn, openAIClientLoader AzureOpenAIClientLoadFn, graphCl
internal/microsoft/plugin.go:117
↓ 5 callers
Method
QueryObjects
( ctx context.Context, endpoint string, queryParams url.Values, size int, )
internal/microsoft/plugin.go:17
↓ 5 callers
Method
RetrieveData
(ctx context.Context, name string, params *RetrieveDataParams)
plugin/schema.go:53
↓ 5 callers
Method
Return
(_a0 *github.Gist, _a1 *github.Response, _a2 error)
mocks/internalpkg/github/gist_client.go:221
↓ 5 callers
Method
Return
(_a0 *client.CreateSearchJobRes, _a1 error)
mocks/internalpkg/splunk/client/client.go:75
↓ 5 callers
Method
Return
(object plugindata.Data, err error)
mocks/internalpkg/microsoft/microsoft_security_client.go:78
↓ 5 callers
Method
String
(val string)
internal/crowdstrike/data_falcon_detection_details_test.go:65
↓ 5 callers
Method
String
(val string)
internal/crowdstrike/data_falcon_intel_indicators_test.go:65
↓ 5 callers
Method
UnmarshalJSON
UnmarshalJSON parses a JSON string into a PluginName from '<namespace>/<name>' format.
plugin/resolver/name.go:47
↓ 5 callers
Method
ValToCty
ValToCty is a convenience function that encapsulates &val into cty.Value.
pkg/encapsulator/encoder.go:63
↓ 5 callers
Method
Wait
()
eval/evaluator.go:152
↓ 5 callers
Function
decodeRange
(src *Range)
plugin/pluginapi/v1/hcl_decoder.go:37
↓ 5 callers
Function
encodeResponse
(data any)
internal/crowdstrike/plugin.go:163
↓ 5 callers
Function
formatHeader
(name string, labels []string)
plugin/dataspec/genutil.go:83
↓ 5 callers
Function
hasQueryKey
(q *http.Request, key string)
internal/nistnvd/client/client_test.go:40
↓ 5 callers
Method
isStopped
()
pkg/parexec/parexec.go:129
↓ 5 callers
Function
makeApiConfig
(ctx context.Context, cfg *dataspec.Block)
internal/crowdstrike/plugin.go:144
↓ 5 callers
Function
makeDataSourceConfig
shared config for all data sources
internal/crowdstrike/plugin.go:105
↓ 5 callers
Function
makeLocalFilePublisher
(logger *slog.Logger, tracer trace.Tracer)
internal/builtin/publish_local_file.go:32
↓ 5 callers
Method
mock
(fn http.HandlerFunc, apiKey string, insecure bool)
internal/iris/client/client_test.go:31
↓ 5 callers
Method
queryList
(q url.Values, key string)
internal/elastic/kbclient/client_test.go:48
↓ 5 callers
Function
roundtrip
(t *testing.T, source []byte)
plugin/ast/v1/ast_test.go:15
↓ 5 callers
Function
shortname
(name string)
tools/docgen/main.go:432
↓ 5 callers
Function
toStringSlice
(val cty.Value)
internal/elastic/data_elastic_security_cases.go:225
↓ 5 callers
Function
verifyRequiredVars
(docDataCtx plugindata.Map, requiredVars []string, block *hclsyntax.Block)
eval/vars.go:62
↓ 4 callers
Method
AppendMultiple
AppendMultiple appends multiple byte slices to the source and returns corresponding segments.
plugin/ast/astsrc/astsrc.go:20
↓ 4 callers
Method
AsDocLabels
()
plugin/dataspec/block_spec.go:45
↓ 4 callers
Method
AsNode
()
plugin/content.go:337
↓ 4 callers
Method
Check
Check the lock configuration against the given constraints.
plugin/resolver/lockfile.go:36
↓ 4 callers
Method
DatasourceNamae
()
internal/crowdstrike/data_falcon_intel_indicators_test.go:45
↓ 4 callers
Method
DatasourceName
()
internal/crowdstrike/data_falcon_detection_details_test.go:40
↓ 4 callers
Method
DatasourceName
()
internal/crowdstrike/data_falcon_discover_host_details_test.go:49
↓ 4 callers
Function
DefineSection
(block *hclsyntax.Block, atTopLevel bool)
parser/definitions/section.go:65
↓ 4 callers
Method
Done
()
cmd/fabctx/fabctx.go:28
↓ 4 callers
Method
Error
Diagnostics does implement error interface, but is not, itself, an error.
pkg/diagnostics/diagnostics.go:17
↓ 4 callers
Method
GetAlignments
()
plugin/ast/v1/ast.pb.go:1846
↓ 4 callers
Method
GetGroupAPIUsage
(ctx context.Context, req *GetGroupAPIUsageReq)
internal/virustotal/client/client.go:17
↓ 4 callers
Method
GetSearchJobByID
(ctx context.Context, req *GetSearchJobByIDReq)
internal/splunk/client/client.go:15
↓ 4 callers
Method
GetTags
()
plugin/pluginapi/v1/schema.pb.go:211
↓ 4 callers
Method
GetType
()
plugin/pluginapi/v1/cty.pb.go:277
↓ 4 callers
Function
Int
(i int)
internal/splunk/client/dto.go:20
↓ 4 callers
Method
IsAst
()
plugin/content.go:388
↓ 4 callers
Method
ListCVES
(ctx context.Context, req *ListCVESReq)
internal/nistnvd/client/client.go:65
↓ 4 callers
Method
ListCases
(ctx context.Context, req *ListCasesReq)
internal/iris/client/client.go:16
↓ 4 callers
Function
LoadContent
(ctx context.Context, providers ContentProviders, node *definitions.ParsedContent)
eval/content.go:40
↓ 4 callers
Method
Match
(list []Checksum)
plugin/resolver/checksum.go:65
↓ 4 callers
Method
MergeWithBaseVars
MergeWithBaseVars handles merging with vars from ref base. Shadowing has different rules, and will be handled at the evaluation stage.
parser/definitions/vars.go:24
↓ 4 callers
Function
New
New creates a new html printer.
print/htmlprint/printer.go:51
↓ 4 callers
Function
NewLocal
NewLocal creates a new LocalSource with the given path. If the logger is nil, then a new logger is created with no output. If the tracer is nil, then
plugin/resolver/source_local.go:43
↓ 4 callers
Function
NewNestingDiag
(what string, block *hclsyntax.Block, body *hclsyntax.Body, validChildren []string)
parser/definitions/validators.go:101
↓ 4 callers
Function
NewRemote
NewRemote creates a new RemoteSource with the given options. If the logger is nil, then a new logger is created with no output. If the tracer is nil,
plugin/resolver/source_remote.go:61
↓ 4 callers
Method
ParseDir
(ctx context.Context, sourceDir string)
engine/engine.go:126
↓ 4 callers
Function
ParseName
ParseName parses a plugin name from '<namespace>/<name>' format.
plugin/resolver/name.go:61
↓ 4 callers
Method
ParseSection
Evaluates a defined plugin.
parser/parse_section.go:18
↓ 4 callers
Function
ParseVars
(ctx context.Context, block *hclsyntax.Block, localVar *hclsyntax.Attribute)
parser/parse_vars.go:23
↓ 4 callers
Function
Plugin
(version string, loader ClientLoadFn)
internal/snyk/plugin.go:16
↓ 4 callers
Function
Plugin
(version string, loader ClientLoadFn)
internal/nistnvd/plugin.go:12
↓ 4 callers
Function
Plugin
(version string)
internal/stixview/plugin.go:7
↓ 4 callers
Function
Plugin
(version string, loader ClientLoadFn)
internal/virustotal/plugin.go:12
↓ 4 callers
Function
Plugin
(version string, loader KibanaClientLoaderFn)
internal/elastic/plugin.go:31
↓ 4 callers
Function
Plugin
(version string, loader ClientLoadFn)
internal/openai/plugin.go:17
↓ 4 callers
Function
Plugin
(version string, clientLoader ClientLoaderFn)
internal/github/plugin.go:49
↓ 4 callers
Function
Plugin
(version string, loader ClientLoadFn)
internal/splunk/plugin.go:17
↓ 4 callers
Function
Plugin
(version string, loader ClientLoadFn)
internal/hackerone/plugin.go:20
↓ 4 callers
Method
Publisher
()
internal/misp/publish_misp_event_reports_test.go:51
↓ 4 callers
Method
Reset
()
plugin/ast/v1/ast.pb.go:378
↓ 4 callers
Method
Resolve
Resolve all plugins based on the constraints and returns a map of plugin names to binary paths. If the lock file is not satisfied, an error is returne
plugin/resolver/resolver.go:173
↓ 4 callers
Method
Run
(run func())
mocks/internalpkg/crowdstrike/client.go:194
↓ 4 callers
Function
SendRequest
(ctx context.Context, r *Request)
internal/builtin/data_http.go:139
↓ 4 callers
Function
SliceToSet
(slice []K)
pkg/utils/maps.go:10
↓ 4 callers
Function
String
(s string)
internal/splunk/client/dto.go:16
↓ 4 callers
Function
String
(s string)
internal/hackerone/client/client.go:14
↓ 4 callers
Method
UnmarshalText
(data []byte)
plugin/resolver/checksum.go:87
↓ 4 callers
Method
ValDecodable
(v cty.Value)
pkg/encapsulator/decoder.go:22
← previous
next →
201–300 of 2,920, ranked by callers