From 48df1840bf338108c98e6e9b432d13ffbaf0ca97 Mon Sep 17 00:00:00 2001 From: Sergey Polzunov Date: Wed, 3 Apr 2024 10:25:43 +0200 Subject: [PATCH] Prepare 0.4.1 (#144) --- docs/plugins/builtin/_index.md | 4 +- .../builtin/content-providers/blockquote.md | 4 +- .../plugins/builtin/content-providers/code.md | 4 +- .../builtin/content-providers/frontmatter.md | 4 +- .../builtin/content-providers/image.md | 4 +- .../plugins/builtin/content-providers/list.md | 4 +- .../builtin/content-providers/table.md | 4 +- .../plugins/builtin/content-providers/text.md | 4 +- .../builtin/content-providers/title.md | 4 +- docs/plugins/builtin/content-providers/toc.md | 4 +- docs/plugins/builtin/data-sources/csv.md | 4 +- docs/plugins/builtin/data-sources/inline.md | 4 +- docs/plugins/builtin/data-sources/json.md | 4 +- docs/plugins/builtin/data-sources/txt.md | 4 +- docs/plugins/elastic/_index.md | 6 +- .../data-sources/elastic_security_cases.md | 6 +- .../elastic/data-sources/elasticsearch.md | 6 +- docs/plugins/github/_index.md | 6 +- .../github/data-sources/github_issues.md | 6 +- docs/plugins/graphql/_index.md | 6 +- docs/plugins/graphql/data-sources/graphql.md | 6 +- docs/plugins/hackerone/_index.md | 6 +- .../data-sources/hackerone_reports.md | 6 +- docs/plugins/nist_nvd/_index.md | 6 +- .../nist_nvd/data-sources/nist_nvd_cves.md | 6 +- docs/plugins/openai/_index.md | 6 +- .../openai/content-providers/openai_text.md | 6 +- docs/plugins/opencti/_index.md | 6 +- docs/plugins/opencti/data-sources/opencti.md | 6 +- docs/plugins/plugins.json | 508 +++++++++--------- docs/plugins/postgresql/_index.md | 6 +- .../postgresql/data-sources/postgresql.md | 6 +- docs/plugins/splunk/_index.md | 6 +- .../splunk/data-sources/splunk_search.md | 6 +- docs/plugins/sqlite/_index.md | 6 +- docs/plugins/sqlite/data-sources/sqlite.md | 6 +- docs/plugins/stixview/_index.md | 6 +- .../stixview/content-providers/stixview.md | 6 +- docs/plugins/terraform/_index.md | 6 +- .../data-sources/terraform_state_local.md | 6 +- docs/plugins/virustotal/_index.md | 6 +- .../data-sources/virustotal_api_usage.md | 6 +- justfile | 2 +- tools/docgen/main.go | 34 +- 44 files changed, 392 insertions(+), 370 deletions(-) diff --git a/docs/plugins/builtin/_index.md b/docs/plugins/builtin/_index.md index 711f971d..edc7ebef 100644 --- a/docs/plugins/builtin/_index.md +++ b/docs/plugins/builtin/_index.md @@ -5,12 +5,12 @@ plugin: name: blackstork/builtin description: "" tags: [] - version: "v0.4.0" + version: "v0.4.1" source_github: "https://github.com/blackstork-io/fabric/tree/main/internal/builtin/" type: docs --- -{{< plugin-header "blackstork/builtin" "builtin" "v0.4.0" >}} +{{< plugin-header "blackstork/builtin" "builtin" "v0.4.1" >}} `fabric` binary includes a set of built-in data sources and content providers, available out-of-the-box. diff --git a/docs/plugins/builtin/content-providers/blockquote.md b/docs/plugins/builtin/content-providers/blockquote.md index e5031aa9..743ac1e6 100644 --- a/docs/plugins/builtin/content-providers/blockquote.md +++ b/docs/plugins/builtin/content-providers/blockquote.md @@ -4,7 +4,7 @@ plugin: name: blackstork/builtin description: "" tags: [] - version: "v0.4.0" + version: "v0.4.1" source_github: "https://github.com/blackstork-io/fabric/tree/main/internal/builtin/" resource: type: content-provider @@ -13,7 +13,7 @@ type: docs {{< breadcrumbs 2 >}} -{{< plugin-resource-header "blackstork/builtin" "builtin" "v0.4.0" "blockquote" "content provider" >}} +{{< plugin-resource-header "blackstork/builtin" "builtin" "v0.4.1" "blockquote" "content provider" >}} The content provider is built-in, which means it's a part of `fabric` binary. It's available out-of-the-box, no installation required. diff --git a/docs/plugins/builtin/content-providers/code.md b/docs/plugins/builtin/content-providers/code.md index b1cd5fbd..d0c668ba 100644 --- a/docs/plugins/builtin/content-providers/code.md +++ b/docs/plugins/builtin/content-providers/code.md @@ -4,7 +4,7 @@ plugin: name: blackstork/builtin description: "" tags: [] - version: "v0.4.0" + version: "v0.4.1" source_github: "https://github.com/blackstork-io/fabric/tree/main/internal/builtin/" resource: type: content-provider @@ -13,7 +13,7 @@ type: docs {{< breadcrumbs 2 >}} -{{< plugin-resource-header "blackstork/builtin" "builtin" "v0.4.0" "code" "content provider" >}} +{{< plugin-resource-header "blackstork/builtin" "builtin" "v0.4.1" "code" "content provider" >}} The content provider is built-in, which means it's a part of `fabric` binary. It's available out-of-the-box, no installation required. diff --git a/docs/plugins/builtin/content-providers/frontmatter.md b/docs/plugins/builtin/content-providers/frontmatter.md index e97c14e7..d92923c7 100644 --- a/docs/plugins/builtin/content-providers/frontmatter.md +++ b/docs/plugins/builtin/content-providers/frontmatter.md @@ -4,7 +4,7 @@ plugin: name: blackstork/builtin description: "" tags: [] - version: "v0.4.0" + version: "v0.4.1" source_github: "https://github.com/blackstork-io/fabric/tree/main/internal/builtin/" resource: type: content-provider @@ -13,7 +13,7 @@ type: docs {{< breadcrumbs 2 >}} -{{< plugin-resource-header "blackstork/builtin" "builtin" "v0.4.0" "frontmatter" "content provider" >}} +{{< plugin-resource-header "blackstork/builtin" "builtin" "v0.4.1" "frontmatter" "content provider" >}} The content provider is built-in, which means it's a part of `fabric` binary. It's available out-of-the-box, no installation required. diff --git a/docs/plugins/builtin/content-providers/image.md b/docs/plugins/builtin/content-providers/image.md index e579dd8e..1a0ce10a 100644 --- a/docs/plugins/builtin/content-providers/image.md +++ b/docs/plugins/builtin/content-providers/image.md @@ -4,7 +4,7 @@ plugin: name: blackstork/builtin description: "" tags: [] - version: "v0.4.0" + version: "v0.4.1" source_github: "https://github.com/blackstork-io/fabric/tree/main/internal/builtin/" resource: type: content-provider @@ -13,7 +13,7 @@ type: docs {{< breadcrumbs 2 >}} -{{< plugin-resource-header "blackstork/builtin" "builtin" "v0.4.0" "image" "content provider" >}} +{{< plugin-resource-header "blackstork/builtin" "builtin" "v0.4.1" "image" "content provider" >}} The content provider is built-in, which means it's a part of `fabric` binary. It's available out-of-the-box, no installation required. diff --git a/docs/plugins/builtin/content-providers/list.md b/docs/plugins/builtin/content-providers/list.md index 6e0b8059..ec52a65a 100644 --- a/docs/plugins/builtin/content-providers/list.md +++ b/docs/plugins/builtin/content-providers/list.md @@ -4,7 +4,7 @@ plugin: name: blackstork/builtin description: "" tags: [] - version: "v0.4.0" + version: "v0.4.1" source_github: "https://github.com/blackstork-io/fabric/tree/main/internal/builtin/" resource: type: content-provider @@ -13,7 +13,7 @@ type: docs {{< breadcrumbs 2 >}} -{{< plugin-resource-header "blackstork/builtin" "builtin" "v0.4.0" "list" "content provider" >}} +{{< plugin-resource-header "blackstork/builtin" "builtin" "v0.4.1" "list" "content provider" >}} The content provider is built-in, which means it's a part of `fabric` binary. It's available out-of-the-box, no installation required. diff --git a/docs/plugins/builtin/content-providers/table.md b/docs/plugins/builtin/content-providers/table.md index b1e2ff8e..8e825fb0 100644 --- a/docs/plugins/builtin/content-providers/table.md +++ b/docs/plugins/builtin/content-providers/table.md @@ -4,7 +4,7 @@ plugin: name: blackstork/builtin description: "" tags: [] - version: "v0.4.0" + version: "v0.4.1" source_github: "https://github.com/blackstork-io/fabric/tree/main/internal/builtin/" resource: type: content-provider @@ -13,7 +13,7 @@ type: docs {{< breadcrumbs 2 >}} -{{< plugin-resource-header "blackstork/builtin" "builtin" "v0.4.0" "table" "content provider" >}} +{{< plugin-resource-header "blackstork/builtin" "builtin" "v0.4.1" "table" "content provider" >}} The content provider is built-in, which means it's a part of `fabric` binary. It's available out-of-the-box, no installation required. diff --git a/docs/plugins/builtin/content-providers/text.md b/docs/plugins/builtin/content-providers/text.md index e047a124..a9929c2b 100644 --- a/docs/plugins/builtin/content-providers/text.md +++ b/docs/plugins/builtin/content-providers/text.md @@ -4,7 +4,7 @@ plugin: name: blackstork/builtin description: "" tags: [] - version: "v0.4.0" + version: "v0.4.1" source_github: "https://github.com/blackstork-io/fabric/tree/main/internal/builtin/" resource: type: content-provider @@ -13,7 +13,7 @@ type: docs {{< breadcrumbs 2 >}} -{{< plugin-resource-header "blackstork/builtin" "builtin" "v0.4.0" "text" "content provider" >}} +{{< plugin-resource-header "blackstork/builtin" "builtin" "v0.4.1" "text" "content provider" >}} The content provider is built-in, which means it's a part of `fabric` binary. It's available out-of-the-box, no installation required. diff --git a/docs/plugins/builtin/content-providers/title.md b/docs/plugins/builtin/content-providers/title.md index a67130fb..456a2c9e 100644 --- a/docs/plugins/builtin/content-providers/title.md +++ b/docs/plugins/builtin/content-providers/title.md @@ -4,7 +4,7 @@ plugin: name: blackstork/builtin description: "" tags: [] - version: "v0.4.0" + version: "v0.4.1" source_github: "https://github.com/blackstork-io/fabric/tree/main/internal/builtin/" resource: type: content-provider @@ -13,7 +13,7 @@ type: docs {{< breadcrumbs 2 >}} -{{< plugin-resource-header "blackstork/builtin" "builtin" "v0.4.0" "title" "content provider" >}} +{{< plugin-resource-header "blackstork/builtin" "builtin" "v0.4.1" "title" "content provider" >}} The content provider is built-in, which means it's a part of `fabric` binary. It's available out-of-the-box, no installation required. diff --git a/docs/plugins/builtin/content-providers/toc.md b/docs/plugins/builtin/content-providers/toc.md index 58f34aec..228cf0a4 100644 --- a/docs/plugins/builtin/content-providers/toc.md +++ b/docs/plugins/builtin/content-providers/toc.md @@ -4,7 +4,7 @@ plugin: name: blackstork/builtin description: "" tags: [] - version: "v0.4.0" + version: "v0.4.1" source_github: "https://github.com/blackstork-io/fabric/tree/main/internal/builtin/" resource: type: content-provider @@ -13,7 +13,7 @@ type: docs {{< breadcrumbs 2 >}} -{{< plugin-resource-header "blackstork/builtin" "builtin" "v0.4.0" "toc" "content provider" >}} +{{< plugin-resource-header "blackstork/builtin" "builtin" "v0.4.1" "toc" "content provider" >}} The content provider is built-in, which means it's a part of `fabric` binary. It's available out-of-the-box, no installation required. diff --git a/docs/plugins/builtin/data-sources/csv.md b/docs/plugins/builtin/data-sources/csv.md index 894ffbe5..c7233426 100644 --- a/docs/plugins/builtin/data-sources/csv.md +++ b/docs/plugins/builtin/data-sources/csv.md @@ -4,7 +4,7 @@ plugin: name: blackstork/builtin description: "" tags: [] - version: "v0.4.0" + version: "v0.4.1" source_github: "https://github.com/blackstork-io/fabric/tree/main/internal/builtin/" resource: type: data-source @@ -13,7 +13,7 @@ type: docs {{< breadcrumbs 2 >}} -{{< plugin-resource-header "blackstork/builtin" "builtin" "v0.4.0" "csv" "data source" >}} +{{< plugin-resource-header "blackstork/builtin" "builtin" "v0.4.1" "csv" "data source" >}} The data source is built-in, which means it's a part of `fabric` binary. It's available out-of-the-box, no installation required. diff --git a/docs/plugins/builtin/data-sources/inline.md b/docs/plugins/builtin/data-sources/inline.md index 0e4b6784..782de506 100644 --- a/docs/plugins/builtin/data-sources/inline.md +++ b/docs/plugins/builtin/data-sources/inline.md @@ -4,7 +4,7 @@ plugin: name: blackstork/builtin description: "" tags: [] - version: "v0.4.0" + version: "v0.4.1" source_github: "https://github.com/blackstork-io/fabric/tree/main/internal/builtin/" resource: type: data-source @@ -13,7 +13,7 @@ type: docs {{< breadcrumbs 2 >}} -{{< plugin-resource-header "blackstork/builtin" "builtin" "v0.4.0" "inline" "data source" >}} +{{< plugin-resource-header "blackstork/builtin" "builtin" "v0.4.1" "inline" "data source" >}} The data source is built-in, which means it's a part of `fabric` binary. It's available out-of-the-box, no installation required. diff --git a/docs/plugins/builtin/data-sources/json.md b/docs/plugins/builtin/data-sources/json.md index 5fe48553..1798301c 100644 --- a/docs/plugins/builtin/data-sources/json.md +++ b/docs/plugins/builtin/data-sources/json.md @@ -4,7 +4,7 @@ plugin: name: blackstork/builtin description: "" tags: [] - version: "v0.4.0" + version: "v0.4.1" source_github: "https://github.com/blackstork-io/fabric/tree/main/internal/builtin/" resource: type: data-source @@ -13,7 +13,7 @@ type: docs {{< breadcrumbs 2 >}} -{{< plugin-resource-header "blackstork/builtin" "builtin" "v0.4.0" "json" "data source" >}} +{{< plugin-resource-header "blackstork/builtin" "builtin" "v0.4.1" "json" "data source" >}} The data source is built-in, which means it's a part of `fabric` binary. It's available out-of-the-box, no installation required. diff --git a/docs/plugins/builtin/data-sources/txt.md b/docs/plugins/builtin/data-sources/txt.md index a9cabd76..079cb391 100644 --- a/docs/plugins/builtin/data-sources/txt.md +++ b/docs/plugins/builtin/data-sources/txt.md @@ -4,7 +4,7 @@ plugin: name: blackstork/builtin description: "" tags: [] - version: "v0.4.0" + version: "v0.4.1" source_github: "https://github.com/blackstork-io/fabric/tree/main/internal/builtin/" resource: type: data-source @@ -13,7 +13,7 @@ type: docs {{< breadcrumbs 2 >}} -{{< plugin-resource-header "blackstork/builtin" "builtin" "v0.4.0" "txt" "data source" >}} +{{< plugin-resource-header "blackstork/builtin" "builtin" "v0.4.1" "txt" "data source" >}} The data source is built-in, which means it's a part of `fabric` binary. It's available out-of-the-box, no installation required. diff --git a/docs/plugins/elastic/_index.md b/docs/plugins/elastic/_index.md index 32558c92..6460a4f6 100644 --- a/docs/plugins/elastic/_index.md +++ b/docs/plugins/elastic/_index.md @@ -5,12 +5,12 @@ plugin: name: blackstork/elastic description: "" tags: [] - version: "v0.4.0" + version: "v0.4.1" source_github: "https://github.com/blackstork-io/fabric/tree/main/internal/elastic/" type: docs --- -{{< plugin-header "blackstork/elastic" "elastic" "v0.4.0" >}} +{{< plugin-header "blackstork/elastic" "elastic" "v0.4.1" >}} ## Installation @@ -19,7 +19,7 @@ To install the plugin, add it to `plugin_versions` map in the Fabric global conf ```hcl fabric { plugin_versions = { - "blackstork/elastic" = ">= v0.4.0" + "blackstork/elastic" = ">= v0.4.1" } } ``` diff --git a/docs/plugins/elastic/data-sources/elastic_security_cases.md b/docs/plugins/elastic/data-sources/elastic_security_cases.md index 2d41a4f1..5fea06ad 100644 --- a/docs/plugins/elastic/data-sources/elastic_security_cases.md +++ b/docs/plugins/elastic/data-sources/elastic_security_cases.md @@ -4,7 +4,7 @@ plugin: name: blackstork/elastic description: "" tags: [] - version: "v0.4.0" + version: "v0.4.1" source_github: "https://github.com/blackstork-io/fabric/tree/main/internal/elastic/" resource: type: data-source @@ -13,7 +13,7 @@ type: docs {{< breadcrumbs 2 >}} -{{< plugin-resource-header "blackstork/elastic" "elastic" "v0.4.0" "elastic_security_cases" "data source" >}} +{{< plugin-resource-header "blackstork/elastic" "elastic" "v0.4.1" "elastic_security_cases" "data source" >}} ## Installation @@ -24,7 +24,7 @@ To install the plugin, add the full plugin name to the `plugin_versions` map in ```hcl fabric { plugin_versions = { - "blackstork/elastic" = ">= v0.4.0" + "blackstork/elastic" = ">= v0.4.1" } } ``` diff --git a/docs/plugins/elastic/data-sources/elasticsearch.md b/docs/plugins/elastic/data-sources/elasticsearch.md index 3acd6537..884fe614 100644 --- a/docs/plugins/elastic/data-sources/elasticsearch.md +++ b/docs/plugins/elastic/data-sources/elasticsearch.md @@ -4,7 +4,7 @@ plugin: name: blackstork/elastic description: "" tags: [] - version: "v0.4.0" + version: "v0.4.1" source_github: "https://github.com/blackstork-io/fabric/tree/main/internal/elastic/" resource: type: data-source @@ -13,7 +13,7 @@ type: docs {{< breadcrumbs 2 >}} -{{< plugin-resource-header "blackstork/elastic" "elastic" "v0.4.0" "elasticsearch" "data source" >}} +{{< plugin-resource-header "blackstork/elastic" "elastic" "v0.4.1" "elasticsearch" "data source" >}} ## Installation @@ -24,7 +24,7 @@ To install the plugin, add the full plugin name to the `plugin_versions` map in ```hcl fabric { plugin_versions = { - "blackstork/elastic" = ">= v0.4.0" + "blackstork/elastic" = ">= v0.4.1" } } ``` diff --git a/docs/plugins/github/_index.md b/docs/plugins/github/_index.md index fe418372..14064120 100644 --- a/docs/plugins/github/_index.md +++ b/docs/plugins/github/_index.md @@ -5,12 +5,12 @@ plugin: name: blackstork/github description: "" tags: [] - version: "v0.4.0" + version: "v0.4.1" source_github: "https://github.com/blackstork-io/fabric/tree/main/internal/github/" type: docs --- -{{< plugin-header "blackstork/github" "github" "v0.4.0" >}} +{{< plugin-header "blackstork/github" "github" "v0.4.1" >}} ## Installation @@ -19,7 +19,7 @@ To install the plugin, add it to `plugin_versions` map in the Fabric global conf ```hcl fabric { plugin_versions = { - "blackstork/github" = ">= v0.4.0" + "blackstork/github" = ">= v0.4.1" } } ``` diff --git a/docs/plugins/github/data-sources/github_issues.md b/docs/plugins/github/data-sources/github_issues.md index 1e258182..a9f6dd5e 100644 --- a/docs/plugins/github/data-sources/github_issues.md +++ b/docs/plugins/github/data-sources/github_issues.md @@ -4,7 +4,7 @@ plugin: name: blackstork/github description: "" tags: [] - version: "v0.4.0" + version: "v0.4.1" source_github: "https://github.com/blackstork-io/fabric/tree/main/internal/github/" resource: type: data-source @@ -13,7 +13,7 @@ type: docs {{< breadcrumbs 2 >}} -{{< plugin-resource-header "blackstork/github" "github" "v0.4.0" "github_issues" "data source" >}} +{{< plugin-resource-header "blackstork/github" "github" "v0.4.1" "github_issues" "data source" >}} ## Installation @@ -24,7 +24,7 @@ To install the plugin, add the full plugin name to the `plugin_versions` map in ```hcl fabric { plugin_versions = { - "blackstork/github" = ">= v0.4.0" + "blackstork/github" = ">= v0.4.1" } } ``` diff --git a/docs/plugins/graphql/_index.md b/docs/plugins/graphql/_index.md index 3f77b32f..b0943ebf 100644 --- a/docs/plugins/graphql/_index.md +++ b/docs/plugins/graphql/_index.md @@ -5,12 +5,12 @@ plugin: name: blackstork/graphql description: "" tags: [] - version: "v0.4.0" + version: "v0.4.1" source_github: "https://github.com/blackstork-io/fabric/tree/main/internal/graphql/" type: docs --- -{{< plugin-header "blackstork/graphql" "graphql" "v0.4.0" >}} +{{< plugin-header "blackstork/graphql" "graphql" "v0.4.1" >}} ## Installation @@ -19,7 +19,7 @@ To install the plugin, add it to `plugin_versions` map in the Fabric global conf ```hcl fabric { plugin_versions = { - "blackstork/graphql" = ">= v0.4.0" + "blackstork/graphql" = ">= v0.4.1" } } ``` diff --git a/docs/plugins/graphql/data-sources/graphql.md b/docs/plugins/graphql/data-sources/graphql.md index e1025f2c..9eea131e 100644 --- a/docs/plugins/graphql/data-sources/graphql.md +++ b/docs/plugins/graphql/data-sources/graphql.md @@ -4,7 +4,7 @@ plugin: name: blackstork/graphql description: "" tags: [] - version: "v0.4.0" + version: "v0.4.1" source_github: "https://github.com/blackstork-io/fabric/tree/main/internal/graphql/" resource: type: data-source @@ -13,7 +13,7 @@ type: docs {{< breadcrumbs 2 >}} -{{< plugin-resource-header "blackstork/graphql" "graphql" "v0.4.0" "graphql" "data source" >}} +{{< plugin-resource-header "blackstork/graphql" "graphql" "v0.4.1" "graphql" "data source" >}} ## Installation @@ -24,7 +24,7 @@ To install the plugin, add the full plugin name to the `plugin_versions` map in ```hcl fabric { plugin_versions = { - "blackstork/graphql" = ">= v0.4.0" + "blackstork/graphql" = ">= v0.4.1" } } ``` diff --git a/docs/plugins/hackerone/_index.md b/docs/plugins/hackerone/_index.md index 16723341..c68f1720 100644 --- a/docs/plugins/hackerone/_index.md +++ b/docs/plugins/hackerone/_index.md @@ -5,12 +5,12 @@ plugin: name: blackstork/hackerone description: "" tags: [] - version: "v0.4.0" + version: "v0.4.1" source_github: "https://github.com/blackstork-io/fabric/tree/main/internal/hackerone/" type: docs --- -{{< plugin-header "blackstork/hackerone" "hackerone" "v0.4.0" >}} +{{< plugin-header "blackstork/hackerone" "hackerone" "v0.4.1" >}} ## Installation @@ -19,7 +19,7 @@ To install the plugin, add it to `plugin_versions` map in the Fabric global conf ```hcl fabric { plugin_versions = { - "blackstork/hackerone" = ">= v0.4.0" + "blackstork/hackerone" = ">= v0.4.1" } } ``` diff --git a/docs/plugins/hackerone/data-sources/hackerone_reports.md b/docs/plugins/hackerone/data-sources/hackerone_reports.md index 181dbfcb..f3366b62 100644 --- a/docs/plugins/hackerone/data-sources/hackerone_reports.md +++ b/docs/plugins/hackerone/data-sources/hackerone_reports.md @@ -4,7 +4,7 @@ plugin: name: blackstork/hackerone description: "" tags: [] - version: "v0.4.0" + version: "v0.4.1" source_github: "https://github.com/blackstork-io/fabric/tree/main/internal/hackerone/" resource: type: data-source @@ -13,7 +13,7 @@ type: docs {{< breadcrumbs 2 >}} -{{< plugin-resource-header "blackstork/hackerone" "hackerone" "v0.4.0" "hackerone_reports" "data source" >}} +{{< plugin-resource-header "blackstork/hackerone" "hackerone" "v0.4.1" "hackerone_reports" "data source" >}} ## Installation @@ -24,7 +24,7 @@ To install the plugin, add the full plugin name to the `plugin_versions` map in ```hcl fabric { plugin_versions = { - "blackstork/hackerone" = ">= v0.4.0" + "blackstork/hackerone" = ">= v0.4.1" } } ``` diff --git a/docs/plugins/nist_nvd/_index.md b/docs/plugins/nist_nvd/_index.md index 0fc788ef..177da99b 100644 --- a/docs/plugins/nist_nvd/_index.md +++ b/docs/plugins/nist_nvd/_index.md @@ -5,12 +5,12 @@ plugin: name: blackstork/nist_nvd description: "" tags: [] - version: "v0.4.0" + version: "v0.4.1" source_github: "https://github.com/blackstork-io/fabric/tree/main/internal/nistnvd/" type: docs --- -{{< plugin-header "blackstork/nist_nvd" "nist_nvd" "v0.4.0" >}} +{{< plugin-header "blackstork/nist_nvd" "nist_nvd" "v0.4.1" >}} ## Installation @@ -19,7 +19,7 @@ To install the plugin, add it to `plugin_versions` map in the Fabric global conf ```hcl fabric { plugin_versions = { - "blackstork/nist_nvd" = ">= v0.4.0" + "blackstork/nist_nvd" = ">= v0.4.1" } } ``` diff --git a/docs/plugins/nist_nvd/data-sources/nist_nvd_cves.md b/docs/plugins/nist_nvd/data-sources/nist_nvd_cves.md index 09ed835f..07933b95 100644 --- a/docs/plugins/nist_nvd/data-sources/nist_nvd_cves.md +++ b/docs/plugins/nist_nvd/data-sources/nist_nvd_cves.md @@ -4,7 +4,7 @@ plugin: name: blackstork/nist_nvd description: "" tags: [] - version: "v0.4.0" + version: "v0.4.1" source_github: "https://github.com/blackstork-io/fabric/tree/main/internal/nistnvd/" resource: type: data-source @@ -13,7 +13,7 @@ type: docs {{< breadcrumbs 2 >}} -{{< plugin-resource-header "blackstork/nist_nvd" "nist_nvd" "v0.4.0" "nist_nvd_cves" "data source" >}} +{{< plugin-resource-header "blackstork/nist_nvd" "nist_nvd" "v0.4.1" "nist_nvd_cves" "data source" >}} ## Installation @@ -24,7 +24,7 @@ To install the plugin, add the full plugin name to the `plugin_versions` map in ```hcl fabric { plugin_versions = { - "blackstork/nist_nvd" = ">= v0.4.0" + "blackstork/nist_nvd" = ">= v0.4.1" } } ``` diff --git a/docs/plugins/openai/_index.md b/docs/plugins/openai/_index.md index 9b95fd09..8de7b265 100644 --- a/docs/plugins/openai/_index.md +++ b/docs/plugins/openai/_index.md @@ -5,12 +5,12 @@ plugin: name: blackstork/openai description: "" tags: [] - version: "v0.4.0" + version: "v0.4.1" source_github: "https://github.com/blackstork-io/fabric/tree/main/internal/openai/" type: docs --- -{{< plugin-header "blackstork/openai" "openai" "v0.4.0" >}} +{{< plugin-header "blackstork/openai" "openai" "v0.4.1" >}} ## Installation @@ -19,7 +19,7 @@ To install the plugin, add it to `plugin_versions` map in the Fabric global conf ```hcl fabric { plugin_versions = { - "blackstork/openai" = ">= v0.4.0" + "blackstork/openai" = ">= v0.4.1" } } ``` diff --git a/docs/plugins/openai/content-providers/openai_text.md b/docs/plugins/openai/content-providers/openai_text.md index 0ea07d2d..b72ad029 100644 --- a/docs/plugins/openai/content-providers/openai_text.md +++ b/docs/plugins/openai/content-providers/openai_text.md @@ -4,7 +4,7 @@ plugin: name: blackstork/openai description: "" tags: [] - version: "v0.4.0" + version: "v0.4.1" source_github: "https://github.com/blackstork-io/fabric/tree/main/internal/openai/" resource: type: content-provider @@ -13,7 +13,7 @@ type: docs {{< breadcrumbs 2 >}} -{{< plugin-resource-header "blackstork/openai" "openai" "v0.4.0" "openai_text" "content provider" >}} +{{< plugin-resource-header "blackstork/openai" "openai" "v0.4.1" "openai_text" "content provider" >}} ## Installation @@ -24,7 +24,7 @@ To install the plugin, add the full plugin name to the `plugin_versions` map in ```hcl fabric { plugin_versions = { - "blackstork/openai" = ">= v0.4.0" + "blackstork/openai" = ">= v0.4.1" } } ``` diff --git a/docs/plugins/opencti/_index.md b/docs/plugins/opencti/_index.md index 1ffd41b1..691bdf28 100644 --- a/docs/plugins/opencti/_index.md +++ b/docs/plugins/opencti/_index.md @@ -5,12 +5,12 @@ plugin: name: blackstork/opencti description: "" tags: [] - version: "v0.4.0" + version: "v0.4.1" source_github: "https://github.com/blackstork-io/fabric/tree/main/internal/opencti/" type: docs --- -{{< plugin-header "blackstork/opencti" "opencti" "v0.4.0" >}} +{{< plugin-header "blackstork/opencti" "opencti" "v0.4.1" >}} ## Installation @@ -19,7 +19,7 @@ To install the plugin, add it to `plugin_versions` map in the Fabric global conf ```hcl fabric { plugin_versions = { - "blackstork/opencti" = ">= v0.4.0" + "blackstork/opencti" = ">= v0.4.1" } } ``` diff --git a/docs/plugins/opencti/data-sources/opencti.md b/docs/plugins/opencti/data-sources/opencti.md index bef1107b..1fba191a 100644 --- a/docs/plugins/opencti/data-sources/opencti.md +++ b/docs/plugins/opencti/data-sources/opencti.md @@ -4,7 +4,7 @@ plugin: name: blackstork/opencti description: "" tags: [] - version: "v0.4.0" + version: "v0.4.1" source_github: "https://github.com/blackstork-io/fabric/tree/main/internal/opencti/" resource: type: data-source @@ -13,7 +13,7 @@ type: docs {{< breadcrumbs 2 >}} -{{< plugin-resource-header "blackstork/opencti" "opencti" "v0.4.0" "opencti" "data source" >}} +{{< plugin-resource-header "blackstork/opencti" "opencti" "v0.4.1" "opencti" "data source" >}} ## Installation @@ -24,7 +24,7 @@ To install the plugin, add the full plugin name to the `plugin_versions` map in ```hcl fabric { plugin_versions = { - "blackstork/opencti" = ">= v0.4.0" + "blackstork/opencti" = ">= v0.4.1" } } ``` diff --git a/docs/plugins/plugins.json b/docs/plugins/plugins.json index d6ef7588..4b2381b1 100644 --- a/docs/plugins/plugins.json +++ b/docs/plugins/plugins.json @@ -1,7 +1,24 @@ [ { "name": "blackstork/builtin", + "version": "v0.4.1", + "shortname": "builtin", "resources": [ + { + "name": "blockquote", + "type": "content-provider", + "arguments": [ + "value" + ] + }, + { + "name": "code", + "type": "content-provider", + "arguments": [ + "language", + "value" + ] + }, { "name": "csv", "type": "data-source", @@ -13,17 +30,19 @@ ] }, { - "name": "txt", - "type": "data-source", + "name": "frontmatter", + "type": "content-provider", "arguments": [ - "path" + "content", + "format" ] }, { - "name": "json", - "type": "data-source", + "name": "image", + "type": "content-provider", "arguments": [ - "glob" + "alt", + "src" ] }, { @@ -31,26 +50,18 @@ "type": "data-source" }, { - "name": "text", - "type": "content-provider", - "arguments": [ - "value" - ] - }, - { - "name": "title", - "type": "content-provider", + "name": "json", + "type": "data-source", "arguments": [ - "absolute_size", - "relative_size", - "value" + "glob" ] }, { - "name": "blockquote", + "name": "list", "type": "content-provider", "arguments": [ - "value" + "format", + "item_template" ] }, { @@ -61,110 +72,101 @@ ] }, { - "name": "toc", - "type": "content-provider", - "arguments": [ - "start_level", - "end_level", - "ordered", - "scope" - ] - }, - { - "name": "code", + "name": "text", "type": "content-provider", "arguments": [ - "value", - "language" + "value" ] }, { - "name": "image", + "name": "title", "type": "content-provider", "arguments": [ - "src", - "alt" + "absolute_size", + "relative_size", + "value" ] }, { - "name": "list", + "name": "toc", "type": "content-provider", "arguments": [ - "item_template", - "format" + "end_level", + "ordered", + "scope", + "start_level" ] }, { - "name": "frontmatter", - "type": "content-provider", + "name": "txt", + "type": "data-source", "arguments": [ - "format", - "content" + "path" ] } - ], - "shortname": "builtin", - "version": "v0.4.0" + ] }, { "name": "blackstork/elastic", + "version": "v0.4.1", + "shortname": "elastic", "resources": [ - { - "name": "elasticsearch", - "type": "data-source", - "config_params": [ - "basic_auth_username", - "basic_auth_password", - "bearer_auth", - "ca_certs", - "base_url", - "cloud_id", - "api_key_str", - "api_key" - ], - "arguments": [ - "query_string", - "query", - "aggs", - "only_hits", - "fields", - "size", - "index", - "id" - ] - }, { "name": "elastic_security_cases", "type": "data-source", "config_params": [ - "kibana_endpoint_url", + "api_key", "api_key_str", - "api_key" + "kibana_endpoint_url" ], "arguments": [ + "assignees", "default_search_operator", "from", "owner", - "sort_field", - "tags", - "space_id", - "assignees", "reporters", "search", "search_fields", "severity", - "status", + "size", + "sort_field", "sort_order", - "to", + "space_id", + "status", + "tags", + "to" + ] + }, + { + "name": "elasticsearch", + "type": "data-source", + "config_params": [ + "api_key", + "api_key_str", + "base_url", + "basic_auth_password", + "basic_auth_username", + "bearer_auth", + "ca_certs", + "cloud_id" + ], + "arguments": [ + "aggs", + "fields", + "id", + "index", + "only_hits", + "query", + "query_string", "size" ] } - ], - "shortname": "elastic", - "version": "v0.4.0" + ] }, { "name": "blackstork/github", + "version": "v0.4.1", + "shortname": "github", "resources": [ { "name": "github_issues", @@ -173,25 +175,25 @@ "github_token" ], "arguments": [ - "labels", - "direction", - "since", - "repository", - "state", "assignee", + "creator", + "direction", + "labels", + "limit", "mentioned", "milestone", - "creator", + "repository", + "since", "sort", - "limit" + "state" ] } - ], - "shortname": "github", - "version": "v0.4.0" + ] }, { "name": "blackstork/graphql", + "version": "v0.4.1", + "shortname": "graphql", "resources": [ { "name": "graphql", @@ -204,262 +206,260 @@ "query" ] } - ], - "shortname": "graphql", - "version": "v0.4.0" + ] }, { - "name": "blackstork/openai", + "name": "blackstork/hackerone", + "version": "v0.4.1", + "shortname": "hackerone", "resources": [ { - "name": "openai_text", - "type": "content-provider", + "name": "hackerone_reports", + "type": "data-source", "config_params": [ - "system_prompt", - "api_key", - "organization_id" + "api_token", + "api_username" ], "arguments": [ - "prompt", - "model" + "assignee", + "bounty_awarded_at__gt", + "bounty_awarded_at__lt", + "bounty_awarded_at__null", + "closed_at__gt", + "closed_at__lt", + "closed_at__null", + "created_at__gt", + "created_at__lt", + "custom_fields", + "disclosed_at__gt", + "disclosed_at__lt", + "disclosed_at__null", + "first_program_activity_at__gt", + "first_program_activity_at__lt", + "first_program_activity_at__null", + "hacker_published", + "id", + "inbox_ids", + "keyword", + "last_activity_at__gt", + "last_activity_at__lt", + "last_program_activity_at__gt", + "last_program_activity_at__lt", + "last_program_activity_at__null", + "last_public_activity_at__gt", + "last_public_activity_at__lt", + "last_report_activity_at__gt", + "last_report_activity_at__lt", + "page_number", + "program", + "reporter", + "reporter_agreed_on_going_public", + "severity", + "size", + "sort", + "state", + "submitted_at__gt", + "submitted_at__lt", + "swag_awarded_at__gt", + "swag_awarded_at__lt", + "swag_awarded_at__null", + "triaged_at__gt", + "triaged_at__lt", + "triaged_at__null", + "weakness_id" ] } - ], - "shortname": "openai", - "version": "v0.4.0" + ] }, { - "name": "blackstork/opencti", + "name": "blackstork/nist_nvd", + "version": "v0.4.1", + "shortname": "nist_nvd", "resources": [ { - "name": "opencti", + "name": "nist_nvd_cves", "type": "data-source", "config_params": [ - "graphql_url", - "auth_token" + "api_key" ], "arguments": [ - "graphql_query" + "cpe_name", + "cve_id", + "cvss_v3_metrics", + "cvss_v3_severity", + "cwe_id", + "has_cert_alerts", + "has_cert_notes", + "has_kev", + "is_vulnerable", + "keyword_exact_match", + "keyword_search", + "last_mod_end_date", + "last_mod_start_date", + "limit", + "no_rejected", + "pub_end_date", + "pub_start_date", + "source_identifier", + "virtual_match_string" ] } - ], - "shortname": "opencti", - "version": "v0.4.0" + ] }, { - "name": "blackstork/postgresql", + "name": "blackstork/openai", + "version": "v0.4.1", + "shortname": "openai", "resources": [ { - "name": "postgresql", - "type": "data-source", + "name": "openai_text", + "type": "content-provider", "config_params": [ - "database_url" + "api_key", + "organization_id", + "system_prompt" ], "arguments": [ - "sql_query", - "sql_args" + "model", + "prompt" ] } - ], - "shortname": "postgresql", - "version": "v0.4.0" + ] }, { - "name": "blackstork/sqlite", + "name": "blackstork/opencti", + "version": "v0.4.1", + "shortname": "opencti", "resources": [ { - "name": "sqlite", + "name": "opencti", "type": "data-source", "config_params": [ - "database_uri" + "auth_token", + "graphql_url" ], "arguments": [ - "sql_query", - "sql_args" - ] - } - ], - "shortname": "sqlite", - "version": "v0.4.0" - }, - { - "name": "blackstork/terraform", - "resources": [ - { - "name": "terraform_state_local", - "type": "data-source", - "arguments": [ - "path" + "graphql_query" ] } - ], - "shortname": "terraform", - "version": "v0.4.0" + ] }, { - "name": "blackstork/hackerone", + "name": "blackstork/postgresql", + "version": "v0.4.1", + "shortname": "postgresql", "resources": [ { - "name": "hackerone_reports", + "name": "postgresql", "type": "data-source", "config_params": [ - "api_username", - "api_token" + "database_url" ], "arguments": [ - "triaged_at__gt", - "swag_awarded_at__null", - "inbox_ids", - "closed_at__lt", - "reporter_agreed_on_going_public", - "last_report_activity_at__gt", - "first_program_activity_at__lt", - "last_activity_at__gt", - "last_public_activity_at__lt", - "triaged_at__null", - "program", - "hacker_published", - "closed_at__gt", - "disclosed_at__gt", - "custom_fields", - "size", - "id", - "closed_at__null", - "bounty_awarded_at__lt", - "first_program_activity_at__null", - "reporter", - "assignee", - "severity", - "created_at__gt", - "created_at__lt", - "disclosed_at__null", - "bounty_awarded_at__gt", - "bounty_awarded_at__null", - "sort", - "last_public_activity_at__gt", - "keyword", - "last_report_activity_at__lt", - "submitted_at__lt", - "triaged_at__lt", - "disclosed_at__lt", - "last_program_activity_at__gt", - "state", - "weakness_id", - "submitted_at__gt", - "swag_awarded_at__gt", - "swag_awarded_at__lt", - "first_program_activity_at__gt", - "last_program_activity_at__null", - "last_activity_at__lt", - "page_number", - "last_program_activity_at__lt" + "sql_args", + "sql_query" ] } - ], - "shortname": "hackerone", - "version": "v0.4.0" + ] }, { - "name": "blackstork/virustotal", + "name": "blackstork/splunk", + "version": "v0.4.1", + "shortname": "splunk", "resources": [ { - "name": "virustotal_api_usage", + "name": "splunk_search", "type": "data-source", "config_params": [ - "api_key" + "auth_token", + "deployment_name", + "host" ], "arguments": [ - "user_id", - "group_id", - "start_date", - "end_date" + "earliest_time", + "latest_time", + "max_count", + "rf", + "search_query", + "status_buckets" ] } - ], - "shortname": "virustotal", - "version": "v0.4.0" + ] }, { - "name": "blackstork/splunk", + "name": "blackstork/sqlite", + "version": "v0.4.1", + "shortname": "sqlite", "resources": [ { - "name": "splunk_search", + "name": "sqlite", "type": "data-source", "config_params": [ - "auth_token", - "host", - "deployment_name" + "database_uri" ], "arguments": [ - "search_query", - "max_count", - "status_buckets", - "rf", - "earliest_time", - "latest_time" + "sql_args", + "sql_query" ] } - ], - "shortname": "splunk", - "version": "v0.4.0" + ] }, { "name": "blackstork/stixview", + "version": "v0.4.1", + "shortname": "stixview", "resources": [ { "name": "stixview", "type": "content-provider", "arguments": [ - "show_labels", + "caption", "gist_id", + "height", "show_footer", + "show_idrefs", + "show_labels", + "show_marking_nodes", "show_sidebar", "show_tlp_as_tags", - "show_marking_nodes", "stix_url", - "caption", - "show_idrefs", - "width", - "height" + "width" ] } - ], - "shortname": "stixview", - "version": "v0.4.0" + ] }, { - "name": "blackstork/nist_nvd", + "name": "blackstork/terraform", + "version": "v0.4.1", + "shortname": "terraform", "resources": [ { - "name": "nist_nvd_cves", + "name": "terraform_state_local", + "type": "data-source", + "arguments": [ + "path" + ] + } + ] + }, + { + "name": "blackstork/virustotal", + "version": "v0.4.1", + "shortname": "virustotal", + "resources": [ + { + "name": "virustotal_api_usage", "type": "data-source", "config_params": [ "api_key" ], "arguments": [ - "source_identifier", - "no_rejected", - "cvss_v3_severity", - "keyword_exact_match", - "cvss_v3_metrics", - "last_mod_end_date", - "pub_end_date", - "cpe_name", - "cve_id", - "cwe_id", - "keyword_search", - "has_cert_alerts", - "last_mod_start_date", - "is_vulnerable", - "has_cert_notes", - "virtual_match_string", - "has_kev", - "limit", - "pub_start_date" + "end_date", + "group_id", + "start_date", + "user_id" ] } - ], - "shortname": "nist_nvd", - "version": "v0.4.0" + ] } ] \ No newline at end of file diff --git a/docs/plugins/postgresql/_index.md b/docs/plugins/postgresql/_index.md index e346411c..dab9f1b8 100644 --- a/docs/plugins/postgresql/_index.md +++ b/docs/plugins/postgresql/_index.md @@ -5,12 +5,12 @@ plugin: name: blackstork/postgresql description: "" tags: [] - version: "v0.4.0" + version: "v0.4.1" source_github: "https://github.com/blackstork-io/fabric/tree/main/internal/postgresql/" type: docs --- -{{< plugin-header "blackstork/postgresql" "postgresql" "v0.4.0" >}} +{{< plugin-header "blackstork/postgresql" "postgresql" "v0.4.1" >}} ## Installation @@ -19,7 +19,7 @@ To install the plugin, add it to `plugin_versions` map in the Fabric global conf ```hcl fabric { plugin_versions = { - "blackstork/postgresql" = ">= v0.4.0" + "blackstork/postgresql" = ">= v0.4.1" } } ``` diff --git a/docs/plugins/postgresql/data-sources/postgresql.md b/docs/plugins/postgresql/data-sources/postgresql.md index efda17a5..9f9e4458 100644 --- a/docs/plugins/postgresql/data-sources/postgresql.md +++ b/docs/plugins/postgresql/data-sources/postgresql.md @@ -4,7 +4,7 @@ plugin: name: blackstork/postgresql description: "" tags: [] - version: "v0.4.0" + version: "v0.4.1" source_github: "https://github.com/blackstork-io/fabric/tree/main/internal/postgresql/" resource: type: data-source @@ -13,7 +13,7 @@ type: docs {{< breadcrumbs 2 >}} -{{< plugin-resource-header "blackstork/postgresql" "postgresql" "v0.4.0" "postgresql" "data source" >}} +{{< plugin-resource-header "blackstork/postgresql" "postgresql" "v0.4.1" "postgresql" "data source" >}} ## Installation @@ -24,7 +24,7 @@ To install the plugin, add the full plugin name to the `plugin_versions` map in ```hcl fabric { plugin_versions = { - "blackstork/postgresql" = ">= v0.4.0" + "blackstork/postgresql" = ">= v0.4.1" } } ``` diff --git a/docs/plugins/splunk/_index.md b/docs/plugins/splunk/_index.md index 22459457..0fd5baa7 100644 --- a/docs/plugins/splunk/_index.md +++ b/docs/plugins/splunk/_index.md @@ -5,12 +5,12 @@ plugin: name: blackstork/splunk description: "" tags: [] - version: "v0.4.0" + version: "v0.4.1" source_github: "https://github.com/blackstork-io/fabric/tree/main/internal/splunk/" type: docs --- -{{< plugin-header "blackstork/splunk" "splunk" "v0.4.0" >}} +{{< plugin-header "blackstork/splunk" "splunk" "v0.4.1" >}} ## Installation @@ -19,7 +19,7 @@ To install the plugin, add it to `plugin_versions` map in the Fabric global conf ```hcl fabric { plugin_versions = { - "blackstork/splunk" = ">= v0.4.0" + "blackstork/splunk" = ">= v0.4.1" } } ``` diff --git a/docs/plugins/splunk/data-sources/splunk_search.md b/docs/plugins/splunk/data-sources/splunk_search.md index 47f86afa..d8857b43 100644 --- a/docs/plugins/splunk/data-sources/splunk_search.md +++ b/docs/plugins/splunk/data-sources/splunk_search.md @@ -4,7 +4,7 @@ plugin: name: blackstork/splunk description: "" tags: [] - version: "v0.4.0" + version: "v0.4.1" source_github: "https://github.com/blackstork-io/fabric/tree/main/internal/splunk/" resource: type: data-source @@ -13,7 +13,7 @@ type: docs {{< breadcrumbs 2 >}} -{{< plugin-resource-header "blackstork/splunk" "splunk" "v0.4.0" "splunk_search" "data source" >}} +{{< plugin-resource-header "blackstork/splunk" "splunk" "v0.4.1" "splunk_search" "data source" >}} ## Installation @@ -24,7 +24,7 @@ To install the plugin, add the full plugin name to the `plugin_versions` map in ```hcl fabric { plugin_versions = { - "blackstork/splunk" = ">= v0.4.0" + "blackstork/splunk" = ">= v0.4.1" } } ``` diff --git a/docs/plugins/sqlite/_index.md b/docs/plugins/sqlite/_index.md index cff77618..16916b38 100644 --- a/docs/plugins/sqlite/_index.md +++ b/docs/plugins/sqlite/_index.md @@ -5,12 +5,12 @@ plugin: name: blackstork/sqlite description: "" tags: [] - version: "v0.4.0" + version: "v0.4.1" source_github: "https://github.com/blackstork-io/fabric/tree/main/internal/sqlite/" type: docs --- -{{< plugin-header "blackstork/sqlite" "sqlite" "v0.4.0" >}} +{{< plugin-header "blackstork/sqlite" "sqlite" "v0.4.1" >}} ## Installation @@ -19,7 +19,7 @@ To install the plugin, add it to `plugin_versions` map in the Fabric global conf ```hcl fabric { plugin_versions = { - "blackstork/sqlite" = ">= v0.4.0" + "blackstork/sqlite" = ">= v0.4.1" } } ``` diff --git a/docs/plugins/sqlite/data-sources/sqlite.md b/docs/plugins/sqlite/data-sources/sqlite.md index 37733f1d..4d05542c 100644 --- a/docs/plugins/sqlite/data-sources/sqlite.md +++ b/docs/plugins/sqlite/data-sources/sqlite.md @@ -4,7 +4,7 @@ plugin: name: blackstork/sqlite description: "" tags: [] - version: "v0.4.0" + version: "v0.4.1" source_github: "https://github.com/blackstork-io/fabric/tree/main/internal/sqlite/" resource: type: data-source @@ -13,7 +13,7 @@ type: docs {{< breadcrumbs 2 >}} -{{< plugin-resource-header "blackstork/sqlite" "sqlite" "v0.4.0" "sqlite" "data source" >}} +{{< plugin-resource-header "blackstork/sqlite" "sqlite" "v0.4.1" "sqlite" "data source" >}} ## Installation @@ -24,7 +24,7 @@ To install the plugin, add the full plugin name to the `plugin_versions` map in ```hcl fabric { plugin_versions = { - "blackstork/sqlite" = ">= v0.4.0" + "blackstork/sqlite" = ">= v0.4.1" } } ``` diff --git a/docs/plugins/stixview/_index.md b/docs/plugins/stixview/_index.md index b423022b..8c4e67e6 100644 --- a/docs/plugins/stixview/_index.md +++ b/docs/plugins/stixview/_index.md @@ -5,12 +5,12 @@ plugin: name: blackstork/stixview description: "" tags: [] - version: "v0.4.0" + version: "v0.4.1" source_github: "https://github.com/blackstork-io/fabric/tree/main/internal/stixview/" type: docs --- -{{< plugin-header "blackstork/stixview" "stixview" "v0.4.0" >}} +{{< plugin-header "blackstork/stixview" "stixview" "v0.4.1" >}} ## Installation @@ -19,7 +19,7 @@ To install the plugin, add it to `plugin_versions` map in the Fabric global conf ```hcl fabric { plugin_versions = { - "blackstork/stixview" = ">= v0.4.0" + "blackstork/stixview" = ">= v0.4.1" } } ``` diff --git a/docs/plugins/stixview/content-providers/stixview.md b/docs/plugins/stixview/content-providers/stixview.md index 47a0630b..5fce09b6 100644 --- a/docs/plugins/stixview/content-providers/stixview.md +++ b/docs/plugins/stixview/content-providers/stixview.md @@ -4,7 +4,7 @@ plugin: name: blackstork/stixview description: "" tags: [] - version: "v0.4.0" + version: "v0.4.1" source_github: "https://github.com/blackstork-io/fabric/tree/main/internal/stixview/" resource: type: content-provider @@ -13,7 +13,7 @@ type: docs {{< breadcrumbs 2 >}} -{{< plugin-resource-header "blackstork/stixview" "stixview" "v0.4.0" "stixview" "content provider" >}} +{{< plugin-resource-header "blackstork/stixview" "stixview" "v0.4.1" "stixview" "content provider" >}} ## Installation @@ -24,7 +24,7 @@ To install the plugin, add the full plugin name to the `plugin_versions` map in ```hcl fabric { plugin_versions = { - "blackstork/stixview" = ">= v0.4.0" + "blackstork/stixview" = ">= v0.4.1" } } ``` diff --git a/docs/plugins/terraform/_index.md b/docs/plugins/terraform/_index.md index 1fdb6c21..e57fd619 100644 --- a/docs/plugins/terraform/_index.md +++ b/docs/plugins/terraform/_index.md @@ -5,12 +5,12 @@ plugin: name: blackstork/terraform description: "" tags: [] - version: "v0.4.0" + version: "v0.4.1" source_github: "https://github.com/blackstork-io/fabric/tree/main/internal/terraform/" type: docs --- -{{< plugin-header "blackstork/terraform" "terraform" "v0.4.0" >}} +{{< plugin-header "blackstork/terraform" "terraform" "v0.4.1" >}} ## Installation @@ -19,7 +19,7 @@ To install the plugin, add it to `plugin_versions` map in the Fabric global conf ```hcl fabric { plugin_versions = { - "blackstork/terraform" = ">= v0.4.0" + "blackstork/terraform" = ">= v0.4.1" } } ``` diff --git a/docs/plugins/terraform/data-sources/terraform_state_local.md b/docs/plugins/terraform/data-sources/terraform_state_local.md index 146288ba..b09c884b 100644 --- a/docs/plugins/terraform/data-sources/terraform_state_local.md +++ b/docs/plugins/terraform/data-sources/terraform_state_local.md @@ -4,7 +4,7 @@ plugin: name: blackstork/terraform description: "" tags: [] - version: "v0.4.0" + version: "v0.4.1" source_github: "https://github.com/blackstork-io/fabric/tree/main/internal/terraform/" resource: type: data-source @@ -13,7 +13,7 @@ type: docs {{< breadcrumbs 2 >}} -{{< plugin-resource-header "blackstork/terraform" "terraform" "v0.4.0" "terraform_state_local" "data source" >}} +{{< plugin-resource-header "blackstork/terraform" "terraform" "v0.4.1" "terraform_state_local" "data source" >}} ## Installation @@ -24,7 +24,7 @@ To install the plugin, add the full plugin name to the `plugin_versions` map in ```hcl fabric { plugin_versions = { - "blackstork/terraform" = ">= v0.4.0" + "blackstork/terraform" = ">= v0.4.1" } } ``` diff --git a/docs/plugins/virustotal/_index.md b/docs/plugins/virustotal/_index.md index c51f0988..4f544143 100644 --- a/docs/plugins/virustotal/_index.md +++ b/docs/plugins/virustotal/_index.md @@ -5,12 +5,12 @@ plugin: name: blackstork/virustotal description: "" tags: [] - version: "v0.4.0" + version: "v0.4.1" source_github: "https://github.com/blackstork-io/fabric/tree/main/internal/virustotal/" type: docs --- -{{< plugin-header "blackstork/virustotal" "virustotal" "v0.4.0" >}} +{{< plugin-header "blackstork/virustotal" "virustotal" "v0.4.1" >}} ## Installation @@ -19,7 +19,7 @@ To install the plugin, add it to `plugin_versions` map in the Fabric global conf ```hcl fabric { plugin_versions = { - "blackstork/virustotal" = ">= v0.4.0" + "blackstork/virustotal" = ">= v0.4.1" } } ``` diff --git a/docs/plugins/virustotal/data-sources/virustotal_api_usage.md b/docs/plugins/virustotal/data-sources/virustotal_api_usage.md index 946e9cac..972fd206 100644 --- a/docs/plugins/virustotal/data-sources/virustotal_api_usage.md +++ b/docs/plugins/virustotal/data-sources/virustotal_api_usage.md @@ -4,7 +4,7 @@ plugin: name: blackstork/virustotal description: "" tags: [] - version: "v0.4.0" + version: "v0.4.1" source_github: "https://github.com/blackstork-io/fabric/tree/main/internal/virustotal/" resource: type: data-source @@ -13,7 +13,7 @@ type: docs {{< breadcrumbs 2 >}} -{{< plugin-resource-header "blackstork/virustotal" "virustotal" "v0.4.0" "virustotal_api_usage" "data source" >}} +{{< plugin-resource-header "blackstork/virustotal" "virustotal" "v0.4.1" "virustotal_api_usage" "data source" >}} ## Installation @@ -24,7 +24,7 @@ To install the plugin, add the full plugin name to the `plugin_versions` map in ```hcl fabric { plugin_versions = { - "blackstork/virustotal" = ">= v0.4.0" + "blackstork/virustotal" = ">= v0.4.1" } } ``` diff --git a/justfile b/justfile index 18f278e5..5ed064b4 100644 --- a/justfile +++ b/justfile @@ -30,4 +30,4 @@ generate: go generate ./... generate-docs: - go run ./tools/docgen --version v0.4.0 --output ./docs/plugins/ + go run ./tools/docgen --version v0.4.1 --output ./docs/plugins/ diff --git a/tools/docgen/main.go b/tools/docgen/main.go index c6220a98..a82c87be 100644 --- a/tools/docgen/main.go +++ b/tools/docgen/main.go @@ -7,6 +7,7 @@ import ( "log/slog" "os" "path/filepath" + "sort" "strings" "text/template" @@ -57,6 +58,13 @@ type PluginResourceMeta struct { Arguments []string `json:"arguments,omitempty"` } +type PluginDetails struct { + Name string `json:"name"` + Version string `json:"version"` + Shortname string `json:"shortname"` + Resources []PluginResourceMeta `json:"resources"` +} + func generateDataSourceDocs(log *slog.Logger, p *plugin.Schema, outputDir string) { log.Info("Found data sources inside the plugin", "count", len(p.DataSources)) @@ -114,6 +122,7 @@ func marshalDataSource(name string, ds *plugin.DataSource) PluginResourceMeta { configParams = append(configParams, k) } } + sort.Strings(configParams) var arguments []string argsSpec, ok := ds.Args.(hcldec.ObjectSpec) @@ -122,6 +131,8 @@ func marshalDataSource(name string, ds *plugin.DataSource) PluginResourceMeta { arguments = append(arguments, k) } } + sort.Strings(arguments) + return PluginResourceMeta{ Name: name, Type: "data-source", @@ -138,6 +149,7 @@ func marshalContentProvider(name string, p *plugin.ContentProvider) PluginResour configParams = append(configParams, k) } } + sort.Strings(configParams) var arguments []string argsSpec, ok := p.Args.(hcldec.ObjectSpec) @@ -146,6 +158,8 @@ func marshalContentProvider(name string, p *plugin.ContentProvider) PluginResour arguments = append(arguments, k) } } + sort.Strings(arguments) + return PluginResourceMeta{ Name: name, Type: "content-provider", @@ -155,7 +169,7 @@ func marshalContentProvider(name string, p *plugin.ContentProvider) PluginResour } func generateMetadataFile(plugins []*plugin.Schema, outputDir string) { - pluginDetails := make([]any, len(plugins)) + pluginDetails := make([]PluginDetails, len(plugins)) for i, p := range plugins { @@ -168,14 +182,22 @@ func generateMetadataFile(plugins []*plugin.Schema, outputDir string) { resources = append(resources, marshalContentProvider(name, contentProvider)) } - pluginDetails[i] = map[string]any{ - "name": p.Name, - "version": p.Version, - "shortname": shortname(p.Name), - "resources": resources, + sort.Slice(resources, func(i, j int) bool { + return resources[i].Name < resources[j].Name + }) + + pluginDetails[i] = PluginDetails{ + Name: p.Name, + Version: p.Version, + Shortname: shortname(p.Name), + Resources: resources, } } + sort.Slice(pluginDetails, func(i, j int) bool { + return pluginDetails[i].Name < pluginDetails[j].Name + }) + jsonData, err := json.MarshalIndent(pluginDetails, "", " ") if err != nil { slog.Error("Failed to marshal the plugin details into JSON")