Skip to content

Google attestation profile for Gemini Enterprise, Agent Search, Document AI, and Knowledge Catalog #29

Description

@1wgrumph

Migrated from private source issue alphazede/bran-dev#13

Goal

Define a BRAN attestation and policy profile over Google-managed enterprise retrieval products.

Use Google products for the capabilities they already provide:

  • Gemini Enterprise and Agent Search for connectors, retrieval, and enterprise search
  • Document AI for PDF, DOCX, PPTX, XLSX, OCR, layout, and chunk extraction
  • Knowledge Catalog for BigQuery metadata, governance, and lineage

BRAN remains the deterministic policy, attestation, provenance, replay, DLP, public-boundary, and bounded-evidence layer. It must not become a competing connector framework, search engine, document parser, or metadata catalog.

Responsibility boundary

Google-managed products own:

  • provider connectivity and supported synchronization
  • enterprise search and retrieval
  • native document parsing and chunking
  • BigQuery metadata discovery and lineage
  • provider IAM and end-user access enforcement

BRAN owns:

  • offline capability declarations
  • owner-approved source and tenant allowlists
  • exact provider, connector, processor, and policy identities when available
  • opaque account references rather than credentials
  • source/revision/generation/entry evidence and explicit unavailable fields
  • normalized output digests and checkpoint receipts
  • deterministic replay fixtures
  • DLP, classification, public-boundary, byte-budget, and packet-admission decisions
  • typed stale, conflict, permission_unavailable, history_incomplete, quota_exhausted, location_mismatch, and perimeter_denied outcomes

V1 integration surfaces

Gemini Enterprise and Agent Search

  • Accept only explicitly configured data-store, engine, connector, tenant, and source references.
  • Record connector/data-store identity, selected filters, access-control mode, query/result digest, truncation, and any available revision evidence.
  • Treat federated, indexed, and imported results as different capability states.
  • Keep search-only profiles read-only; do not enable Drive or provider actions.
  • Never claim source-revision or permission completeness when the product does not attest it.

Document AI

  • Record processor and processor-version identity, location, input source digest, normalized output digest, page/item limits, and parser limitations.
  • Wrap validated outputs with the evidence envelope defined in Remove MIT license option from LICENSE file #5.
  • Do not execute or follow active content and external relationships.

Knowledge Catalog

  • Use catalog entry identity, asset type, source system, metadata revision evidence, policy tags, and lineage references when available.
  • Keep BigQuery rows and arbitrary SQL out of V1.
  • Do not claim catalog metadata or lineage is a complete authorization proof.

Direct API fallback

Direct Cloud Storage, Drive, BigQuery, or repository APIs are not parallel V1 adapters. A direct read-only adapter requires a separate issue proving that the managed Google product cannot provide a required attestation or evidence field.

Existing BRAN Git and OKF snapshot behavior remains the path for repository and OKF evidence.

Authentication and deployment boundary

  • Provider access is opt-in and disabled in the default local profile.
  • Use Application Default Credentials, attached service accounts, or Workload Identity Federation for approved Google Cloud workloads.
  • Use the narrowest read-only Workspace scope; Drive actions and domain-wide delegation require separate owner/security approval.
  • Never accept, persist, log, or return service-account JSON keys, OAuth refresh tokens, access tokens, cookies, or signed URLs.
  • Preserve project, tenant, location, quota/billing project, and VPC Service Controls context where available.
  • No IAM, sharing, source, index, catalog, or provider-resource mutations.

Acceptance criteria

  • A design document defines the Google attestation profile and responsibility matrix.
  • A deterministic source-attestation/checkpoint schema references the evidence envelope from Remove MIT license option from LICENSE file #5.
  • A capability matrix distinguishes Gemini Enterprise, Agent Search, Document AI, Knowledge Catalog, existing BRAN Git/OKF support, and unavailable evidence.
  • Synthetic fixtures cover each managed integration plus partial permissions, incomplete revisions, truncation, stale/conflicting checkpoints, DLP rejection, quota failure, location mismatch, and network-disabled behavior.
  • Same attested provider output and BRAN policy produce the same normalized evidence digest.
  • Default capability discovery and tests perform no provider or network calls.
  • Negative tests prove cross-tenant/source escape, secret reflection, unauthorized action requests, unsupported completeness claims, and mixed-revision snapshots fail closed.
  • BRAN packets preserve native locator, exact attested identity, derivation path, permission-evidence status, fidelity, and truncation.
  • Dependency, license, OAuth/IAM, retention, cost, and public-boundary review is required only before a concrete live adapter is selected.

Non-goals

  • Reimplementing Gemini Enterprise or Agent Search connectors/search.
  • Reimplementing Document AI parsing.
  • Reimplementing Knowledge Catalog metadata or lineage.
  • Building direct GCS, BigQuery, Drive, or repository connector suites in V1.
  • Mirroring customer estates, querying arbitrary BigQuery rows, or becoming a general cloud browser.
  • Enabling provider actions, changing IAM/sharing, or combining customer security domains.
  • Live Google integration without a separately approved project, identity, budget, and adapter issue.

Implementation gate

Implementation starts only after the owner selects one concrete GCP MVP integration and approves its dependency, scope, IAM/OAuth, cost, retention, and security boundary. The recommended first proof is an attested Cloud Storage object generation or Document AI output, not a general connector platform.

Related work

References

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions