Security

Ten layers between a question and your data

Defense in depth from physical hardware through identity-based access and continuous endpoint health monitoring. Each layer addresses different threat classes — no single layer carries the full burden.

Security Video

DEFENSE IN DEPTH

Ten layers, zero gaps

AskERP security is layered across ten tiers, from physical infrastructure through identity-based access and continuous operational health monitoring. A Cisco Meraki MX is deployed during provisioning for secure setup and serves as ongoing proof that zero outbound AI traffic leaves the building. After deployment, the system operates air-gapped — no internet connection required. Our compliance suite handles application, AI governance, financial compliance, data, audit, identity, and endpoint health. Together they cover the full stack.

Physical isolation
Your data never leaves your building

Network perimeter
Network security with intrusion detection

Transport security
TLS-only, path-based routing

Application security
OWASP API Security Top 10 (2023)

23 automated tests aligned to the OWASP API Security Top 10. This validates SQL injection defense across multiple attack vectors, business unit authorization isolation, input validation and sanitization, resource consumption limits, SSRF prevention, CORS policy enforcement, stack trace suppression, and endpoint inventory management.

Every user input passes through regex validation and parameterized queries with bind variables before it reaches a database call. No string concatenation. No dynamic SQL.

AI governance
NIST AI Risk Management Framework

17 automated tests aligned to the NIST AI Risk Management Framework across all four functions — Govern, Map, Measure, and Manage. This verifies that every question maps to exactly one approved endpoint, that the AI has no open-ended access to the database, that financial data and general knowledge responses are completely isolated through separate execution paths, and that every AI response is deterministic and reproducible.

Financial compliance
SOX, SOC 2, and GDPR — 53 automated tests

53 automated tests across three financial and privacy compliance frameworks. SOX Section 404 (COSO Framework) validates read-only enforcement, segregation of duties, parameterized queries, and result integrity hashing — 17 tests. SOC 2 Type II (Trust Services Criteria) validates access controls, availability monitoring, processing integrity, confidentiality, and privacy — 20 tests. GDPR/Data Privacy validates data residency, data minimization, purpose limitation, transparency, and security of processing — 16 tests.

Data governance
Oracle governed views, read-only, isolated

All queries execute against governed Oracle views — read-only, purpose-built for each reporting function. No INSERT, UPDATE, or DELETE operations are possible through the governed path. Business unit isolation is enforced through an access control table checked on every request. Each business unit sees only its own data.

Audit trail
Full traceability from question to answer

Every query generates an audit record: the original question, the exact SQL executed, a SHA-256 hash of the result set, a timestamp, and the model version. An independent party can take any AskERP response, recompute the hash from the underlying data, and verify it matches the audit record. Full chain of custody, every query, every time.

Identity & access control
User-level business unit security

Every user is authenticated by email identity flowing from the chat interface through the API layer to the database. Access is controlled at the user + module + business unit level through a governance table (USER_MODULE_ACCESS). A PeopleSoft security sync script maps 30 PeopleSoft roles to AskERP module grants. Users see only the business units and modules they're authorized for. The identity layer includes an in-memory cache, admin endpoints for grant management, and a dry-run mode for the sync process.

Endpoint health monitoring
Continuous operational validation

Every governed endpoint is automatically tested for availability, data integrity, schema correctness, and response time — nightly. A monthly comprehensive report covers all 70+ endpoints across all modules with row count thresholds, result hashing for drift detection, and cross-endpoint consistency checks. Failures trigger immediate alerts. Monthly reports go to the compliance binder alongside the security test results.

COMPLIANCE TESTING

103 automated tests, six standards

AskERP ships with an automated compliance test suite that generates a self-contained HTML report. Printable, email-ready, designed for CIO and security team review. Tests run nightly at 2:00 AM. The report covers six compliance frameworks:

OWASP API Security Top 10 (2023)

23 tests covering SQL injection, authorization isolation, input validation, resource limits, SSRF prevention, CORS, stack trace leakage, and endpoint inventory.

NIST AI Risk Management Framework

17 tests across all four RMF functions — Govern, Map, Measure, Manage. Validates governed endpoints, three-path isolation, result determinism, and AI traceability.

SOX Section 404
(17 tests)

17 tests validating read-only enforcement, segregation of duties, parameterized queries, result integrity hashing, and internal control monitoring across all five COSO components.

SOC 2 Type II
(20 tests)

20 tests across all five trust criteria — Security, Availability, Processing Integrity, Confidentiality, and Privacy. Validates access controls, health monitoring, deterministic processing, data isolation, and PII protection.

GDPR/Data Privacy
(16 tests)

16 tests aligned to Article 5 principles. Validates data residency (on-premises only), data minimization, purpose limitation, transparency, security of processing, and accountability.

Audit Trail Validation

10 tests verifying the end-to-end audit chain — prompt capture, SQL logging, SHA-256 result hashing, timestamp ordering, concurrent safety, and PII exclusion.

TRACEABILITY

Reviewable from question to verified answer

Every interaction produces a complete audit chain. Your security team can trace any answer back to the exact query, the exact data, and the exact moment it was generated.

01 Question

User asks in plain language. The question is captured in the audit log.

02 Classification

Intent classifier maps the question to one governed endpoint. No open-ended interpretation.

03 Governed Query

The endpoint executes a parameterized query against a read-only Oracle view. The SQL is logged.

04 Verified Response

Results are formatted for business use. A SHA-256 hash of the result set is computed and stored.

05 Audit Record

Question, SQL, result hash, timestamp, model version — all recorded. Independently verifiable.

DATA ISOLATION

Three paths that never cross

AskERP maintains strict separation between governed financial data, PeopleBooks documentation, and general knowledge. These are three completely different execution paths. They never mix.

Path 1 — Governed Financial Data

User question → Intent classification → Approved service endpoint → Oracle governed view → Structured response with executive summary. Every step is audited. Data comes from live ERP, not the AI model.

Path 2 — PEOPLEBOOKS RAG

PeopleSoft documentation questions — answered through semantic search over locally-stored PeopleBooks PDFs using ChromaDB vector database. Source citations included with every answer. The PDFs, embeddings, and search index all run locally. No external API calls. Clearly labeled as documentation, never mixed with financial data.

Path 3 — General Knowledge

Industry benchmarks, best practices, and regulatory context — answered from the local AI model’s training data only. Clearly labeled. Never mixed with financial data. Never sent to a cloud API.

The key point: Your financial data is never used to answer documentation or general questions. PeopleBooks answers come from locally-stored documentation with source citations. General knowledge comes from the AI model’s training data. These three paths never cross.

Review the security architecture with your team

Walk through the seven-layer security model, the automated compliance report, and the full audit trail with your CIO and security team.