> For the complete documentation index, see [llms.txt](https://docs.ox.security/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ox.security/api-documentation/api-reference/api--vibesec/types/objects/vibe-sec-policy-response.md).

# vibeSecPolicyResponse

### Examples

```graphql
type VibeSecPolicyResponse {
  governanceEnabled: Boolean!
  decisions: [FeatureDecisionEntry!]!
  secureCoding: SecureCodingConfigResponse!
  codeAnnotations: CodeAnnotationsConfigResponse!
  riskPreventionTelemetry: RiskPreventionTelemetryConfigResponse!
  mcpGovernance: McpGovernanceConfigResponse!
  commandsGovernance: CommandsGovernanceConfigResponse!
  dependenciesGovernance: DependenciesGovernanceConfigResponse!
  mcpGuard: McpGuardConfigResponse!
  oxPresence: OxPresenceConfigResponse!
  showGuidelineName: ShowGuidelineNameConfigResponse!
  externalSaasGovernance: ExternalSaasGovernanceConfigResponse!
  aiModelGovernance: AiModelGovernanceConfigResponse!
  promptSecretScan: PromptSecretScanConfigResponse!
  sensitiveDataProtection: SensitiveDataProtectionConfigResponse!
  skillsGovernance: SkillsGovernanceConfigResponse!
  blockMaliciousSkills: BlockMaliciousSkillsConfigResponse!
}
```

### Fields

| Field                                                                                                                                                                        | Description                                                                                                                                                                                                                   | Supported fields                                                                                                                                                                                                                                                                                                                                                                                                       |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| governanceEnabled `Boolean!`                                                                                                                                                 | Persisted master switch for governance children. When false, every governance child cascades to effective=false with blockedBy=parent.                                                                                        |                                                                                                                                                                                                                                                                                                                                                                                                                        |
| decisions [`[FeatureDecisionEntry!]!`](/api-documentation/api-reference/api--vibesec/types/objects/feature-decision-entry.md)                                                | Per-feature decision (configured vs effective + blockedBy reason) computed from the three-level AND-cascade.                                                                                                                  | <p>feature <a href="/api-documentation/api-reference/api--vibesec/types/enums/vibe-sec-feature.md"><code>VibeSecFeature!</code></a><br>configured <code>Boolean!</code><br>effective <code>Boolean!</code><br>blockedBy <a href="/api-documentation/api-reference/api--vibesec/types/enums/blocked-by.md"><code>BlockedBy</code></a></p>                                                                               |
| secureCoding [`SecureCodingConfigResponse!`](/api-documentation/api-reference/api--vibesec/types/objects/secure-coding-config-response.md)                                   | Guideline injection configuration                                                                                                                                                                                             | isEnabled `Boolean`                                                                                                                                                                                                                                                                                                                                                                                                    |
| codeAnnotations [`CodeAnnotationsConfigResponse!`](/api-documentation/api-reference/api--vibesec/types/objects/code-annotations-config-response.md)                          | Inline security annotation configuration                                                                                                                                                                                      | isEnabled `Boolean`                                                                                                                                                                                                                                                                                                                                                                                                    |
| riskPreventionTelemetry [`RiskPreventionTelemetryConfigResponse!`](/api-documentation/api-reference/api--vibesec/types/objects/risk-prevention-telemetry-config-response.md) | Prevented-risk telemetry configuration                                                                                                                                                                                        | isEnabled `Boolean`                                                                                                                                                                                                                                                                                                                                                                                                    |
| mcpGovernance [`McpGovernanceConfigResponse!`](/api-documentation/api-reference/api--vibesec/types/objects/mcp-governance-config-response.md)                                | MCP server and tool governance configuration                                                                                                                                                                                  | <p>isEnabled <code>Boolean</code><br>defaultServerPolicy <a href="/api-documentation/api-reference/api--vibesec/types/enums/mcp-governance-access-mode.md"><code>McpGovernanceAccessMode</code></a><br>servers <a href="/api-documentation/api-reference/api--vibesec/types/objects/mcp-server-policy-entry-response.md"><code>\[McpServerPolicyEntryResponse!]</code></a></p>                                         |
| commandsGovernance [`CommandsGovernanceConfigResponse!`](/api-documentation/api-reference/api--vibesec/types/objects/commands-governance-config-response.md)                 | Risky shell command governance configuration                                                                                                                                                                                  | isEnabled `Boolean`                                                                                                                                                                                                                                                                                                                                                                                                    |
| dependenciesGovernance [`DependenciesGovernanceConfigResponse!`](/api-documentation/api-reference/api--vibesec/types/objects/dependencies-governance-config-response.md)     | Dependency governance configuration                                                                                                                                                                                           | <p>isEnabled <code>Boolean</code><br>maliciousDependencies <a href="/api-documentation/api-reference/api--vibesec/types/objects/malicious-dependencies-config-response.md"><code>MaliciousDependenciesConfigResponse</code></a><br>minimumVersionAge <a href="/api-documentation/api-reference/api--vibesec/types/objects/minimum-version-age-config-response.md"><code>MinimumVersionAgeConfigResponse</code></a></p> |
| mcpGuard [`McpGuardConfigResponse!`](/api-documentation/api-reference/api--vibesec/types/objects/mcp-guard-config-response.md)                                               | Stdio MCP server guard configuration                                                                                                                                                                                          | isEnabled `Boolean`                                                                                                                                                                                                                                                                                                                                                                                                    |
| oxPresence [`OxPresenceConfigResponse!`](/api-documentation/api-reference/api--vibesec/types/objects/ox-presence-config-response.md)                                         | "Secured by OX" session preamble configuration                                                                                                                                                                                | isEnabled `Boolean`                                                                                                                                                                                                                                                                                                                                                                                                    |
| showGuidelineName [`ShowGuidelineNameConfigResponse!`](/api-documentation/api-reference/api--vibesec/types/objects/show-guideline-name-config-response.md)                   | Guideline-name visibility configuration                                                                                                                                                                                       | isEnabled `Boolean`                                                                                                                                                                                                                                                                                                                                                                                                    |
| externalSaasGovernance [`ExternalSaasGovernanceConfigResponse!`](/api-documentation/api-reference/api--vibesec/types/objects/external-saas-governance-config-response.md)    | External SaaS governance configuration                                                                                                                                                                                        | isEnabled `Boolean`                                                                                                                                                                                                                                                                                                                                                                                                    |
| aiModelGovernance [`AiModelGovernanceConfigResponse!`](/api-documentation/api-reference/api--vibesec/types/objects/ai-model-governance-config-response.md)                   | AI model governance configuration                                                                                                                                                                                             | isEnabled `Boolean`                                                                                                                                                                                                                                                                                                                                                                                                    |
| promptSecretScan [`PromptSecretScanConfigResponse!`](/api-documentation/api-reference/api--vibesec/types/objects/prompt-secret-scan-config-response.md)                      | When enabled, hooks scan each prompt locally, and based on policy, either block those carrying credentials or allow them but alert on Agent Activity Log. Only the secret type and an already-masked value reach the backend. | <p>isEnabled <code>Boolean</code><br>action <a href="/api-documentation/api-reference/api--vibesec/types/enums/prompt-secret-scan-action.md"><code>PromptSecretScanAction</code></a></p>                                                                                                                                                                                                                               |
| sensitiveDataProtection [`SensitiveDataProtectionConfigResponse!`](/api-documentation/api-reference/api--vibesec/types/objects/sensitive-data-protection-config-response.md) | When enabled, only metadata is persisted to Mongo. Commands are reduced to the executable basename, file paths to the basename, and some free-text inputs are replaced with a placeholder before write.                       | isEnabled `Boolean`                                                                                                                                                                                                                                                                                                                                                                                                    |
| skillsGovernance [`SkillsGovernanceConfigResponse!`](/api-documentation/api-reference/api--vibesec/types/objects/skills-governance-config-response.md)                       | Agent skill scanning configuration                                                                                                                                                                                            | isEnabled `Boolean`                                                                                                                                                                                                                                                                                                                                                                                                    |
| blockMaliciousSkills [`BlockMaliciousSkillsConfigResponse!`](/api-documentation/api-reference/api--vibesec/types/objects/block-malicious-skills-config-response.md)          | Malicious skill blocking configuration                                                                                                                                                                                        | isEnabled `Boolean`                                                                                                                                                                                                                                                                                                                                                                                                    |

### References

#### Queries using this object:

* [\<?> getVibeSecPolicy](/api-documentation/api-reference/api--vibesec/queries/get-vibe-sec-policy.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.ox.security/api-documentation/api-reference/api--vibesec/types/objects/vibe-sec-policy-response.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
