action rudder_get_global_compliance { label: "Global compliance" description: "Get current global compliance of a Rudder server" provider: rudder method: GET path: "/compliance" encoding: json output: { type: "object" required: ["action", "data", "result"] properties: { action: { type: "string" description: "The id of the action" enum: ["getGlobalCompliance"] } data: { type: "object" required: ["globalCompliance"] properties: { globalCompliance: { type: "object" required: ["compliance"] properties: { compliance: { type: "number" format: "integer" description: "Global compliance level (`-1` when no policies are defined)" } complianceDetails: { type: "object" properties: { error: { type: "number" format: "float" } noReport: { type: "number" format: "float" } successAlreadyOK: { type: "number" format: "float" } successNotApplicable: { type: "number" format: "float" } successRepaired: { type: "number" format: "float" } unexpectedMissingComponent: { type: "number" format: "float" } unexpectedUnknownComponent: { type: "number" format: "float" } } } } } } } result: { type: "string" description: "Result of the request" enum: ["success", "error"] } } } }