UiPath Documentation
uipath-cli
latest
false
UiPath-CLI-Benutzerhandbuch
Wichtig :
Dieser Inhalt wurde maschinell übersetzt. Es kann 1–2 Wochen dauern, bis die Lokalisierung neu veröffentlichter Inhalte verfügbar ist.

Governance-Compliance-Pakete

Syntax und Optionen zum Durchsuchen des Compliance-Pack-Katalogs und zum Verwalten des Status der Paketbereitstellung pro Mandant mithilfe von „uip Gov Compliance-Packs Katalog“ und „Uip Gov Compliance-Packs State“.

uip gov compliance-packs verwaltet Compliance-Pakete – Pakete vorgefertigter AOps-Richtlinien, die den Klauseln eines benannten Compliance-Frameworks (z. B. ISO 42001) zugeordnet sind und für einen Mandanten in einem Aufruf aktiviert werden, anstatt jede Richtlinie manuell zu erstellen. Zwei Unterbefehlsgruppen: catalog (Durchsuchen des statischen, schreibgeschützten Paketkatalogs) und state (Bereitstellung pro Mandant/Organisationspaket verwalten). Die Übersicht über das übergeordnete Tool finden Sie unter uip gov.

Hinweis:

Typischer Ablauf: catalog list zum Erkennen von Paketen → state enable tenant <target-id> <pack-id> zum Bereitstellen → state get tenant <target-id> <pack-id> zum Überprüfen.

Zusammenfassung​

uip gov compliance-packs catalog list
uip gov compliance-packs catalog get <pack-id>

uip gov compliance-packs state list <scope> <target-id>
uip gov compliance-packs state get <scope> <target-id> <pack-id>
uip gov compliance-packs state enable <scope> <target-id> <pack-id>
uip gov compliance-packs state disable <scope> <target-id> <pack-id>
uip gov compliance-packs state restore <scope> <target-id> <pack-id>
uip gov compliance-packs state coverage <scope> <target-id> <pack-id>
uip gov compliance-packs catalog list
uip gov compliance-packs catalog get <pack-id>

uip gov compliance-packs state list <scope> <target-id>
uip gov compliance-packs state get <scope> <target-id> <pack-id>
uip gov compliance-packs state enable <scope> <target-id> <pack-id>
uip gov compliance-packs state disable <scope> <target-id> <pack-id>
uip gov compliance-packs state restore <scope> <target-id> <pack-id>
uip gov compliance-packs state coverage <scope> <target-id> <pack-id>

<scope> ist tenant oder organization bei jedem state -Verb – tenant ist heute die routinemäßig verwendete Stufe. <target-id> ist die Mandanten-UUID (scope=tenant) oder Organisations-ID (scope=organization). Jedes Verb akzeptiert auch --login-validity <minutes>.

UIP Gov Compliance-Packs-Katalog​

Durchsuchen Sie den Katalog für statische Compliance-Pakete. Schreibgeschützt.

UIP Gov Compliance-Packs-Katalogliste​

Listen Sie jedes Paket, das in den Governance-Dienst geladen wird, mit einer Zusammenfassung auf.

Beispiel​
uip gov compliance-packs catalog list
uip gov compliance-packs catalog list
Datenform (--output json)​
{
  "Code": "CompliancePacksCatalogList",
  "Data": {
    "packs": [
      {
        "packId": "iso-42001-2023",
        "packName": "ISO 42001",
        "packLongName": "ISO/IEC 42001:2023 — AI Management System",
        "packVersion": "3.0.0",
        "description": "ISO/IEC 42001:2023 AI Management System pack.",
        "publishedAt": "2026-05-14T00:00:00Z",
        "summary": { "clauseCount": 14, "controlCount": 81, "deploymentPolicyCount": 7 }
      }
    ]
  }
}
{
  "Code": "CompliancePacksCatalogList",
  "Data": {
    "packs": [
      {
        "packId": "iso-42001-2023",
        "packName": "ISO 42001",
        "packLongName": "ISO/IEC 42001:2023 — AI Management System",
        "packVersion": "3.0.0",
        "description": "ISO/IEC 42001:2023 AI Management System pack.",
        "publishedAt": "2026-05-14T00:00:00Z",
        "summary": { "clauseCount": 14, "controlCount": 81, "deploymentPolicyCount": 7 }
      }
    ]
  }
}

