{
  "name": "@cclabsnz/sf-audit",
  "version": "1.23.0",
  "description": "Read-only Salesforce security audit for the sf CLI: 109 checks, attack-chain correlation, A-F risk grading, compliance mapping, free EventLogFile capture, and Guest User Anomaly investigation.",
  "keywords": [
    "salesforce",
    "salesforce-cli",
    "sf-plugin",
    "sfdx-plugin",
    "oclif-plugin",
    "security",
    "security-audit",
    "security-scanner",
    "compliance",
    "soc2",
    "iso27001",
    "owasp",
    "nzism",
    "agentforce",
    "devsecops",
    "permissions",
    "audit",
    "salesforce-security",
    "event-monitoring",
    "eventlogfile",
    "guest-user",
    "experience-cloud",
    "incident-response",
    "forensics",
    "connected-apps",
    "health-check"
  ],
  "license": "Apache-2.0",
  "type": "module",
  "packageManager": "pnpm@10.33.0",
  "main": "lib/index.js",
  "scripts": {
    "build": "tsc -p tsconfig.json",
    "test": "npm run typecheck && node --experimental-vm-modules node_modules/jest/bin/jest.js --passWithNoTests",
    "test:unit": "npm run typecheck && node --experimental-vm-modules node_modules/jest/bin/jest.js test/unit --passWithNoTests",
    "prepack": "npm run build",
    "clean": "rm -rf lib",
    "prepare": "git config core.hooksPath .githooks 2>/dev/null || true",
    "typecheck": "tsc -p tsconfig.test.json",
    "lint": "oxlint src test",
    "test:jest": "node --experimental-vm-modules node_modules/jest/bin/jest.js --passWithNoTests"
  },
  "dependencies": {
    "@cclabsnz/sf-core": "^0.12.0",
    "@fontsource-variable/source-sans-3": "^5.3.1",
    "@fontsource-variable/source-serif-4": "^5.3.1",
    "@oclif/core": "^5",
    "@salesforce/core": "^9.3.0",
    "@salesforce/sf-plugins-core": "^13",
    "chart.js": "^4.5.1",
    "zod": "^4"
  },
  "devDependencies": {
    "@jest/globals": "^30.4.1",
    "@swc/core": "^1.15.47",
    "@swc/jest": "^0.2.39",
    "@types/jest": "^30",
    "@types/node": "^26",
    "jest": "^30",
    "oxlint": "^1.79.0",
    "typescript": "^7.0.2"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/cclabsnz/sf-audit-plugin.git"
  },
  "homepage": "https://github.com/cclabsnz/sf-audit-plugin#readme",
  "bugs": {
    "url": "https://github.com/cclabsnz/sf-audit-plugin/issues"
  },
  "engines": {
    "node": ">=22.0.0"
  },
  "oclif": {
    "bin": "sf",
    "dirname": "sf",
    "commands": "./lib/commands",
    "pluginType": "jit",
    "flexibleTaxonomy": true,
    "devPlugins": [],
    "topics": {
      "audit": {
        "description": "Salesforce security audit commands",
        "subtopics": {
          "events": {
            "description": "Capture free EventLogFile logs to local disk"
          },
          "apps": {
            "description": "Analyze connected-app least-privilege from EventLogFile usage"
          },
          "incident": {
            "description": "Investigate Guest User Anomaly events: collect an evidence bundle, then report"
          }
        }
      }
    }
  },
  "files": [
    "/lib",
    "/CHANGELOG.md",
    "/PERMISSIONS.md",
    "/docs/permissionset",
    "/messages",
    "/config",
    "!/lib/**/*.map"
  ],
  "pnpm": {
    "overrides": {
      "form-data": "^4.0.6",
      "handlebars": "^4.7.9",
      "brace-expansion": "^5.0.11",
      "fast-uri@3": "^3.1.9",
      "browserslist": "^4.28.7",
      "@istanbuljs/load-nyc-config>js-yaml": "^4.1.1"
    }
  }
}
