@vantagesec/socc 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/agents/socc.md +316 -0
- package/LICENSE +29 -0
- package/README.md +322 -0
- package/bin/import-specifier.mjs +13 -0
- package/bin/socc +32 -0
- package/dist/cli.mjs +562445 -0
- package/package.json +171 -0
- package/scripts/bootstrap-socc-soul.mjs +169 -0
- package/socc-canonical/.agents/generated/socc-agent-manifest.json +16 -0
- package/socc-canonical/.agents/generated/socc-agent.md +316 -0
- package/socc-canonical/.agents/soc-copilot/AGENTS.md +33 -0
- package/socc-canonical/.agents/soc-copilot/MEMORY.md +26 -0
- package/socc-canonical/.agents/soc-copilot/SKILL.md +55 -0
- package/socc-canonical/.agents/soc-copilot/SOUL.md +48 -0
- package/socc-canonical/.agents/soc-copilot/TOOLS.md +47 -0
- package/socc-canonical/.agents/soc-copilot/USER.md +32 -0
- package/socc-canonical/.agents/soc-copilot/identity.md +13 -0
- package/socc-canonical/.agents/soc-copilot/references/evidence-rules.md +30 -0
- package/socc-canonical/.agents/soc-copilot/references/intelligence-source-registry.md +32 -0
- package/socc-canonical/.agents/soc-copilot/references/ioc-extraction.md +25 -0
- package/socc-canonical/.agents/soc-copilot/references/knowledge-ingestion-policy.md +34 -0
- package/socc-canonical/.agents/soc-copilot/references/mitre-guidance.md +21 -0
- package/socc-canonical/.agents/soc-copilot/references/output-contract.md +31 -0
- package/socc-canonical/.agents/soc-copilot/references/security-json-patterns.md +129 -0
- package/socc-canonical/.agents/soc-copilot/references/telemetry-investigation-patterns.md +39 -0
- package/socc-canonical/.agents/soc-copilot/schemas/analysis_response.json +119 -0
- package/socc-canonical/.agents/soc-copilot/skills.md +28 -0
- package/socc-canonical/README.md +8 -0
package/bin/socc
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* SOCC — Security operations copiloto with agentic workflows.
|
|
5
|
+
*
|
|
6
|
+
* If dist/cli.mjs exists (built), run that.
|
|
7
|
+
* Otherwise, tell the user to build first or use `bun run dev`.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
import { existsSync } from 'fs'
|
|
11
|
+
import { join, dirname } from 'path'
|
|
12
|
+
import { fileURLToPath, pathToFileURL } from 'url'
|
|
13
|
+
|
|
14
|
+
const __dirname = dirname(fileURLToPath(import.meta.url))
|
|
15
|
+
const distPath = join(__dirname, '..', 'dist', 'cli.mjs')
|
|
16
|
+
|
|
17
|
+
if (existsSync(distPath)) {
|
|
18
|
+
await import(pathToFileURL(distPath).href)
|
|
19
|
+
} else {
|
|
20
|
+
console.error(`
|
|
21
|
+
socc: dist/cli.mjs not found.
|
|
22
|
+
|
|
23
|
+
Build first:
|
|
24
|
+
bun run build
|
|
25
|
+
|
|
26
|
+
Or run directly with Bun:
|
|
27
|
+
bun run dev
|
|
28
|
+
|
|
29
|
+
See README.md for setup instructions.
|
|
30
|
+
`)
|
|
31
|
+
process.exit(1)
|
|
32
|
+
}
|