MCPcopy Create free account

hub / github.com/blackstork-io/blackstork-cli / functions

Functions2,920 in github.com/blackstork-io/blackstork-cli

↓ 5 callersFunctionDefinePlugin
(block *hclsyntax.Block, atTopLevel bool)
parser/definitions/plugin.go:74
↓ 5 callersMethodError
Emit a message and key/value pairs at the ERROR level
pkg/sloghclog/sloghclog.go:139
↓ 5 callersMethodError
()
internal/openai/client/types.go:30
↓ 5 callersFunctionFnMapDiags
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 callersMethodGenerateChatCompletion
(ctx context.Context, params *ChatCompletionParams)
internal/openai/client/client.go:32
↓ 5 callersMethodGetAllReports
(ctx context.Context, req *GetAllReportsReq)
internal/hackerone/client/client.go:86
↓ 5 callersMethodGetUserAPIUsage
(ctx context.Context, req *GetUserAPIUsageReq)
internal/virustotal/client/client.go:16
↓ 5 callersMethodID
()
plugin/content.go:57
↓ 5 callersFunctionInt
(i int)
internal/hackerone/client/client.go:22
↓ 5 callersMethodListIssues
(ctx context.Context, req *ListIssuesReq)
internal/snyk/client/client.go:65
↓ 5 callersMethodListSecurityCases
(ctx context.Context, req *ListSecurityCasesReq)
internal/elastic/kbclient/client.go:53
↓ 5 callersMethodLog
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 callersFunctionMapMapDiags
Produce a new map by applying function fn to items of the map m. Collects returned diagnostics
pkg/utils/maps.go:61
↓ 5 callersMethodMatch
(ty string, labels []string)
plugin/dataspec/block_spec.go:12
↓ 5 callersMethodName
()
parser/definitions/plugin.go:30
↓ 5 callersMethodNamed
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 callersFunctionNewLimiter
Limits parallel executions to at most limit simultaneously. Can be shared between multiple [ParExecutor]s.
pkg/parexec/limiter.go:30
↓ 5 callersFunctionNewTracebackExtra
()
pkg/diagnostics/traceback.go:29
↓ 5 callersFunctionParseContentData
(data plugindata.Map)
plugin/content.go:414
↓ 5 callersMethodParseDirFS
(ctx context.Context, sourceDir fs.FS)
engine/engine.go:132
↓ 5 callersFunctionPlugin
(version string)
internal/postgresql/plugin.go:7
↓ 5 callersFunctionPlugin
(version string, loader ClientLoadFn)
internal/atlassian/plugin.go:20
↓ 5 callersFunctionPlugin
(version string)
internal/terraform/plugin.go:7
↓ 5 callersFunctionPlugin
(version string)
internal/sqlite/plugin.go:7
↓ 5 callersFunctionPlugin
(version string)
internal/graphql/plugin.go:7
↓ 5 callersFunctionPlugin
(version string)
internal/opencti/plugin.go:28
↓ 5 callersFunctionPlugin
( version string, azureClientLoader AzureClientLoadFn, openAIClientLoader AzureOpenAIClientLoadFn, graphCl
internal/microsoft/plugin.go:117
↓ 5 callersMethodQueryObjects
( ctx context.Context, endpoint string, queryParams url.Values, size int, )
internal/microsoft/plugin.go:17
↓ 5 callersMethodRetrieveData
(ctx context.Context, name string, params *RetrieveDataParams)
plugin/schema.go:53
↓ 5 callersMethodReturn
(_a0 *github.Gist, _a1 *github.Response, _a2 error)
mocks/internalpkg/github/gist_client.go:221
↓ 5 callersMethodReturn
(_a0 *client.CreateSearchJobRes, _a1 error)
mocks/internalpkg/splunk/client/client.go:75
↓ 5 callersMethodReturn
(object plugindata.Data, err error)
mocks/internalpkg/microsoft/microsoft_security_client.go:78
↓ 5 callersMethodString
(val string)
internal/crowdstrike/data_falcon_detection_details_test.go:65
↓ 5 callersMethodString
(val string)
internal/crowdstrike/data_falcon_intel_indicators_test.go:65
↓ 5 callersMethodUnmarshalJSON
UnmarshalJSON parses a JSON string into a PluginName from '<namespace>/<name>' format.
plugin/resolver/name.go:47
↓ 5 callersMethodValToCty
ValToCty is a convenience function that encapsulates &val into cty.Value.
pkg/encapsulator/encoder.go:63
↓ 5 callersMethodWait
()
eval/evaluator.go:152
↓ 5 callersFunctiondecodeRange
(src *Range)
plugin/pluginapi/v1/hcl_decoder.go:37
↓ 5 callersFunctionencodeResponse
(data any)
internal/crowdstrike/plugin.go:163
↓ 5 callersFunctionformatHeader
(name string, labels []string)
plugin/dataspec/genutil.go:83
↓ 5 callersFunctionhasQueryKey
(q *http.Request, key string)
internal/nistnvd/client/client_test.go:40
↓ 5 callersMethodisStopped
()
pkg/parexec/parexec.go:129
↓ 5 callersFunctionmakeApiConfig
(ctx context.Context, cfg *dataspec.Block)
internal/crowdstrike/plugin.go:144
↓ 5 callersFunctionmakeDataSourceConfig
shared config for all data sources
internal/crowdstrike/plugin.go:105
↓ 5 callersFunctionmakeLocalFilePublisher
(logger *slog.Logger, tracer trace.Tracer)
internal/builtin/publish_local_file.go:32
↓ 5 callersMethodmock
(fn http.HandlerFunc, apiKey string, insecure bool)
internal/iris/client/client_test.go:31
↓ 5 callersMethodqueryList
(q url.Values, key string)
internal/elastic/kbclient/client_test.go:48
↓ 5 callersFunctionroundtrip
(t *testing.T, source []byte)
plugin/ast/v1/ast_test.go:15
↓ 5 callersFunctionshortname
(name string)
tools/docgen/main.go:432
↓ 5 callersFunctiontoStringSlice
(val cty.Value)
internal/elastic/data_elastic_security_cases.go:225
↓ 5 callersFunctionverifyRequiredVars
(docDataCtx plugindata.Map, requiredVars []string, block *hclsyntax.Block)
eval/vars.go:62
↓ 4 callersMethodAppendMultiple
AppendMultiple appends multiple byte slices to the source and returns corresponding segments.
plugin/ast/astsrc/astsrc.go:20
↓ 4 callersMethodAsDocLabels
()
plugin/dataspec/block_spec.go:45
↓ 4 callersMethodAsNode
()
plugin/content.go:337
↓ 4 callersMethodCheck
Check the lock configuration against the given constraints.
plugin/resolver/lockfile.go:36
↓ 4 callersMethodDatasourceNamae
()
internal/crowdstrike/data_falcon_intel_indicators_test.go:45
↓ 4 callersMethodDatasourceName
()
internal/crowdstrike/data_falcon_detection_details_test.go:40
↓ 4 callersMethodDatasourceName
()
internal/crowdstrike/data_falcon_discover_host_details_test.go:49
↓ 4 callersFunctionDefineSection
(block *hclsyntax.Block, atTopLevel bool)
parser/definitions/section.go:65
↓ 4 callersMethodDone
()
cmd/fabctx/fabctx.go:28
↓ 4 callersMethodError
Diagnostics does implement error interface, but is not, itself, an error.
pkg/diagnostics/diagnostics.go:17
↓ 4 callersMethodGetAlignments
()
plugin/ast/v1/ast.pb.go:1846
↓ 4 callersMethodGetGroupAPIUsage
(ctx context.Context, req *GetGroupAPIUsageReq)
internal/virustotal/client/client.go:17
↓ 4 callersMethodGetSearchJobByID
(ctx context.Context, req *GetSearchJobByIDReq)
internal/splunk/client/client.go:15
↓ 4 callersMethodGetTags
()
plugin/pluginapi/v1/schema.pb.go:211
↓ 4 callersMethodGetType
()
plugin/pluginapi/v1/cty.pb.go:277
↓ 4 callersFunctionInt
(i int)
internal/splunk/client/dto.go:20
↓ 4 callersMethodIsAst
()
plugin/content.go:388
↓ 4 callersMethodListCVES
(ctx context.Context, req *ListCVESReq)
internal/nistnvd/client/client.go:65
↓ 4 callersMethodListCases
(ctx context.Context, req *ListCasesReq)
internal/iris/client/client.go:16
↓ 4 callersFunctionLoadContent
(ctx context.Context, providers ContentProviders, node *definitions.ParsedContent)
eval/content.go:40
↓ 4 callersMethodMatch
(list []Checksum)
plugin/resolver/checksum.go:65
↓ 4 callersMethodMergeWithBaseVars
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 callersFunctionNew
New creates a new html printer.
print/htmlprint/printer.go:51
↓ 4 callersFunctionNewLocal
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 callersFunctionNewNestingDiag
(what string, block *hclsyntax.Block, body *hclsyntax.Body, validChildren []string)
parser/definitions/validators.go:101
↓ 4 callersFunctionNewRemote
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 callersMethodParseDir
(ctx context.Context, sourceDir string)
engine/engine.go:126
↓ 4 callersFunctionParseName
ParseName parses a plugin name from '<namespace>/<name>' format.
plugin/resolver/name.go:61
↓ 4 callersMethodParseSection
Evaluates a defined plugin.
parser/parse_section.go:18
↓ 4 callersFunctionParseVars
(ctx context.Context, block *hclsyntax.Block, localVar *hclsyntax.Attribute)
parser/parse_vars.go:23
↓ 4 callersFunctionPlugin
(version string, loader ClientLoadFn)
internal/snyk/plugin.go:16
↓ 4 callersFunctionPlugin
(version string, loader ClientLoadFn)
internal/nistnvd/plugin.go:12
↓ 4 callersFunctionPlugin
(version string)
internal/stixview/plugin.go:7
↓ 4 callersFunctionPlugin
(version string, loader ClientLoadFn)
internal/virustotal/plugin.go:12
↓ 4 callersFunctionPlugin
(version string, loader KibanaClientLoaderFn)
internal/elastic/plugin.go:31
↓ 4 callersFunctionPlugin
(version string, loader ClientLoadFn)
internal/openai/plugin.go:17
↓ 4 callersFunctionPlugin
(version string, clientLoader ClientLoaderFn)
internal/github/plugin.go:49
↓ 4 callersFunctionPlugin
(version string, loader ClientLoadFn)
internal/splunk/plugin.go:17
↓ 4 callersFunctionPlugin
(version string, loader ClientLoadFn)
internal/hackerone/plugin.go:20
↓ 4 callersMethodPublisher
()
internal/misp/publish_misp_event_reports_test.go:51
↓ 4 callersMethodReset
()
plugin/ast/v1/ast.pb.go:378
↓ 4 callersMethodResolve
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 callersMethodRun
(run func())
mocks/internalpkg/crowdstrike/client.go:194
↓ 4 callersFunctionSendRequest
(ctx context.Context, r *Request)
internal/builtin/data_http.go:139
↓ 4 callersFunctionSliceToSet
(slice []K)
pkg/utils/maps.go:10
↓ 4 callersFunctionString
(s string)
internal/splunk/client/dto.go:16
↓ 4 callersFunctionString
(s string)
internal/hackerone/client/client.go:14
↓ 4 callersMethodUnmarshalText
(data []byte)
plugin/resolver/checksum.go:87
↓ 4 callersMethodValDecodable
(v cty.Value)
pkg/encapsulator/decoder.go:22
← previousnext →201–300 of 2,920, ranked by callers