Verwenden Sie packId mit catalog get, state enable oder state disable.

Abrufen des Katalogs an UIP Gov Compliance-Packs​

Vollständige Katalogdetails: Paketheader, Anzahl der Zusammenfassungen, Bereitstellungsrichtlinien und die vollständige Klauselstruktur (Klauseln → Leitende Richtlinien → Steuerelemente). Gibt 404 für ein unbekanntes packId zurück.

Argumente​
NameErforderlichZweck
<pack-id>jaPaketbezeichner (z. B iso-42001-2023) – von catalog list.
Beispiel​
uip gov compliance-packs catalog get iso-42001-2023
uip gov compliance-packs catalog get iso-42001-2023
Datenform (--output json)​
{
  "Code": "CompliancePacksCatalogGet",
  "Data": {
    "packId": "iso-42001-2023",
    "packName": "ISO 42001",
    "packVersion": "3.0.0",
    "summary": { "clauseCount": 14, "controlCount": 81, "deploymentPolicyCount": 7 },
    "deploymentPolicies": [{ "productIdentifier": "AITrustLayer", "productDisplayName": "AI Trust Layer", "policyName": "iso-42001-2023-ai-trust-layer", "policyFile": "policies/ai-trust-layer.json" }],
    "clauses": [{ "clauseId": "6.1.4", "clauseName": "AI system impact assessment", "productCount": 1, "controlCount": 3, "editorialPolicies": [] }]
  }
}
{
  "Code": "CompliancePacksCatalogGet",
  "Data": {
    "packId": "iso-42001-2023",
    "packName": "ISO 42001",
    "packVersion": "3.0.0",
    "summary": { "clauseCount": 14, "controlCount": 81, "deploymentPolicyCount": 7 },
    "deploymentPolicies": [{ "productIdentifier": "AITrustLayer", "productDisplayName": "AI Trust Layer", "policyName": "iso-42001-2023-ai-trust-layer", "policyFile": "policies/ai-trust-layer.json" }],
    "clauses": [{ "clauseId": "6.1.4", "clauseName": "AI system impact assessment", "productCount": 1, "controlCount": 3, "editorialPolicies": [] }]
  }
}

Status der UIP Gov Compliance-Packs​

Bereitstellungsstatus der Pakete pro Mandant (oder pro Organisation): Aktivieren/deaktivieren Sie ein Paket, überprüfen Sie seinen aktuellen Status, stellen Sie die vorgeschlagenen Standardeinstellungen wieder her oder überprüfen Sie die Abdeckung mit dem, was bereits bereitgestellt wurde.

UIP Gov Compliance-Packs Statusliste​

Listen Sie jeden Paketstatus auf, der in einem Scope aufgezeichnet wurde. Gibt [] zurück, wenn noch nichts aktiviert/deaktiviert wurde.

Argumente​
NameErforderlichZweck
<scope>jatenant oder organization.
<target-id>jaMandanten-UUID oder Organisations-ID, die mit <scope> übereinstimmt.
Beispiel​
uip gov compliance-packs state list tenant 7d0f1e34-9a4b-4d7a-9a3c-2b3e4d5f6a7b
uip gov compliance-packs state list tenant 7d0f1e34-9a4b-4d7a-9a3c-2b3e4d5f6a7b
Datenform (--output json)​
{
  "Code": "CompliancePacksStateList",
  "Data": [
    {
      "packStateId": "a1b2c3d4-0000-0000-0000-000000000001",
      "scopeLevel": "tenant",
      "scopeTargetId": "7d0f1e34-9a4b-4d7a-9a3c-2b3e4d5f6a7b",
      "packId": "iso-42001-2023",
      "packVersion": "3.0.0",
      "active": true,
      "lastToggledAt": "2026-05-14T10:00:00Z",
      "lastToggledBy": "user-uuid-here"
    }
  ]
}
{
  "Code": "CompliancePacksStateList",
  "Data": [
    {
      "packStateId": "a1b2c3d4-0000-0000-0000-000000000001",
      "scopeLevel": "tenant",
      "scopeTargetId": "7d0f1e34-9a4b-4d7a-9a3c-2b3e4d5f6a7b",
      "packId": "iso-42001-2023",
      "packVersion": "3.0.0",
      "active": true,
      "lastToggledAt": "2026-05-14T10:00:00Z",
      "lastToggledBy": "user-uuid-here"
    }
  ]
}

