From bca842271e44bbd4afc5171827f269202ea948dd Mon Sep 17 00:00:00 2001 From: salvacybersec Date: Sun, 5 Apr 2026 14:11:19 +0300 Subject: [PATCH] feat(02-02): add Azure OpenAI, Meta AI, Cohere provider YAMLs - 3 Tier 1 medium/low-confidence providers with keyword anchoring - Dual-located in providers/ and pkg/providers/definitions/ - Registry test passes --- pkg/providers/definitions/azure-openai.yaml | 22 +++++++++++++++++++++ pkg/providers/definitions/cohere.yaml | 22 +++++++++++++++++++++ pkg/providers/definitions/meta-ai.yaml | 21 ++++++++++++++++++++ providers/azure-openai.yaml | 22 +++++++++++++++++++++ providers/cohere.yaml | 22 +++++++++++++++++++++ providers/meta-ai.yaml | 21 ++++++++++++++++++++ 6 files changed, 130 insertions(+) create mode 100644 pkg/providers/definitions/azure-openai.yaml create mode 100644 pkg/providers/definitions/cohere.yaml create mode 100644 pkg/providers/definitions/meta-ai.yaml create mode 100644 providers/azure-openai.yaml create mode 100644 providers/cohere.yaml create mode 100644 providers/meta-ai.yaml diff --git a/pkg/providers/definitions/azure-openai.yaml b/pkg/providers/definitions/azure-openai.yaml new file mode 100644 index 0000000..73b7761 --- /dev/null +++ b/pkg/providers/definitions/azure-openai.yaml @@ -0,0 +1,22 @@ +format_version: 1 +name: azure-openai +display_name: Azure OpenAI +tier: 1 +last_verified: "2026-04-05" +keywords: + - "azure" + - "openai.azure.com" + - "azure_openai" + - "cognitiveservices" + - "AZURE_OPENAI_API_KEY" + - "AZURE_OPENAI_KEY" +patterns: + - regex: '[a-f0-9]{32}' + entropy_min: 3.5 + confidence: low +verify: + method: GET + url: "" + headers: {} + valid_status: [] + invalid_status: [] diff --git a/pkg/providers/definitions/cohere.yaml b/pkg/providers/definitions/cohere.yaml new file mode 100644 index 0000000..86f2fdc --- /dev/null +++ b/pkg/providers/definitions/cohere.yaml @@ -0,0 +1,22 @@ +format_version: 1 +name: cohere +display_name: Cohere +tier: 1 +last_verified: "2026-04-05" +keywords: + - "cohere" + - "CO_API_KEY" + - "COHERE_API_KEY" + - "cohere_api" + - "api.cohere.ai" +patterns: + - regex: '[a-zA-Z0-9]{40}' + entropy_min: 4.0 + confidence: low +verify: + method: GET + url: https://api.cohere.ai/v1/models + headers: + Authorization: "Bearer {KEY}" + valid_status: [200] + invalid_status: [401, 403] diff --git a/pkg/providers/definitions/meta-ai.yaml b/pkg/providers/definitions/meta-ai.yaml new file mode 100644 index 0000000..6a70d9d --- /dev/null +++ b/pkg/providers/definitions/meta-ai.yaml @@ -0,0 +1,21 @@ +format_version: 1 +name: meta-ai +display_name: Meta AI (Llama API) +tier: 1 +last_verified: "2026-04-05" +keywords: + - "meta_llama" + - "llama_api" + - "META_LLAMA_API_KEY" + - "api.llama.com" +patterns: + - regex: 'LLM\|[A-Za-z0-9_\-]{30,}' + entropy_min: 3.5 + confidence: low +verify: + method: GET + url: https://api.llama.com/v1/models + headers: + Authorization: "Bearer {KEY}" + valid_status: [200] + invalid_status: [401, 403] diff --git a/providers/azure-openai.yaml b/providers/azure-openai.yaml new file mode 100644 index 0000000..73b7761 --- /dev/null +++ b/providers/azure-openai.yaml @@ -0,0 +1,22 @@ +format_version: 1 +name: azure-openai +display_name: Azure OpenAI +tier: 1 +last_verified: "2026-04-05" +keywords: + - "azure" + - "openai.azure.com" + - "azure_openai" + - "cognitiveservices" + - "AZURE_OPENAI_API_KEY" + - "AZURE_OPENAI_KEY" +patterns: + - regex: '[a-f0-9]{32}' + entropy_min: 3.5 + confidence: low +verify: + method: GET + url: "" + headers: {} + valid_status: [] + invalid_status: [] diff --git a/providers/cohere.yaml b/providers/cohere.yaml new file mode 100644 index 0000000..86f2fdc --- /dev/null +++ b/providers/cohere.yaml @@ -0,0 +1,22 @@ +format_version: 1 +name: cohere +display_name: Cohere +tier: 1 +last_verified: "2026-04-05" +keywords: + - "cohere" + - "CO_API_KEY" + - "COHERE_API_KEY" + - "cohere_api" + - "api.cohere.ai" +patterns: + - regex: '[a-zA-Z0-9]{40}' + entropy_min: 4.0 + confidence: low +verify: + method: GET + url: https://api.cohere.ai/v1/models + headers: + Authorization: "Bearer {KEY}" + valid_status: [200] + invalid_status: [401, 403] diff --git a/providers/meta-ai.yaml b/providers/meta-ai.yaml new file mode 100644 index 0000000..6a70d9d --- /dev/null +++ b/providers/meta-ai.yaml @@ -0,0 +1,21 @@ +format_version: 1 +name: meta-ai +display_name: Meta AI (Llama API) +tier: 1 +last_verified: "2026-04-05" +keywords: + - "meta_llama" + - "llama_api" + - "META_LLAMA_API_KEY" + - "api.llama.com" +patterns: + - regex: 'LLM\|[A-Za-z0-9_\-]{30,}' + entropy_min: 3.5 + confidence: low +verify: + method: GET + url: https://api.llama.com/v1/models + headers: + Authorization: "Bearer {KEY}" + valid_status: [200] + invalid_status: [401, 403]