Aller au contenu principal

Pack Cybersécurité

Modèle de pack Cybersécurité : assistant pour les alertes de sécurité, sur des données fictives avec un connecteur siem simulé.

Référence​

ChampValeur
Nomcybersecurity
Version1.0.0
LicenceMIT
TypeGabarit
formatpack
domaincybersecurity
Catégoriecybersecurity
namespaceenterprise-ai-packs
publisherEnterprise AI reference packs
ownerenterprise-ai-packs
compatibility.platform>=1.0.0 <2.0.0
compatibility.sdk>=1.0.0 <2.0.0
compatibility.runtimesnavin
dependenciesAucun
Sourcepacks/templates/cybersecurity/plugin.yaml
Documentationpacks/templates/cybersecurity/docs/en/README.md, packs/templates/cybersecurity/docs/fr/README.md

Capacités​

TypeNom
toolcybersecurity-search
toolcybersecurity-update-status
connectorcybersecurity-siem
policycybersecurity

Permissions demandées​

L'administrateur en accorde une partie à l'installation ; seuls les scopes accordés s'appliquent.

ScopeSensibleClassificationRaison
cybersecurity.alerts.readNonconfidentialLire les fiches d'alerte de sécurité pour répondre aux questions.
cybersecurity.alerts.writeOuiconfidentialModifier le statut d'une alerte de sécurité après une approbation humaine.

Protection des données​

ChampValeur
classification_maxconfidential
piifalse
residencyeu-west-1
retention_days30
dlpmask
fictitious_datatrue
piiDetectionRequiredtrue
maskingPolicymask
externalExportDefaultdeny

Approbations​

Requises pour : install, upgrade, sensitivePermissions, production, externalExport, resume.

ÉtapeQuorumRôles
install1tenant_admin, security_officer
sensitive2tenant_admin, security_officer
production2tenant_admin, security_officer

Indicateurs de sécurité et de test​

ChampValeur
security.signedArtifactRequiredtrue
security.sandboxRequiredtrue
security.dynamicAuthorizationtrue
security.auditRequiredtrue
testFlags.sdkConformancetrue
testFlags.authorizationtrue
testFlags.securitytrue

Configuration​

Propriétés de spec.configSchema, renseignées par l'administrateur à l'installation :

NomTypeContraintes
model_idstring{"minLength": 3}
mcp_serversobject{"additionalProperties": {"additionalProperties": false, "properties": {"url": {"pattern": "^https?://", "type": "string"}}, "required": ["url"], "type": "object"}}

Composants​

TypeNomVersionDescriptionDétailsChemin
Agentcybersecurity-assistant1.0.0Répond aux questions sur les fiches d'alerte de sécurité et prépare les changements de statut soumis à une approbation humaine.risk_level: limited, autonomy.level: supervised, tools tool:cybersecurity-search, tool:cybersecurity-update-statuspacks/templates/cybersecurity/agents/cybersecurity-assistant.yaml
Sous-agentcybersecurity-reviewer1.0.0Vérifie un changement de statut proposé pour une alerte de sécurité au regard des règles, avant l'approbation humaine.risk_level: minimal, autonomy.level: assisted, tools tool:cybersecurity-searchpacks/templates/cybersecurity/subagents/cybersecurity-reviewer.yaml
Promptcybersecurity-summary-Synthèse d'une fiche d'alerte de sécurité pour un utilisateur métier.variables record_id, audience, languagepacks/templates/cybersecurity/prompts/cybersecurity-summary.yaml
Serveur MCPcybersecurity-mcp-Serveur MCP du pack Cybersécurité (SDK MCP Python officiel, licence MIT).transport: streamable_http, tools cybersecurity_search, cybersecurity_update_statuspacks/templates/cybersecurity/mcp/servers/cybersecurity-mcp.yaml
Outil MCPcybersecurity-search1.0.0Rechercher des fiches fictives d'alerte de sécurité via le serveur MCP du pack.action: read, scopes cybersecurity.alerts.read, risk_level: limited, requires_approval: falsepacks/templates/cybersecurity/mcp/tools/cybersecurity-search.yaml
Outil MCPcybersecurity-update-status1.0.0Modifier le statut d'une fiche fictive d'alerte de sécurité, de façon idempotente, après une approbation humaine.action: write, scopes cybersecurity.alerts.write, risk_level: high, requires_approval: truepacks/templates/cybersecurity/mcp/tools/cybersecurity-update-status.yaml
Connecteurcybersecurity-siem1.0.0Connecteur siem du pack Cybersécurité. Simulé sur des données fictives tant que le tenant ne l'a pas configuré.system: siem, auth.type: api_key, scopes cybersecurity.alerts.read, cybersecurity.alerts.writepacks/templates/cybersecurity/connectors/cybersecurity-siem.yaml
Workflowcybersecurity-status-change-Changement de statut d'une alerte de sécurité, avec une revue et une approbation à quatre yeux.steps search, review, approval, apply, on_failure: stoppacks/templates/cybersecurity/workflows/cybersecurity-status-change.yaml
Base de connaissancescybersecurity-knowledge-Modèle de base de connaissances du pack Cybersécurité (documents fictifs).classification: internalpacks/templates/cybersecurity/rag/config.yaml
Skillcybersecurity-guidelines1.0.0Comment l'assistant Cybersécurité traite les fiches d'alerte de sécurité.scopes cybersecurity.alerts.read, data_classification_max: confidentialpacks/templates/cybersecurity/skills/cybersecurity-guidelines/SKILL.md

Évaluations et tests​

NomTypeCheminSeuil
cybersecurity-answerspromptfooevaluations/promptfoo.yaml1.0
cybersecurity-retrievalragasevaluations/ragas.jsonl0.8
TypeChemin
unittests/unit
integrationtests/integration
authztests/authz
securitytests/security
opapolicies/opa

Fichiers​

TypeChemin
Règlespacks/templates/cybersecurity/rules/cybersecurity-rules.md
Politiquespacks/templates/cybersecurity/policies/opa/cybersecurity.rego, packs/templates/cybersecurity/policies/opa/cybersecurity_test.rego, packs/templates/cybersecurity/policies/openfga/model.fga, packs/templates/cybersecurity/policies/openfga/tests.fga.yaml
Observabilitépacks/templates/cybersecurity/observability/alerts/cybersecurity.yaml
Documents de la base de connaissancespacks/templates/cybersecurity/rag/documents/guide.md

L'installer​

Validez, construisez, signez et publiez le pack, puis installez-le depuis la Marketplace : le contrôle préalable vérifie les capacités et la configuration avant l'installation.

enterprise-ai plugin validate packs/templates/cybersecurity
enterprise-ai plugin build packs/templates/cybersecurity --out /tmp/cybersecurity-dist
COSIGN_PASSWORD=... enterprise-ai plugin sign packs/templates/cybersecurity --out /tmp/cybersecurity-dist --key cosign.key --signer <publisher>
enterprise-ai plugin publish packs/templates/cybersecurity --out /tmp/cybersecurity-dist --key cosign.key \
--oci <registry>/packs/cybersecurity:1.0.0

cosign.key : clé de signature de votre organisation. <publisher> : nom de l'éditeur enregistré dans la Marketplace. <registry> : registre OCI de la Marketplace. Appelez ensuite POST /v1/marketplace/preflight puis POST /v1/marketplace/installations, voir le guide de la Marketplace.