Abrufen des Status der UIP-Compliance-Packs​

Rufen Sie Statusdetails für ein Paket ab, einschließlich zugehöriger Aops-/Zugriffsrichtlinien-IDs. 404 wenn keine Statuszeile vorhanden ist.

Argumente​
NameErforderlichZweck
<scope>jatenant oder organization.
<target-id>jaMandanten-UUID oder Organisations-ID.
<pack-id>jaPaketbezeichner – von catalog list.
Beispiel​
uip gov compliance-packs state get tenant 7d0f1e34-9a4b-4d7a-9a3c-2b3e4d5f6a7b iso-42001-2023
uip gov compliance-packs state get tenant 7d0f1e34-9a4b-4d7a-9a3c-2b3e4d5f6a7b iso-42001-2023
Datenform (--output json)​
{
  "Code": "CompliancePacksStateGet",
  "Data": {
    "packStateId": "a1b2c3d4-0000-0000-0000-000000000001",
    "scopeLevel": "tenant",
    "scopeTargetId": "7d0f1e34-9a4b-4d7a-9a3c-2b3e4d5f6a7b",
    "packId": "iso-42001-2023",
    "packVersion": "3.0.0",
    "active": true,
    "lastToggledAt": "2026-05-14T10:00:00Z",
    "lastToggledBy": "user-uuid-here",
    "policies": [{ "policyType": "Aops", "externalPolicyId": "ext-policy-uuid-here" }]
  }
}
{
  "Code": "CompliancePacksStateGet",
  "Data": {
    "packStateId": "a1b2c3d4-0000-0000-0000-000000000001",
    "scopeLevel": "tenant",
    "scopeTargetId": "7d0f1e34-9a4b-4d7a-9a3c-2b3e4d5f6a7b",
    "packId": "iso-42001-2023",
    "packVersion": "3.0.0",
    "active": true,
    "lastToggledAt": "2026-05-14T10:00:00Z",
    "lastToggledBy": "user-uuid-here",
    "policies": [{ "policyType": "Aops", "externalPolicyId": "ext-policy-uuid-here" }]
  }
}

UIP Gov Compliance-Packs Status aktivieren​

Aktivieren (oder erneut aktivieren) ein Pack für einen Scope. Idempotent. Beim ersten Aktivieren werden die Produktrichtlinien des Pakets an Aops POSTs gesendet und die resultierenden Richtlinien-IDs werden beibehalten. RBAC: Policy:Write erforderlich.

Argumente​

Die gleichen drei (<scope>, <target-id>, <pack-id>) wie state get.

Beispiel​
uip gov compliance-packs state enable tenant 7d0f1e34-9a4b-4d7a-9a3c-2b3e4d5f6a7b iso-42001-2023
uip gov compliance-packs state enable tenant 7d0f1e34-9a4b-4d7a-9a3c-2b3e4d5f6a7b iso-42001-2023
Datenform (--output json)​

Die gleiche Form wie state get, mit Code: "CompliancePacksStateEnable".

Ein 404 auf packId bedeutet, dass es nicht im geladenen Katalog enthalten ist – catalog list überprüfen.

UIP Gov Compliance-Packs Status deaktivieren​

Deaktivieren Sie ein Pack in einem Scope. Idempotent (no-op, wenn bereits inaktiv). Entfernt die Mandantenzuweisungen aus Aops für die zugehörigen Richtlinien des Pakets. 404 wenn keine Statuszeile vorhanden ist. RBAC: Policy:Write erforderlich.

Argumente​

Die gleichen drei wie state get.

Beispiel​
uip gov compliance-packs state disable tenant 7d0f1e34-9a4b-4d7a-9a3c-2b3e4d5f6a7b iso-42001-2023
uip gov compliance-packs state disable tenant 7d0f1e34-9a4b-4d7a-9a3c-2b3e4d5f6a7b iso-42001-2023
Datenform (--output json)​
{ "Code": "CompliancePacksStateDisable", "Data": { "Status": "Disabled" } }
{ "Code": "CompliancePacksStateDisable", "Data": { "Status": "Disabled" } }

