Project

General

Profile

Actions

Bug #20185

closed

no compliance shown on rule page

Added by Nicolas CHARLES over 1 year ago. Updated over 1 year ago.

Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
Web - Compliance & node report
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Regression:

Description


it somehow believes it is not applied, even though it is
tested on special target and or normal groups


Files


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #20302: Block and component compliance display in Rules pageReleasedFrançois ARMANDActions
Actions #1

Updated by Nicolas CHARLES over 1 year ago

  • Subject changed from no compliance shown on rule page when the target is a special target to no compliance shown on rule page
Actions #2

Updated by Nicolas CHARLES over 1 year ago

  • Description updated (diff)
Actions #3

Updated by Nicolas CHARLES over 1 year ago

api does report

curl -k  --header "X-API-Token: $(cat /var/rudder/run/api-token)" --request GET 'https://localhost/rudder/api/latest/compliance/rules/28879462-c05b-47c1-9d9f-f1b657626fb5'
{
  "action": "getRulesComplianceId",
  "result": "success",
  "data": {
    "rules": [
      {
        "id": "28879462-c05b-47c1-9d9f-f1b657626fb5",
        "name": "rtyreyret",
        "compliance": 50,
        "mode": "full-compliance",
        "complianceDetails": {
          "noReport": 50,
          "successRepaired": 50
        },
        "directives": [
          {
            "id": "1d6d6ba7-5819-442e-9352-fcab6af2ba45",
            "name": "<img src=\"https://m.media-amazon.com/images/I/616k2s1JooL._AC_SX466_.jpg\"/>",
            "compliance": 50,
            "complianceDetails": {
              "noReport": 50,
              "successRepaired": 50
            },
            "components": [
              {
                "name": "<img src=\"https://m.media-amazon.com/images/I/616k2s1JooL._AC_SX466_.jpg\"/>",
                "compliance": 50,
                "complianceDetails": {
                  "noReport": 50,
                  "successRepaired": 50
                },
                "components": [
                  {
                    "name": "Command execution",
                    "compliance": 50,
                    "complianceDetails": {
                      "noReport": 50,
                      "successRepaired": 50
                    },
                    "nodes": [
                      {
                        "id": "aabe9a94-a2e1-4d52-99de-260ba3f3e476",
                        "name": "agent1.rudder.local",
                        "values": [
                          {
                            "value": "/bin/true #<img src=\"https://m.media-amazon.com/images/I/616k2s1JooL._AC_SX466_.jpg\"/>",
                            "reports": [
                              {
                                "status": "noReport" 
                              }
                            ]
                          },
                          {
                            "value": "/bin/true #<img src=\"https://m.media-amazon.com/images/I/616k2s1JooL._AC_SX466_.jpg\"/>",
                            "reports": [
                              {
                                "status": "successRepaired",
                                "message": "Execute the command /bin/true #<img src=\"https://m.media-amazon.com/images/I/616k2s1JooL._AC_SX466_.jpg\"/> was repaired" 
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "id": "root",
                        "name": "server.rudder.local",
                        "values": [
                          {
                            "value": "/bin/true #<img src=\"https://m.media-amazon.com/images/I/616k2s1JooL._AC_SX466_.jpg\"/>",
                            "reports": [
                              {
                                "status": "noReport" 
                              }
                            ]
                          },
                          {
                            "value": "/bin/true #<img src=\"https://m.media-amazon.com/images/I/616k2s1JooL._AC_SX466_.jpg\"/>",
                            "reports": [
                              {
                                "status": "successRepaired",
                                "message": "Execute the command /bin/true #<img src=\"https://m.media-amazon.com/images/I/616k2s1JooL._AC_SX466_.jpg\"/> was repaired" 
                              }
                            ]
                          }
                        ]
                      }
                    ]
                  }
                ]
              }
            ]
          }
        ]
      }
    ]
  }
}

Actions #4

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 7.0.0~beta2 to 7.0.0~beta3
Actions #5

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 7.0.0~beta3 to 7.0.0~rc1
Actions #6

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 7.0.0~rc1 to 7.0.0~rc2
Actions #7

Updated by François ARMAND over 1 year ago

  • Related to Bug #20302: Block and component compliance display in Rules page added
Actions #8

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 7.0.0~rc2 to 7.0.0~rc3
Actions #9

Updated by Nicolas CHARLES over 1 year ago

  • Status changed from New to Rejected

not anymore

Actions

Also available in: Atom PDF