Skip to main content
Version: 1.0.0-beta

Database & Storage Connectors

Connectors enable AIIA to securely ingest audit data, financial transactions, user access logs, and controls evidence from your enterprise databases, object storage systems, and third-party APIs.

Once established, these connectors serve as the data backbone for continuous auditing, automated KRI (Key Risk Indicator) monitoring, and PBC (Provided By Client) collection pipelines.


Connector Types

AIIA supports three primary categories of integration connectors:

Connector TypeProtocol/PlatformTypical Use Cases
Database ConnectorsPostgreSQL, Oracle EBS, SQL Server, SAP HANAContinuous transaction monitoring, access reviews, system logs
Object Storage ConnectorsAmazon S3, MinIO, Oracle Object StorageBulk evidence collection, document sampling, backup exports
API & Webhook ConnectorsREST API, OAuth 2.0, WebhooksGRC platform sync, ServiceNow tickets, Active Directory access logs

Configuration Reference

When creating or modifying a connector via the Admin → Connectors interface, you will configure the following fields depending on the connector type:

1. Common Settings

  • Connector Name: A unique, descriptive name for the integration (e.g., SAP ERP Production DB).
  • Schedule: A standard 5-field CRON expression (e.g., 0 0 * * * for daily at midnight) specifying when data sync jobs should run.

    [!TIP] scheduleHint: Leave the schedule field blank for manual execution only.

2. Database Connectivity Fields

FieldRequirementDescription
HostRequiredThe hostname or IP address of the target database server.
PortRequiredThe communication port (e.g., 5432 for PostgreSQL, 1521 for Oracle).
Database NameRequiredThe name of the specific database instance to query.
UsernameRequiredDatabase user account with read-only access.
PasswordRequiredThe password associated with the connection account (encrypted at rest).

3. Object Storage Connectivity Fields

FieldRequirementDescription
S3 Endpoint URLRequiredThe target storage API endpoint URL (e.g., https://s3.me-central-1.amazonaws.com or custom MinIO endpoint).
Bucket NameRequiredThe name of the S3 bucket where evidence file blobs are stored.
API Key / Access KeyRequiredThe AWS Access Key ID used for authentication.
Secret KeyRequiredThe AWS Secret Access Key (encrypted at rest).

4. API & Webhook Connectivity Fields

FieldRequirementDescription
Base URLRequiredThe base REST API endpoint URL (e.g., https://api.servicenow.com/api/v1).
Authorization Header ValueOptionalCustom authorization header value (e.g., Bearer token-value).
API KeyOptionalRaw API key parameter for simple key-based APIs.

Establishing a New Connector

Follow these steps to configure a connector:

  1. Access Settings: Navigate to Admin → Connectors in the dashboard.
  2. Launch Wizard: Click the Establish Connector (create) button.
  3. Specify Details: Choose your target connector type and fill in the connectivity fields detailed in the reference tables above.
  4. Configure Schedule: Set an optional CRON pattern or leave it blank to execute manually.
  5. Test Connectivity: Click the Test Connection button. This will trigger a live ping to the endpoint and validate the credentials.
  6. Save Changes: If the test succeeds, click Apply Updates (update) to register the connector.

Connector Statuses & Monitoring

All connector runs are monitored in real time. Each job run emits AuditLogEvent structures and updates the connector's current execution state:

Status BadgeArabic LabelDescription
ActiveنشطThe connector is configured correctly and ready for execution.
Runningجاري التشغيلA scheduled or manual data synchronization job is currently in progress.
CompletedمكتملThe last sync completed successfully; all retrieved data was indexed.
Pendingقيد الانتظارA scheduled job is waiting for worker allocation in the queue.
Inactiveغير نشطThe connector schedule is paused or disabled.
ErrorخطأConnection settings are valid, but runtime errors occurred during sync (e.g., query timeout).
FailedفشلThe connector failed to authenticate or connect (e.g., invalid credentials/port blocked).
CancelledملغيThe running sync job was manually aborted by an administrator.

Security & Access Governance

[!WARNING] Credentials configured for database and storage connectors must adhere to the principle of least privilege. Always use dedicated, read-only system integration accounts.

  • Encryption at Rest: All credentials, access keys, and passwords configured in the connectors are encrypted at rest using AES-256-GCM via the SECRET_ENCRYPTION_KEY environment variable.
  • Role-Based Access Control (RBAC): Creating, updating, or deleting connectors is restricted to users with the Admin role. Audit clients and standard auditors have read-only or no visibility into these connections.
  • Audit Trails: Every creation, configuration update, delete action, connection test, or synchronization run is logged as an immutable AuditLogEvent under the admin audit trail.