UIP Gov Compliance-Packs Statuswiederherstellung​

Setzen Sie die Aops-Richtlinien eines aktiven Pakets auf die vorgeschlagenen Werte des Pakets zurück: Die direkte Konfiguration zurücksetzen für Live-Richtlinien, erstellt alle gelöschten Richtlinien neu und stellt Mandantenbindungen wieder her. Benutzerdefinierte Richtlinien (Rego) sind unberührt. RBAC: Policy:Write erforderlich.

Hinweis:

Gibt 409 für zwei nicht unterscheidbare Fälle zurück: Das Paket ist in diesem Scope noch nicht aktiv (zuerst state enable ausführen), oder es wird derzeit ein anderer Vorgang ausgeführt (Warten und wiederholen). Die CLI zeigt beide Möglichkeiten im Fehler Instructions an.

Argumente​

Die gleichen drei wie state get.

Beispiel​
uip gov compliance-packs state restore tenant 7d0f1e34-9a4b-4d7a-9a3c-2b3e4d5f6a7b iso-42001-2023
uip gov compliance-packs state restore tenant 7d0f1e34-9a4b-4d7a-9a3c-2b3e4d5f6a7b iso-42001-2023
Datenform (--output json)​

Die gleiche Form wie state get, mit Code: "CompliancePacksStateRestore".

Uip Gov Compliance-Packs Statusabdeckung​

Vergleichen Sie ein Paket mit den aktuell bereitgestellten Richtlinien eines Mandanten – welche Bereitstellungsrichtlinien/-Klauseln bereits „vor Ort“ sind; vs. „neu“ (würde etwas ändern, wenn aktiviert). Erfordert nicht , dass das Paket zuerst aktiviert wird; wird gegen den Live-Aops-Status bei jedem Aufruf neu berechnet. RBAC: Policy:Read erforderlich.

Argumente​

Die gleichen drei wie state get.

Beispiel​
uip gov compliance-packs state coverage tenant 7d0f1e34-9a4b-4d7a-9a3c-2b3e4d5f6a7b iso-42001-2023
uip gov compliance-packs state coverage tenant 7d0f1e34-9a4b-4d7a-9a3c-2b3e4d5f6a7b iso-42001-2023
Datenform (--output json)​
{
  "Code": "CompliancePacksStateCoverage",
  "Data": {
    "packId": "iso-42001-2023",
    "scopeLevel": "tenant",
    "scopeTargetId": "7d0f1e34-9a4b-4d7a-9a3c-2b3e4d5f6a7b",
    "summary": { "deploymentPolicyCount": 5, "inPlaceCount": 2, "newCount": 3 },
    "deploymentPolicies": [
      { "productIdentifier": "AITrustLayer", "status": "new" },
      { "productIdentifier": "Robot", "status": "in-place" }
    ],
    "clauses": [
      { "clauseId": "6.1.4", "status": "needs-policies" },
      { "clauseId": "A.4.5", "status": "in-place" }
    ]
  }
}
{
  "Code": "CompliancePacksStateCoverage",
  "Data": {
    "packId": "iso-42001-2023",
    "scopeLevel": "tenant",
    "scopeTargetId": "7d0f1e34-9a4b-4d7a-9a3c-2b3e4d5f6a7b",
    "summary": { "deploymentPolicyCount": 5, "inPlaceCount": 2, "newCount": 3 },
    "deploymentPolicies": [
      { "productIdentifier": "AITrustLayer", "status": "new" },
      { "productIdentifier": "Robot", "status": "in-place" }
    ],
    "clauses": [
      { "clauseId": "6.1.4", "status": "needs-policies" },
      { "clauseId": "A.4.5", "status": "in-place" }
    ]
  }
}

Ein Wert von 502 bedeutet, dass der Aops-Status für den Vergleich nicht abgerufen werden konnte.

Siehe auch​

War diese Seite hilfreich?

Verbinden

Benötigen Sie Hilfe? Support

Möchten Sie lernen? UiPath Academy

Haben Sie Fragen? UiPath-Forum

Auf dem neuesten Stand bleiben