{
  "name": "audit-log",
  "kind": "block",
  "primary": "card-ui",
  "page": "/apps/saas/app/admin-dashboard/admin-dashboard.contents.html",
  "slots": [],
  "nested": [],
  "attrs": {},
  "html": "<card-ui>\n  <header>\n    <h3>Audit log</h3>\n    <p slot=\"description\">Recent admin and user actions in this workspace.</p>\n    <span slot=\"action\">\n      <button-ui text=\"Export\" variant=\"ghost\" size=\"sm\" icon=\"download\"></button-ui>\n    </span>\n  </header>\n  <section bleed>\n    <table-ui sortable striped\n      data='[{\"user\":\"Alex Chen\",\"action\":\"Deployed\",\"resource\":\"v2.14.0\",\"ip\":\"203.0.113.1\",\"timestamp\":\"2m ago\"},{\"user\":\"Sarah Miller\",\"action\":\"Invited\",\"resource\":\"james@acme.com\",\"ip\":\"198.51.100.4\",\"timestamp\":\"18m ago\"},{\"user\":\"James Park\",\"action\":\"API key created\",\"resource\":\"ci-pipeline\",\"ip\":\"192.0.2.8\",\"timestamp\":\"1h ago\"},{\"user\":\"Maria Lopez\",\"action\":\"Role changed\",\"resource\":\"viewer → admin\",\"ip\":\"203.0.113.9\",\"timestamp\":\"3h ago\"}]'>\n      <col-def key=\"user\" label=\"User\"></col-def>\n      <col-def key=\"action\" label=\"Action\"></col-def>\n      <col-def key=\"resource\" label=\"Resource\"></col-def>\n      <col-def key=\"ip\" label=\"IP Address\"></col-def>\n      <col-def key=\"timestamp\" label=\"Time\"></col-def>\n    </table-ui>\n  </section>\n  <footer>\n    <button-ui text=\"View full log\" variant=\"ghost\" stretch></button-ui>\n  </footer>\n</card-ui>",
  "source": "apps/saas/app/admin-dashboard/admin-dashboard.contents.html",
  "metadata": {
    "domain": "data",
    "description": "Audit log table with user, action, resource, IP address, and timestamp columns.",
    "keywords": [
      "audit",
      "log",
      "table",
      "user",
      "action",
      "resource",
      "IP",
      "address",
      "timestamp",
      "columns",
      "audit-log",
      "security",
      "compliance",
      "history"
    ]
  },
  "captured_at": "2026-06-07T19:28:13.657Z",
  "template": [
    {
      "id": "text",
      "component": "Text",
      "variant": "heading",
      "textContent": "Audit log"
    },
    {
      "id": "text-2",
      "component": "Text",
      "variant": "body",
      "slot": "description",
      "textContent": "Recent admin and user actions in this workspace."
    },
    {
      "id": "button",
      "component": "Button",
      "icon": "download",
      "size": "sm",
      "text": "Export",
      "variant": "ghost"
    },
    {
      "id": "text-3",
      "component": "Text",
      "variant": "body",
      "slot": "action",
      "children": [
        "button"
      ]
    },
    {
      "id": "header",
      "component": "Header",
      "children": [
        "text",
        "text-2",
        "text-3"
      ]
    },
    {
      "id": "col-def",
      "component": "ColDef"
    },
    {
      "id": "col-def-2",
      "component": "ColDef"
    },
    {
      "id": "col-def-3",
      "component": "ColDef"
    },
    {
      "id": "col-def-4",
      "component": "ColDef"
    },
    {
      "id": "col-def-5",
      "component": "ColDef"
    },
    {
      "id": "table",
      "component": "Table",
      "data": "[{\"user\":\"Alex Chen\",\"action\":\"Deployed\",\"resource\":\"v2.14.0\",\"ip\":\"203.0.113.1\",\"timestamp\":\"2m ago\"},{\"user\":\"Sarah Miller\",\"action\":\"Invited\",\"resource\":\"james@acme.com\",\"ip\":\"198.51.100.4\",\"timestamp\":\"18m ago\"},{\"user\":\"James Park\",\"action\":\"API key created\",\"resource\":\"ci-pipeline\",\"ip\":\"192.0.2.8\",\"timestamp\":\"1h ago\"},{\"user\":\"Maria Lopez\",\"action\":\"Role changed\",\"resource\":\"viewer → admin\",\"ip\":\"203.0.113.9\",\"timestamp\":\"3h ago\"}]",
      "sortable": true,
      "striped": true,
      "children": [
        "col-def",
        "col-def-2",
        "col-def-3",
        "col-def-4",
        "col-def-5"
      ]
    },
    {
      "id": "section",
      "component": "Section",
      "bleed": true,
      "children": [
        "column"
      ]
    },
    {
      "id": "button-2",
      "component": "Button",
      "stretch": true,
      "text": "View full log",
      "variant": "ghost"
    },
    {
      "id": "footer",
      "component": "Footer",
      "children": [
        "button-2"
      ]
    },
    {
      "id": "column",
      "component": "Column",
      "children": [
        "table"
      ]
    },
    {
      "id": "root",
      "component": "Card",
      "children": [
        "header",
        "section",
        "footer"
      ]
    }
  ]
}
