Compliance Evidence Export
Pull a dated, defensible JSON evidence pack for your AI agent governance - inventory, permissions, activity trail, and a log retention attestation, with every section mapped to the EU AI Act, NIS2, and Polish KSC and AI act articles it evidences.
When a regulator, auditor, or enterprise customer asks "show me your AI agent governance", the answer should not be a screenshot tour. The compliance evidence export produces one dated JSON document - the evidence pack - that captures what agents run in your tenant, what they are allowed to touch, what they actually did, and how long the activity trail is retained.
The pack is built for the regulations EU organizations are answering to today:
- EU AI Act, Article 26 (deployer duties, applicable December 2, 2027 but already requested in procurement): an inventory of the AI systems in use and the oversight arrangements around them, including Article 26(6) log retention of at least six months under the deployer's control.
- EU AI Act, Article 50 (transparency, in force since August 2, 2026): which agents interact with people, and what disclosure state you can attest for each - name, publisher, whether its instructions are captured.
- NIS2 and the Polish KSC act (as amended, in force since April 3, 2026): supply chain evidence - third-party apps and agents with access, their permission grants, and the activity trail behind them.
- The Polish AI act (Dz.U. 2026 poz. 1003): the same inventory and oversight evidence; section labels and framework names are included in Polish alongside English.
Getting the pack
From the dashboard: open Agents and choose Compliance evidence.
The pack is generated on the spot and downloads as a JSON file named
1security-agent-evidence-<date>.json. Generating and downloading it is
admin-only. The pack is always one document per tenant - in a combined
multi-tenant dashboard ("All tenants"), switch to the member tenant first and
generate a pack for each member you need to evidence.
From the API: auditors and GRC tooling can pull the identical document without dashboard access:
curl -H "Authorization: Bearer $ONESEC_API_KEY" \
"https://api.1security.ai/api/v1/evidence/agents"Requires a key with the evidence:read scope - see the
API reference for keys, authentication, and rate
limits. Optional from and to query parameters (ISO-8601) bound the covered
activity period; the default window is the trailing 183 days. An optional
framework parameter (a registry key such as dora) scopes the legend and
sections to one framework. The response is { "data": <pack> } with no
pagination - the pack is one document. Its power_platform_ai section stops
at 10,000 rows;
GET /evidence/power-platform
returns the same rows without the cap, paged with the standard cursor.
Both paths produce the same document, so the pack an auditor pulls through the API matches the one your admin downloaded byte for byte.
What is in the pack
{
"packType": "1security.agent_evidence_pack",
"version": "1.12.0",
"metadata": {
"tenantId": "01H…",
"tenantName": "Contoso",
"azureTenantId": "…",
"generatedAt": "2026-09-02T09:15:00.000Z",
"generatedBy": "admin@contoso.com",
"coveredFrom": "2026-03-03T09:15:00.000Z",
"coveredTo": "2026-09-02T09:15:00.000Z",
"retention": { "...": "see Retention attestation below" }
},
"frameworks": [
{ "id": "EU-AI-Act-26(6)", "name": "…", "namePl": "…", "reference": "…" }
],
"sections": [
{
"key": "inventory",
"label": "AI agent inventory",
"labelPl": "Inwentarz agentów AI",
"frameworks": [
"EU-AI-Act-26",
"PL-AI-Act",
"ISO42001-A.3",
"KSC-access-control"
],
"rowCount": 42,
"truncated": false,
"rows": ["…"]
}
],
"powerPlatformCoverage": { "...": "see Power Apps and flows below" }
}Four parts:
metadata- who generated the pack, when, for which tenant, the covered period, and the retention attestation.frameworks- the legend: every framework id used anywhere in the pack, with its full name in English and Polish and the legal reference. The list is open by design and already spans the EU AI Act, NIS2, GDPR, the Polish KSC and AI systems acts, DORA, ISO/IEC 42001, ISO/IEC 27001, SOC 2, NIST CSF 2.0 and HIPAA - a future framework arrives as new legend entries and new ids on sections, never as a format change.sections- the evidence itself. Every section carries aframeworksarray naming exactly which articles it evidences, so an auditor can walk from an article to the data that answers it without interpreting anything.powerPlatformCoverage- what the Power Platform sections could read: the Inventory reader's scope, whether a write connection exists, and each family's state and last successful read (see Power Apps and flows below).
Sections and what each one evidences
| Section | What it contains | Evidences |
|---|---|---|
inventory | Every discovered agent: name, blueprint, publisher, how it runs, who created it and in which tool, access channels, permission counts, whether instructions are captured, and its accountable person - native Microsoft owner/sponsor or a 1Security assignment, provenance kept | EU-AI-Act-26, PL-AI-Act, ISO42001-A.3, ISO27001-A.5.9, DORA-8(1), KSC-access-control |
permissions | Atomic permission grants per agent - value, kind, source (direct, inherited, declared), admin consent, tenant-wide reach, write access | NIS2-21(2)(d), DORA-28, DORA-9(4)(c), KSC-access-control |
activity_summary | Per-agent activity rollup for the covered period: event count, distinct human actors, first and last event | EU-AI-Act-26(5), EU-AI-Act-26(6), NIS2-21(2)(b), ISO42001-A.6.2.8, KSC-incident-detection |
lifecycle_events | Agent lifecycle audit events in the covered period: create, update, publish, deploy, undeploy, block, unblock | EU-AI-Act-26, NIS2-21(2)(i), KSC-access-control |
threat_events | AI threat detections in the covered period - prompt injection detections surfaced from per-interaction threat flags | EU-AI-Act-26(5), NIS2-21(2)(b), DORA-10, ISO42001-A.6, ISO42001-A.6.2.6, KSC-incident-detection |
instruction_changes | Instruction drift events: each time an agent's captured system prompt changed between imports | EU-AI-Act-26(1), EU-AI-Act-50, PL-AI-Act-transparency, ISO42001-A.6 |
store_shelf | Agents available for any user to install but not deployed - the "one click from live" state, from the registry export | EU-AI-Act-26(1), NIS2-21(2)(d) |
third_party_apps | Applications with granted access: publisher, verification, permission and per-resource grant counts, tenant-wide reach, admin consent, AI classification | NIS2-21(2)(d), NIS2-21(3), GDPR-28, DORA-28, ISO42001-A.10, ISO27001-A.5.19, KSC-access-control |
ai_app_reach | Every AI-classified application (Copilot-family, own-model, hybrid) with its current data reach: files, sensitive and labeled subsets, reachable data types, users including external, plus accountability provenance | NIS2-21(2)(d), GDPR-28, GDPR-32, DORA-28, ISO42001-A.7, ISO42001-A.10, KSC-access-control |
ai_policy_scans | Policy scan snapshots whose subject is an AI resource (app, agent, Power App or flow) in the covered period | EU-AI-Act-26(5), NIS2-21(2)(b), DORA-10, ISO42001-A.6, KSC-incident-detection |
ai_detections | Detection episodes on AI resources (apps, agents, Power Apps and flows) in the covered period, each entity judged against its own baseline | EU-AI-Act-26(5), NIS2-21(2)(b), DORA-10, ISO42001-A.6, KSC-incident-detection |
data_restrictions | Sensitive data types declared restricted (monitored / no AI access / no access): who declared them, since when, current exposure (files, users, apps, AI agents), how much of the carrying data a protecting label already covers, and who actually read carriers since the declaration - including external users and AI | GDPR-5(1)(f), GDPR-32, DORA-9, ISO42001-A.7, ISO27001-A.8.3, KSC-access-control, KSC-8(1)(5)(a) |
restriction_history | The declare/modify/lift trail behind each restriction in the covered period, with the exposure snapshot taken at each event | GDPR-32, DORA-9, ISO42001-A.7 |
fria_systems | FRIA pre-fill (Art. 27): one row per agent with its purpose from captured instructions, oversight source, users and files reach, knowledge sources, sensitive and restricted types reachable, and incidents in the period | EU-AI-Act-27, EU-AI-Act-26(9), GDPR-35(1) |
fria_summary | FRIA pre-fill (Art. 27): organization-level answers - oversight coverage, restriction counts by level, active AI detectors, incident totals, retention target; Power Apps and flows that use AI by signal kind, shared with everyone and owner left (not counted as AI systems) | EU-AI-Act-27, EU-AI-Act-26(9), GDPR-35(1) |
remediation | Remediation actions in the covered period, across both trails: the staged ledger with approval rungs and time-to-remediate, plus legacy automation executions | EU-AI-Act-26(5), NIS2-21(2)(b), GDPR-32, DORA-11(2) |
power_platform_ai | Power Apps and flows where AI use is seen - evidence of AI use, never counted AI systems - riskiest first: identity, dates, accountability, AI signals, reach, quarantine, read freshness and unknownReason | EU-AI-Act-26, EU-AI-Act-27, PL-AI-Act, ISO42001-A.3, ISO42001-A.10, KSC-access-control |
power_platform_environments | One tenant row with the four tenant-wide flags (three Copilot flags and agent publishing with AI features), then every Power Platform environment with Dataverse, its four Generative AI switches, their read age and the "Audit off?" hint | EU-AI-Act-26, EU-AI-Act-4, ISO42001-A.3 |
power_platform_summary | One row: true totals by kind, AI use seen / not seen / unknown, AI use per signal kind, whether power_platform_ai is truncated, and the coverage block | EU-AI-Act-26, EU-AI-Act-27, PL-AI-Act, ISO42001-A.3, ISO42001-A.10, KSC-access-control |
power_platform_events | Power Apps, flow, connection and environment audit events in the covered period, each with what it changed (app launches and 1Security's own traffic left out) | EU-AI-Act-26, NIS2-21(2)(i), KSC-access-control |
Every section reports rowCount and truncated. Sections are capped (2,000
rows for most, 10,000 for permissions and power_platform_ai) so the pack stays a document rather
than a database dump; truncated: true tells the reader the cap was hit, and
narrowing the covered period with from/to brings the rest into view.
Power Apps and flows
Power Apps and Power Automate flows are in the pack as evidence of AI use,
never as counted AI systems: compliance statuses, fria_systems and the
agent counts stay agent-only.
power_platform_ailists only the Power Apps and flows where AI use is seen: an AI signal seen now, or one that stopped being seen inside the covered period (itsclearedAtis set). An item that left the Inventory during the period stays listed withinventoryMissingSinceset; one that left before the period does not. A row carries identity (id,microsoftId, name,resourceTypepowerApporflow, kind, environment), dates (createdAt,modifiedAt,firstSeenInInventory), accountability (a Power App's owner,ownerLeftandcoOwnerCount; a flow's creator,creatorLeft,ownersandownersStatus;assignedOwnerNamesfor both),aiUseandaiSignals(kind, operation, which read saw it, first and last seen, cleared), reach (a Power App'ssharingScope, user and group counts andbypassConsent; a flow'sstate; external, premium and custom connector counts andconnectorIdsfor both),isQuarantinedfor Power Apps, and read freshness (inventoryReadAt,enrichmentReadAt,unknownReason). Keys that do not apply to a type are absent. Who an app is shared with and its connection references are not included.- Rows are sorted riskiest first: shared with everyone, then an owner who left
(a Power App) or all owners left (a flow), then generative AI (Azure OpenAI,
AI Builder prompts, Copilot Studio) before predictive AI Builder models,
then most recently modified. The section holds at most 10,000 rows;
truncated: trueand the summary say when there are more, andGET /evidence/power-platformpages through all of them. power_platform_summarycounts every Power App and flow the Inventory lists, not only the AI-using ones. "Not seen" is not "no AI": a raw HTTP call to a model or a custom connector leaves no trace we can read.power_platform_environmentsgives each setting asenabled,disabledorunknownwith the age of its read. Settings Microsoft offers no read path for are listed under Settings we can't read.power_platform_eventsholds the period'spowerapp.*,flow.*,ppconnection.*andppenvironment.*events, newest first, capped at 2,000.
Unknown is explicit
Facts only the Power Platform write connection reads - sharing, bypass
consent, a flow's state and owners, environment and tenant settings - are
enums that include "unknown". They never fold into false, 0 or "not
shared", and a count or list that depends on an unknown value is null.
A row with anything unknown carries unknownReason:
unknownReason | Meaning |
|---|---|
no_write_connection | The tenant has no Power Platform write connection, so nothing reads these facts. |
enrichment_error | The route that reads them is failing. While the flow route fails, every flow's state and owners read unknown, even ones read earlier. |
not_observable | Microsoft offers no route for this item or setting: sharing of model-driven and App Builder apps, a flow the admin route does not return, or a switch missing from Microsoft's answer. |
ai_only_reader | The Inventory reader holds only an AI role, so the current read does not cover this kind of item. |
not_read_yet | Connected and healthy, but enrichment has not reached the item yet. |
The top-level powerPlatformCoverage block, repeated in the summary row,
gives the reader scope (full, aiOnly, none or unknown), whether a
write connection exists, each Inventory family's source, uncovered kinds and
last successful read, and each enrichment family's state (enriched,
notConnected, error or notEnrichedYet), last successful read and
error start.
Retention attestation
Article 26(6) of the EU AI Act requires deployers to keep automatically generated logs for at least six months. The pack does not assert a policy - it measures the actual state:
"retention": {
"frameworks": ["EU-AI-Act-26(6)", "PL-AI-Act-logs", "KSC-10", "ISO42001-A.6.2.8", "ISO27001-A.8.15"],
"retentionTargetDays": 183,
"retentionTargetMet": true,
"logHistoryDays": 412,
"oldestLogAt": "2025-07-18T06:02:11.000Z",
"newestLogAt": "2026-09-02T09:14:48.000Z",
"tenantConnectedAt": "2025-07-17T14:30:00.000Z"
}retentionTargetMet is true when the oldest retained activity log row is at
least 183 days old. A tenant connected to 1Security more recently than 183
days ago will report retentionTargetMet: false even though nothing was
deleted - tenantConnectedAt is included precisely so the reader can tell a
short history apart from a retention gap.
The pack is evidence output, not legal advice. It shows what runs, what it can reach, and what it did - your compliance team maps that onto your own obligations and risk classification.
Stability
The pack is a stable contract, like the rest of the public API: fields may be
added over time, existing fields are not removed or renamed without notice,
and version in the pack identifies the generator that produced it. Store the
downloaded packs as-is - a dated series of packs is itself evidence of ongoing
oversight.
Next
MCP Server
Connect Claude, ChatGPT, Codex, Microsoft 365 Copilot and other AI assistants to 1Security over the Model Context Protocol - sign in with OAuth or use an API key, read-only.
Today
The first screen after sign-in - what deserves your attention on this tenant today, ranked by risk and urgency, with a five-minute band you can clear before your first coffee.