Actions
User story #8584
closedThe compliance API is missing a global compliance target
Added by Matthieu CERDA over 8 years ago. Updated over 6 years ago.
Effort required:
Name check:
Fix check:
Regression:
Description
I'd love to have an "/api/compliance" URL that gives the equivalent of the info we have on the dasbboard, like:
- Global compliance
- Compliance defails (% of success, repaired, no report, unknown, error and missing)
Moreover, we could then use this API to get the values for the dashboard when possible :)
Updated by François ARMAND over 8 years ago
- Target version changed from Ideas (not version specific) to 4.0.0~rc2
Updated by François ARMAND about 8 years ago
- Tracker changed from Bug to User story
- Target version changed from 4.0.0~rc2 to 4.1.0~beta1
Updated by Vincent MEMBRÉ almost 8 years ago
- Target version changed from 4.1.0~beta1 to 4.1.0~beta2
Updated by Vincent MEMBRÉ almost 8 years ago
- Target version changed from 4.1.0~beta2 to 4.1.0~beta3
Updated by Vincent MEMBRÉ almost 8 years ago
- Target version changed from 4.1.0~beta3 to 4.1.0~rc1
Updated by François ARMAND almost 8 years ago
- Target version changed from 4.1.0~rc1 to 4.2.0~beta1
Updated by Alexis Mousset over 7 years ago
- Target version changed from 4.2.0~beta1 to 4.2.0~beta2
Updated by Vincent MEMBRÉ over 7 years ago
- Target version changed from 4.2.0~beta2 to 4.2.0~beta3
Updated by Vincent MEMBRÉ over 7 years ago
- Target version changed from 4.2.0~beta3 to 4.2.0~rc1
Updated by Vincent MEMBRÉ about 7 years ago
- Target version changed from 4.2.0~rc1 to 4.2.0~rc2
Updated by Vincent MEMBRÉ about 7 years ago
- Target version changed from 4.2.0~rc2 to 4.2.0
Updated by Vincent MEMBRÉ about 7 years ago
- Target version changed from 4.2.0 to 4.2.1
Updated by Vincent MEMBRÉ about 7 years ago
- Target version changed from 4.2.1 to 4.2.2
Updated by Vincent MEMBRÉ about 7 years ago
- Target version changed from 4.2.2 to 4.2.3
Updated by Vincent MEMBRÉ almost 7 years ago
- Target version changed from 4.2.3 to 4.2.4
Updated by François ARMAND almost 7 years ago
- Target version changed from 4.2.4 to 4.3.0~rc1
Updated by François ARMAND almost 7 years ago
- Status changed from New to In progress
Updated by François ARMAND almost 7 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from François ARMAND to Vincent MEMBRÉ
- Pull Request set to https://github.com/Normation/rudder/pull/1850
Updated by François ARMAND almost 7 years ago
The PR add a new endpoint for "/compliance" with a return value of:
% curl -k -H "X-API-Token: ..." -H "Content-Type: application/json" -X GET 'https://.../api/latest/compliance' {"action":"getGlobalCompliance","result":"success","data":{"globalCompliance":{"compliance":0,"complianceDetails"}}
When no non-system rules are defined, "compliane":-1 is returned without complianceDetails.
The PR also update rudder dashboard to print a message when no non-system rules are defined with a link toward rules.
Updated by François ARMAND almost 7 years ago
- Related to User story #6820: The dashboard should display something when no reporting data is available (new installation) added
Updated by Rudder Quality Assistant almost 7 years ago
- Assignee changed from Vincent MEMBRÉ to François ARMAND
Updated by François ARMAND almost 7 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|7287bffd6152498f79d10c590aed5a8678e3a10a.
Updated by Vincent MEMBRÉ over 6 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 4.3.0~rc1 which was released today.
- 4.3.0~rc1: Announce Changelog
- Download: https://www.rudder-project.org/site/get-rudder/downloads/
Updated by Alexis Mousset over 6 years ago
- Related to Bug #13149: Global compliance API is not documented added
Actions