// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`GrcToggle view renders expand as expected 1`] = `
GrcToggleModule {
  "context": Object {},
  "props": Object {
    "grcItems": Array [
      Object {
        "__typename": "Occurrence",
        "context": Object {
          "accountId": "id-mycluster-account",
          "clusterName": "mycluster_name",
          "namespaceName": "kube-system",
          "region": null,
          "resourceCrn": null,
          "resourceId": "4093fbf9-765f-11e9-9e07-00163e01db7b",
          "resourceName": "other-auth-secret",
          "resourceType": "Secret",
          "serviceCrn": null,
          "serviceName": null,
        },
        "finding": Object {
          "certainty": "HIGH",
          "dataTransferred": null,
          "networkConnection": null,
          "nextSteps": Array [
            Object {
              "title": "View the details for the compliance problem in the occurrence of the findings.",
              "url": null,
            },
          ],
          "severity": "HIGH",
        },
        "name": "id-mycluster-account/providers/security-advisor/occurrences/secret-4093fbf9-765f-11e9-9e07-00163e01db7b",
        "reportedBy": Object {
          "id": "mcm-policy-adapter",
          "title": "Security Advisor MCM Policy Findings Adapter",
          "url": null,
        },
        "securityClassification": Object {
          "securityCategories": Array [
            "System and communications protections",
          ],
          "securityControl": "test",
          "securityStandards": Array [
            "NIST",
            "CIS",
          ],
        },
        "shortDescription": "Policy that is not compliant",
      },
      Object {
        "__typename": "Occurrence",
        "context": Object {
          "accountId": "id-mycluster-account",
          "clusterName": "cluster1",
          "namespaceName": "kube-system",
          "region": null,
          "resourceCrn": null,
          "resourceId": "4093fbf5-765f-11e9-9e07-00163e01db7b",
          "resourceName": "platform-auth-secret",
          "resourceType": "Secret",
          "serviceCrn": null,
          "serviceName": null,
        },
        "finding": Object {
          "certainty": "HIGH",
          "dataTransferred": null,
          "networkConnection": null,
          "nextSteps": Array [
            Object {
              "title": "View the details for the compliance problem in the occurrence of the findings.",
              "url": null,
            },
          ],
          "severity": "HIGH",
        },
        "name": "id-mycluster-account/providers/security-advisor/occurrences/secret-4093fbf5-765f-11e9-9e07-00163e01db7b",
        "reportedBy": Object {
          "id": "mcm-policy-adapter",
          "title": "Security Advisor MCM Policy Findings Adapter",
          "url": null,
        },
        "securityClassification": Object {
          "securityCategories": Array [
            "System and communications protections",
          ],
          "securityControl": "test",
          "securityStandards": Array [
            "NIST",
            "CIS",
          ],
        },
        "shortDescription": "Policy that is not compliant",
      },
      Object {
        "__typename": "Occurrence",
        "context": Object {
          "accountId": "id-mycluster-account",
          "clusterName": "clusterhub",
          "namespaceName": "kube-system",
          "region": null,
          "resourceCrn": null,
          "resourceId": "94fe9769-765f-11e9-9e07-00163e01db7b",
          "resourceName": "multicluster_name-hub-search-secrets",
          "resourceType": "Secret",
          "serviceCrn": null,
          "serviceName": null,
        },
        "finding": Object {
          "certainty": "HIGH",
          "dataTransferred": null,
          "networkConnection": null,
          "nextSteps": Array [
            Object {
              "title": "View the details for the compliance problem in the occurrence of the findings.",
              "url": null,
            },
          ],
          "severity": "HIGH",
        },
        "name": "id-mycluster-account/providers/security-advisor/occurrences/secret-94fe9769-765f-11e9-9e07-00163e01db7b",
        "reportedBy": Object {
          "id": "mcm-policy-adapter",
          "title": "Security Advisor MCM Policy Findings Adapter",
          "url": null,
        },
        "securityClassification": Object {
          "securityCategories": Array [
            "System and communications protections",
          ],
          "securityControl": "test",
          "securityStandards": Array [
            "NIST",
            "CIS",
          ],
        },
        "shortDescription": "Policy that is not compliant",
      },
    ],
    "grcTabToggleIndex": 0,
    "highLightRowName": "",
    "locale": "en-US",
    "refreshControl": Object {
      "refreshCookie": "grc-refresh-interval-cookie",
      "reloading": false,
      "timestamp": "Tue Jul 23 2019 01:13:42 GMT-0400 (Eastern Daylight Time)",
    },
    "secondaryHeaderProps": Object {
      "information": "grc.header.tooltip",
      "links": Array [
        Object {
          "id": "create-policy",
          "label": "button.create.policy",
          "url": "/multicloud/policies/create",
        },
      ],
      "tabs": Array [
        Object {
          "id": "grc-overview",
          "index": 0,
          "label": "tabs.grc.overview",
          "url": "/multicloud/policies",
        },
        Object {
          "id": "grc-all",
          "index": 1,
          "label": "tabs.grc.all",
          "url": "/multicloud/policies/all",
        },
        Object {
          "id": "grc-findings",
          "index": 2,
          "label": "tabs.grc.findings",
          "url": "/multicloud/policies/findings",
        },
      ],
      "title": "routes.grc",
    },
    "showApplications": true,
    "showGrcTabToggle": true,
    "showSidePanel": false,
  },
  "refs": Object {},
  "setState": [Function],
  "state": null,
  "toggleClick": [Function],
  "updater": Updater {
    "_callbacks": Array [],
    "_renderer": ReactShallowRenderer {
      "_context": Object {},
      "_didScheduleRenderPhaseUpdate": false,
      "_dispatcher": Object {
        "readContext": [Function],
        "useCallback": [Function],
        "useContext": [Function],
        "useDebugValue": [Function],
        "useDeferredValue": [Function],
        "useEffect": [Function],
        "useImperativeHandle": [Function],
        "useLayoutEffect": [Function],
        "useMemo": [Function],
        "useReducer": [Function],
        "useRef": [Function],
        "useResponder": [Function],
        "useState": [Function],
        "useTransition": [Function],
      },
      "_element": <GrcToggleModule
        grcItems={
          Array [
            Object {
              "__typename": "Occurrence",
              "context": Object {
                "accountId": "id-mycluster-account",
                "clusterName": "mycluster_name",
                "namespaceName": "kube-system",
                "region": null,
                "resourceCrn": null,
                "resourceId": "4093fbf9-765f-11e9-9e07-00163e01db7b",
                "resourceName": "other-auth-secret",
                "resourceType": "Secret",
                "serviceCrn": null,
                "serviceName": null,
              },
              "finding": Object {
                "certainty": "HIGH",
                "dataTransferred": null,
                "networkConnection": null,
                "nextSteps": Array [
                  Object {
                    "title": "View the details for the compliance problem in the occurrence of the findings.",
                    "url": null,
                  },
                ],
                "severity": "HIGH",
              },
              "name": "id-mycluster-account/providers/security-advisor/occurrences/secret-4093fbf9-765f-11e9-9e07-00163e01db7b",
              "reportedBy": Object {
                "id": "mcm-policy-adapter",
                "title": "Security Advisor MCM Policy Findings Adapter",
                "url": null,
              },
              "securityClassification": Object {
                "securityCategories": Array [
                  "System and communications protections",
                ],
                "securityControl": "test",
                "securityStandards": Array [
                  "NIST",
                  "CIS",
                ],
              },
              "shortDescription": "Policy that is not compliant",
            },
            Object {
              "__typename": "Occurrence",
              "context": Object {
                "accountId": "id-mycluster-account",
                "clusterName": "cluster1",
                "namespaceName": "kube-system",
                "region": null,
                "resourceCrn": null,
                "resourceId": "4093fbf5-765f-11e9-9e07-00163e01db7b",
                "resourceName": "platform-auth-secret",
                "resourceType": "Secret",
                "serviceCrn": null,
                "serviceName": null,
              },
              "finding": Object {
                "certainty": "HIGH",
                "dataTransferred": null,
                "networkConnection": null,
                "nextSteps": Array [
                  Object {
                    "title": "View the details for the compliance problem in the occurrence of the findings.",
                    "url": null,
                  },
                ],
                "severity": "HIGH",
              },
              "name": "id-mycluster-account/providers/security-advisor/occurrences/secret-4093fbf5-765f-11e9-9e07-00163e01db7b",
              "reportedBy": Object {
                "id": "mcm-policy-adapter",
                "title": "Security Advisor MCM Policy Findings Adapter",
                "url": null,
              },
              "securityClassification": Object {
                "securityCategories": Array [
                  "System and communications protections",
                ],
                "securityControl": "test",
                "securityStandards": Array [
                  "NIST",
                  "CIS",
                ],
              },
              "shortDescription": "Policy that is not compliant",
            },
            Object {
              "__typename": "Occurrence",
              "context": Object {
                "accountId": "id-mycluster-account",
                "clusterName": "clusterhub",
                "namespaceName": "kube-system",
                "region": null,
                "resourceCrn": null,
                "resourceId": "94fe9769-765f-11e9-9e07-00163e01db7b",
                "resourceName": "multicluster_name-hub-search-secrets",
                "resourceType": "Secret",
                "serviceCrn": null,
                "serviceName": null,
              },
              "finding": Object {
                "certainty": "HIGH",
                "dataTransferred": null,
                "networkConnection": null,
                "nextSteps": Array [
                  Object {
                    "title": "View the details for the compliance problem in the occurrence of the findings.",
                    "url": null,
                  },
                ],
                "severity": "HIGH",
              },
              "name": "id-mycluster-account/providers/security-advisor/occurrences/secret-94fe9769-765f-11e9-9e07-00163e01db7b",
              "reportedBy": Object {
                "id": "mcm-policy-adapter",
                "title": "Security Advisor MCM Policy Findings Adapter",
                "url": null,
              },
              "securityClassification": Object {
                "securityCategories": Array [
                  "System and communications protections",
                ],
                "securityControl": "test",
                "securityStandards": Array [
                  "NIST",
                  "CIS",
                ],
              },
              "shortDescription": "Policy that is not compliant",
            },
          ]
        }
        grcTabToggleIndex={0}
        highLightRowName=""
        locale="en-US"
        refreshControl={
          Object {
            "refreshCookie": "grc-refresh-interval-cookie",
            "reloading": false,
            "timestamp": "Tue Jul 23 2019 01:13:42 GMT-0400 (Eastern Daylight Time)",
          }
        }
        secondaryHeaderProps={
          Object {
            "information": "grc.header.tooltip",
            "links": Array [
              Object {
                "id": "create-policy",
                "label": "button.create.policy",
                "url": "/multicloud/policies/create",
              },
            ],
            "tabs": Array [
              Object {
                "id": "grc-overview",
                "index": 0,
                "label": "tabs.grc.overview",
                "url": "/multicloud/policies",
              },
              Object {
                "id": "grc-all",
                "index": 1,
                "label": "tabs.grc.all",
                "url": "/multicloud/policies/all",
              },
              Object {
                "id": "grc-findings",
                "index": 2,
                "label": "tabs.grc.findings",
                "url": "/multicloud/policies/findings",
              },
            ],
            "title": "routes.grc",
          }
        }
        showApplications={true}
        showGrcTabToggle={true}
        showSidePanel={false}
      />,
      "_firstWorkInProgressHook": null,
      "_forcedUpdate": false,
      "_instance": [Circular],
      "_isReRender": false,
      "_newState": null,
      "_numberOfReRenders": 0,
      "_renderPhaseUpdates": null,
      "_rendered": <div
        className="module-toggle-tab"
      >
        <withRouter(Connect(ResourceList))
          autoAction="table.actions.policy.sidepanel"
          detailsTabs={
            Array [
              "policies",
            ]
          }
          getVisibleResources={[Function]}
          grcItems={
            Array [
              Object {
                "__typename": "Occurrence",
                "context": Object {
                  "accountId": "id-mycluster-account",
                  "clusterName": "mycluster_name",
                  "namespaceName": "kube-system",
                  "region": null,
                  "resourceCrn": null,
                  "resourceId": "4093fbf9-765f-11e9-9e07-00163e01db7b",
                  "resourceName": "other-auth-secret",
                  "resourceType": "Secret",
                  "serviceCrn": null,
                  "serviceName": null,
                },
                "finding": Object {
                  "certainty": "HIGH",
                  "dataTransferred": null,
                  "networkConnection": null,
                  "nextSteps": Array [
                    Object {
                      "title": "View the details for the compliance problem in the occurrence of the findings.",
                      "url": null,
                    },
                  ],
                  "severity": "HIGH",
                },
                "name": "id-mycluster-account/providers/security-advisor/occurrences/secret-4093fbf9-765f-11e9-9e07-00163e01db7b",
                "reportedBy": Object {
                  "id": "mcm-policy-adapter",
                  "title": "Security Advisor MCM Policy Findings Adapter",
                  "url": null,
                },
                "securityClassification": Object {
                  "securityCategories": Array [
                    "System and communications protections",
                  ],
                  "securityControl": "test",
                  "securityStandards": Array [
                    "NIST",
                    "CIS",
                  ],
                },
                "shortDescription": "Policy that is not compliant",
              },
              Object {
                "__typename": "Occurrence",
                "context": Object {
                  "accountId": "id-mycluster-account",
                  "clusterName": "cluster1",
                  "namespaceName": "kube-system",
                  "region": null,
                  "resourceCrn": null,
                  "resourceId": "4093fbf5-765f-11e9-9e07-00163e01db7b",
                  "resourceName": "platform-auth-secret",
                  "resourceType": "Secret",
                  "serviceCrn": null,
                  "serviceName": null,
                },
                "finding": Object {
                  "certainty": "HIGH",
                  "dataTransferred": null,
                  "networkConnection": null,
                  "nextSteps": Array [
                    Object {
                      "title": "View the details for the compliance problem in the occurrence of the findings.",
                      "url": null,
                    },
                  ],
                  "severity": "HIGH",
                },
                "name": "id-mycluster-account/providers/security-advisor/occurrences/secret-4093fbf5-765f-11e9-9e07-00163e01db7b",
                "reportedBy": Object {
                  "id": "mcm-policy-adapter",
                  "title": "Security Advisor MCM Policy Findings Adapter",
                  "url": null,
                },
                "securityClassification": Object {
                  "securityCategories": Array [
                    "System and communications protections",
                  ],
                  "securityControl": "test",
                  "securityStandards": Array [
                    "NIST",
                    "CIS",
                  ],
                },
                "shortDescription": "Policy that is not compliant",
              },
              Object {
                "__typename": "Occurrence",
                "context": Object {
                  "accountId": "id-mycluster-account",
                  "clusterName": "clusterhub",
                  "namespaceName": "kube-system",
                  "region": null,
                  "resourceCrn": null,
                  "resourceId": "94fe9769-765f-11e9-9e07-00163e01db7b",
                  "resourceName": "multicluster_name-hub-search-secrets",
                  "resourceType": "Secret",
                  "serviceCrn": null,
                  "serviceName": null,
                },
                "finding": Object {
                  "certainty": "HIGH",
                  "dataTransferred": null,
                  "networkConnection": null,
                  "nextSteps": Array [
                    Object {
                      "title": "View the details for the compliance problem in the occurrence of the findings.",
                      "url": null,
                    },
                  ],
                  "severity": "HIGH",
                },
                "name": "id-mycluster-account/providers/security-advisor/occurrences/secret-94fe9769-765f-11e9-9e07-00163e01db7b",
                "reportedBy": Object {
                  "id": "mcm-policy-adapter",
                  "title": "Security Advisor MCM Policy Findings Adapter",
                  "url": null,
                },
                "securityClassification": Object {
                  "securityCategories": Array [
                    "System and communications protections",
                  ],
                  "securityControl": "test",
                  "securityStandards": Array [
                    "NIST",
                    "CIS",
                  ],
                },
                "shortDescription": "Policy that is not compliant",
              },
            ]
          }
          grcTabToggleIndex={0}
          highLightRowName=""
          information="grc.header.tooltip"
          links={
            Array [
              Object {
                "id": "create-policy",
                "label": "button.create.policy",
                "url": "/multicloud/policies/create",
              },
            ]
          }
          listData={
            Array [
              Object {
                "__typename": "Occurrence",
                "context": Object {
                  "accountId": "id-mycluster-account",
                  "clusterName": "mycluster_name",
                  "namespaceName": "kube-system",
                  "region": null,
                  "resourceCrn": null,
                  "resourceId": "4093fbf9-765f-11e9-9e07-00163e01db7b",
                  "resourceName": "other-auth-secret",
                  "resourceType": "Secret",
                  "serviceCrn": null,
                  "serviceName": null,
                },
                "finding": Object {
                  "certainty": "HIGH",
                  "dataTransferred": null,
                  "networkConnection": null,
                  "nextSteps": Array [
                    Object {
                      "title": "View the details for the compliance problem in the occurrence of the findings.",
                      "url": null,
                    },
                  ],
                  "severity": "HIGH",
                },
                "name": "id-mycluster-account/providers/security-advisor/occurrences/secret-4093fbf9-765f-11e9-9e07-00163e01db7b",
                "reportedBy": Object {
                  "id": "mcm-policy-adapter",
                  "title": "Security Advisor MCM Policy Findings Adapter",
                  "url": null,
                },
                "securityClassification": Object {
                  "securityCategories": Array [
                    "System and communications protections",
                  ],
                  "securityControl": "test",
                  "securityStandards": Array [
                    "NIST",
                    "CIS",
                  ],
                },
                "shortDescription": "Policy that is not compliant",
                "subItems": Array [
                  Object {
                    "items": Array [],
                    "name": "policy.pb",
                  },
                  Object {
                    "items": Array [],
                    "name": "policy.pp",
                  },
                ],
              },
              Object {
                "__typename": "Occurrence",
                "context": Object {
                  "accountId": "id-mycluster-account",
                  "clusterName": "cluster1",
                  "namespaceName": "kube-system",
                  "region": null,
                  "resourceCrn": null,
                  "resourceId": "4093fbf5-765f-11e9-9e07-00163e01db7b",
                  "resourceName": "platform-auth-secret",
                  "resourceType": "Secret",
                  "serviceCrn": null,
                  "serviceName": null,
                },
                "finding": Object {
                  "certainty": "HIGH",
                  "dataTransferred": null,
                  "networkConnection": null,
                  "nextSteps": Array [
                    Object {
                      "title": "View the details for the compliance problem in the occurrence of the findings.",
                      "url": null,
                    },
                  ],
                  "severity": "HIGH",
                },
                "name": "id-mycluster-account/providers/security-advisor/occurrences/secret-4093fbf5-765f-11e9-9e07-00163e01db7b",
                "reportedBy": Object {
                  "id": "mcm-policy-adapter",
                  "title": "Security Advisor MCM Policy Findings Adapter",
                  "url": null,
                },
                "securityClassification": Object {
                  "securityCategories": Array [
                    "System and communications protections",
                  ],
                  "securityControl": "test",
                  "securityStandards": Array [
                    "NIST",
                    "CIS",
                  ],
                },
                "shortDescription": "Policy that is not compliant",
                "subItems": Array [
                  Object {
                    "items": Array [],
                    "name": "policy.pb",
                  },
                  Object {
                    "items": Array [],
                    "name": "policy.pp",
                  },
                ],
              },
              Object {
                "__typename": "Occurrence",
                "context": Object {
                  "accountId": "id-mycluster-account",
                  "clusterName": "clusterhub",
                  "namespaceName": "kube-system",
                  "region": null,
                  "resourceCrn": null,
                  "resourceId": "94fe9769-765f-11e9-9e07-00163e01db7b",
                  "resourceName": "multicluster_name-hub-search-secrets",
                  "resourceType": "Secret",
                  "serviceCrn": null,
                  "serviceName": null,
                },
                "finding": Object {
                  "certainty": "HIGH",
                  "dataTransferred": null,
                  "networkConnection": null,
                  "nextSteps": Array [
                    Object {
                      "title": "View the details for the compliance problem in the occurrence of the findings.",
                      "url": null,
                    },
                  ],
                  "severity": "HIGH",
                },
                "name": "id-mycluster-account/providers/security-advisor/occurrences/secret-94fe9769-765f-11e9-9e07-00163e01db7b",
                "reportedBy": Object {
                  "id": "mcm-policy-adapter",
                  "title": "Security Advisor MCM Policy Findings Adapter",
                  "url": null,
                },
                "securityClassification": Object {
                  "securityCategories": Array [
                    "System and communications protections",
                  ],
                  "securityControl": "test",
                  "securityStandards": Array [
                    "NIST",
                    "CIS",
                  ],
                },
                "shortDescription": "Policy that is not compliant",
                "subItems": Array [
                  Object {
                    "items": Array [],
                    "name": "policy.pb",
                  },
                  Object {
                    "items": Array [],
                    "name": "policy.pp",
                  },
                ],
              },
            ]
          }
          locale="en-US"
          placeHolderText="Find policies"
          refreshControl={
            Object {
              "refreshCookie": "grc-refresh-interval-cookie",
              "reloading": false,
              "timestamp": "Tue Jul 23 2019 01:13:42 GMT-0400 (Eastern Daylight Time)",
            }
          }
          resourceType={
            Object {
              "list": "HCMPolicyPolicyList",
              "name": "HCMPolicyPolicy",
            }
          }
          secondaryHeaderProps={
            Object {
              "information": "grc.header.tooltip",
              "links": Array [
                Object {
                  "id": "create-policy",
                  "label": "button.create.policy",
                  "url": "/multicloud/policies/create",
                },
              ],
              "tabs": Array [
                Object {
                  "id": "grc-overview",
                  "index": 0,
                  "label": "tabs.grc.overview",
                  "url": "/multicloud/policies",
                },
                Object {
                  "id": "grc-all",
                  "index": 1,
                  "label": "tabs.grc.all",
                  "url": "/multicloud/policies/all",
                },
                Object {
                  "id": "grc-findings",
                  "index": 2,
                  "label": "tabs.grc.findings",
                  "url": "/multicloud/policies/findings",
                },
              ],
              "title": "routes.grc",
            }
          }
          showApplications={true}
          showGrcTabToggle={true}
          showSidePanel={false}
          staticResourceData={
            Object {
              "defaultSortField": "metadata.name",
              "policyViolatedSidePanel": Object {
                "headerRows": Array [
                  "",
                  "table.header.cluster.name",
                  "table.header.rule.violation",
                  "",
                ],
                "rows": Array [
                  Object {
                    "cells": Array [
                      Object {
                        "resourceKey": "metadata.name",
                      },
                      Object {
                        "resourceKey": "violated",
                      },
                      Object {
                        "resourceKey": "status.consoleURL",
                        "transformFunction": [Function],
                      },
                    ],
                  },
                ],
                "subHeaders": Array [
                  "table.header.name",
                  "table.header.message",
                  "table.header.timestamp",
                ],
              },
              "primaryKey": "metadata.name",
              "secondaryKey": "metadata.namespace",
              "tableActions": Array [
                "table.actions.edit",
                "table.actions.disable",
                "table.actions.enforce",
                "table.actions.remove",
              ],
              "tableKeys": Array [
                Object {
                  "msgKey": "table.header.policy.name",
                  "resourceKey": "metadata.name",
                  "transformFunction": [Function],
                },
                Object {
                  "msgKey": "table.header.namespace",
                  "resourceKey": "namespace",
                },
                Object {
                  "information": "grc.remediation.tooltip",
                  "msgKey": "table.header.remediation",
                  "resourceKey": "remediation",
                },
                Object {
                  "msgKey": "table.header.cluster.violation",
                  "resourceKey": "clusterCompliant",
                  "transformFunction": [Function],
                },
                Object {
                  "msgKey": "table.header.standards",
                  "resourceKey": "metadata.annotations[\\"policy.open-cluster-management.io/standards\\"]",
                  "transformFunction": [Function],
                },
                Object {
                  "msgKey": "table.header.categories",
                  "resourceKey": "metadata.annotations[\\"policy.open-cluster-management.io/categories\\"]",
                  "transformFunction": [Function],
                },
                Object {
                  "msgKey": "table.header.controls",
                  "resourceKey": "metadata.annotations[\\"policy.open-cluster-management.io/controls\\"]",
                  "transformFunction": [Function],
                },
              ],
            }
          }
          tabs={
            Array [
              Object {
                "id": "grc-overview",
                "index": 0,
                "label": "tabs.grc.overview",
                "url": "/multicloud/policies",
              },
              Object {
                "id": "grc-all",
                "index": 1,
                "label": "tabs.grc.all",
                "url": "/multicloud/policies/all",
              },
              Object {
                "id": "grc-findings",
                "index": 2,
                "label": "tabs.grc.findings",
                "url": "/multicloud/policies/findings",
              },
            ]
          }
          title="routes.grc"
          topButton={
            <div
              className="module-toggle-tab-switch-strip"
            >
              <div
                className="module-toggle-tab-switch-makeup"
              />
              <div
                className="module-toggle-tab-switch"
              />
            </div>
          }
        >
          <div
            className="module-toggle-tab-switch-strip"
          >
            <div
              className="module-toggle-tab-switch-makeup"
            />
            <div
              className="module-toggle-tab-switch"
            />
          </div>
        </withRouter(Connect(ResourceList))>
      </div>,
      "_rendering": false,
      "_updater": [Circular],
      "_workInProgressHook": null,
    },
  },
}
`;

exports[`GrcToggle view renders expand as expected 2`] = `
GrcToggleModule {
  "context": Object {},
  "props": Object {
    "grcItems": Array [
      Object {
        "__typename": "Occurrence",
        "context": Object {
          "accountId": "id-mycluster-account",
          "clusterName": "mycluster_name",
          "namespaceName": "kube-system",
          "region": null,
          "resourceCrn": null,
          "resourceId": "4093fbf9-765f-11e9-9e07-00163e01db7b",
          "resourceName": "other-auth-secret",
          "resourceType": "Secret",
          "serviceCrn": null,
          "serviceName": null,
        },
        "finding": Object {
          "certainty": "HIGH",
          "dataTransferred": null,
          "networkConnection": null,
          "nextSteps": Array [
            Object {
              "title": "View the details for the compliance problem in the occurrence of the findings.",
              "url": null,
            },
          ],
          "severity": "HIGH",
        },
        "name": "id-mycluster-account/providers/security-advisor/occurrences/secret-4093fbf9-765f-11e9-9e07-00163e01db7b",
        "reportedBy": Object {
          "id": "mcm-policy-adapter",
          "title": "Security Advisor MCM Policy Findings Adapter",
          "url": null,
        },
        "securityClassification": Object {
          "securityCategories": Array [
            "System and communications protections",
          ],
          "securityControl": "test",
          "securityStandards": Array [
            "NIST",
            "CIS",
          ],
        },
        "shortDescription": "Policy that is not compliant",
      },
      Object {
        "__typename": "Occurrence",
        "context": Object {
          "accountId": "id-mycluster-account",
          "clusterName": "cluster1",
          "namespaceName": "kube-system",
          "region": null,
          "resourceCrn": null,
          "resourceId": "4093fbf5-765f-11e9-9e07-00163e01db7b",
          "resourceName": "platform-auth-secret",
          "resourceType": "Secret",
          "serviceCrn": null,
          "serviceName": null,
        },
        "finding": Object {
          "certainty": "HIGH",
          "dataTransferred": null,
          "networkConnection": null,
          "nextSteps": Array [
            Object {
              "title": "View the details for the compliance problem in the occurrence of the findings.",
              "url": null,
            },
          ],
          "severity": "HIGH",
        },
        "name": "id-mycluster-account/providers/security-advisor/occurrences/secret-4093fbf5-765f-11e9-9e07-00163e01db7b",
        "reportedBy": Object {
          "id": "mcm-policy-adapter",
          "title": "Security Advisor MCM Policy Findings Adapter",
          "url": null,
        },
        "securityClassification": Object {
          "securityCategories": Array [
            "System and communications protections",
          ],
          "securityControl": "test",
          "securityStandards": Array [
            "NIST",
            "CIS",
          ],
        },
        "shortDescription": "Policy that is not compliant",
      },
      Object {
        "__typename": "Occurrence",
        "context": Object {
          "accountId": "id-mycluster-account",
          "clusterName": "clusterhub",
          "namespaceName": "kube-system",
          "region": null,
          "resourceCrn": null,
          "resourceId": "94fe9769-765f-11e9-9e07-00163e01db7b",
          "resourceName": "multicluster_name-hub-search-secrets",
          "resourceType": "Secret",
          "serviceCrn": null,
          "serviceName": null,
        },
        "finding": Object {
          "certainty": "HIGH",
          "dataTransferred": null,
          "networkConnection": null,
          "nextSteps": Array [
            Object {
              "title": "View the details for the compliance problem in the occurrence of the findings.",
              "url": null,
            },
          ],
          "severity": "HIGH",
        },
        "name": "id-mycluster-account/providers/security-advisor/occurrences/secret-94fe9769-765f-11e9-9e07-00163e01db7b",
        "reportedBy": Object {
          "id": "mcm-policy-adapter",
          "title": "Security Advisor MCM Policy Findings Adapter",
          "url": null,
        },
        "securityClassification": Object {
          "securityCategories": Array [
            "System and communications protections",
          ],
          "securityControl": "test",
          "securityStandards": Array [
            "NIST",
            "CIS",
          ],
        },
        "shortDescription": "Policy that is not compliant",
      },
    ],
    "grcTabToggleIndex": 0,
    "highLightRowName": "",
    "locale": "en-US",
    "refreshControl": Object {
      "refreshCookie": "grc-refresh-interval-cookie",
      "reloading": false,
      "timestamp": "Tue Jul 23 2019 01:13:42 GMT-0400 (Eastern Daylight Time)",
    },
    "secondaryHeaderProps": Object {
      "information": "grc.header.tooltip",
      "links": Array [
        Object {
          "id": "create-policy",
          "label": "button.create.policy",
          "url": "/multicloud/policies/create",
        },
      ],
      "tabs": Array [
        Object {
          "id": "grc-overview",
          "index": 0,
          "label": "tabs.grc.overview",
          "url": "/multicloud/policies",
        },
        Object {
          "id": "grc-all",
          "index": 1,
          "label": "tabs.grc.all",
          "url": "/multicloud/policies/all",
        },
        Object {
          "id": "grc-findings",
          "index": 2,
          "label": "tabs.grc.findings",
          "url": "/multicloud/policies/findings",
        },
      ],
      "title": "routes.grc",
    },
    "showApplications": true,
    "showGrcTabToggle": false,
    "showSidePanel": false,
  },
  "refs": Object {},
  "setState": [Function],
  "state": null,
  "toggleClick": [Function],
  "updater": Updater {
    "_callbacks": Array [],
    "_renderer": ReactShallowRenderer {
      "_context": Object {},
      "_didScheduleRenderPhaseUpdate": false,
      "_dispatcher": Object {
        "readContext": [Function],
        "useCallback": [Function],
        "useContext": [Function],
        "useDebugValue": [Function],
        "useDeferredValue": [Function],
        "useEffect": [Function],
        "useImperativeHandle": [Function],
        "useLayoutEffect": [Function],
        "useMemo": [Function],
        "useReducer": [Function],
        "useRef": [Function],
        "useResponder": [Function],
        "useState": [Function],
        "useTransition": [Function],
      },
      "_element": <GrcToggleModule
        grcItems={
          Array [
            Object {
              "__typename": "Occurrence",
              "context": Object {
                "accountId": "id-mycluster-account",
                "clusterName": "mycluster_name",
                "namespaceName": "kube-system",
                "region": null,
                "resourceCrn": null,
                "resourceId": "4093fbf9-765f-11e9-9e07-00163e01db7b",
                "resourceName": "other-auth-secret",
                "resourceType": "Secret",
                "serviceCrn": null,
                "serviceName": null,
              },
              "finding": Object {
                "certainty": "HIGH",
                "dataTransferred": null,
                "networkConnection": null,
                "nextSteps": Array [
                  Object {
                    "title": "View the details for the compliance problem in the occurrence of the findings.",
                    "url": null,
                  },
                ],
                "severity": "HIGH",
              },
              "name": "id-mycluster-account/providers/security-advisor/occurrences/secret-4093fbf9-765f-11e9-9e07-00163e01db7b",
              "reportedBy": Object {
                "id": "mcm-policy-adapter",
                "title": "Security Advisor MCM Policy Findings Adapter",
                "url": null,
              },
              "securityClassification": Object {
                "securityCategories": Array [
                  "System and communications protections",
                ],
                "securityControl": "test",
                "securityStandards": Array [
                  "NIST",
                  "CIS",
                ],
              },
              "shortDescription": "Policy that is not compliant",
            },
            Object {
              "__typename": "Occurrence",
              "context": Object {
                "accountId": "id-mycluster-account",
                "clusterName": "cluster1",
                "namespaceName": "kube-system",
                "region": null,
                "resourceCrn": null,
                "resourceId": "4093fbf5-765f-11e9-9e07-00163e01db7b",
                "resourceName": "platform-auth-secret",
                "resourceType": "Secret",
                "serviceCrn": null,
                "serviceName": null,
              },
              "finding": Object {
                "certainty": "HIGH",
                "dataTransferred": null,
                "networkConnection": null,
                "nextSteps": Array [
                  Object {
                    "title": "View the details for the compliance problem in the occurrence of the findings.",
                    "url": null,
                  },
                ],
                "severity": "HIGH",
              },
              "name": "id-mycluster-account/providers/security-advisor/occurrences/secret-4093fbf5-765f-11e9-9e07-00163e01db7b",
              "reportedBy": Object {
                "id": "mcm-policy-adapter",
                "title": "Security Advisor MCM Policy Findings Adapter",
                "url": null,
              },
              "securityClassification": Object {
                "securityCategories": Array [
                  "System and communications protections",
                ],
                "securityControl": "test",
                "securityStandards": Array [
                  "NIST",
                  "CIS",
                ],
              },
              "shortDescription": "Policy that is not compliant",
            },
            Object {
              "__typename": "Occurrence",
              "context": Object {
                "accountId": "id-mycluster-account",
                "clusterName": "clusterhub",
                "namespaceName": "kube-system",
                "region": null,
                "resourceCrn": null,
                "resourceId": "94fe9769-765f-11e9-9e07-00163e01db7b",
                "resourceName": "multicluster_name-hub-search-secrets",
                "resourceType": "Secret",
                "serviceCrn": null,
                "serviceName": null,
              },
              "finding": Object {
                "certainty": "HIGH",
                "dataTransferred": null,
                "networkConnection": null,
                "nextSteps": Array [
                  Object {
                    "title": "View the details for the compliance problem in the occurrence of the findings.",
                    "url": null,
                  },
                ],
                "severity": "HIGH",
              },
              "name": "id-mycluster-account/providers/security-advisor/occurrences/secret-94fe9769-765f-11e9-9e07-00163e01db7b",
              "reportedBy": Object {
                "id": "mcm-policy-adapter",
                "title": "Security Advisor MCM Policy Findings Adapter",
                "url": null,
              },
              "securityClassification": Object {
                "securityCategories": Array [
                  "System and communications protections",
                ],
                "securityControl": "test",
                "securityStandards": Array [
                  "NIST",
                  "CIS",
                ],
              },
              "shortDescription": "Policy that is not compliant",
            },
          ]
        }
        grcTabToggleIndex={0}
        highLightRowName=""
        locale="en-US"
        refreshControl={
          Object {
            "refreshCookie": "grc-refresh-interval-cookie",
            "reloading": false,
            "timestamp": "Tue Jul 23 2019 01:13:42 GMT-0400 (Eastern Daylight Time)",
          }
        }
        secondaryHeaderProps={
          Object {
            "information": "grc.header.tooltip",
            "links": Array [
              Object {
                "id": "create-policy",
                "label": "button.create.policy",
                "url": "/multicloud/policies/create",
              },
            ],
            "tabs": Array [
              Object {
                "id": "grc-overview",
                "index": 0,
                "label": "tabs.grc.overview",
                "url": "/multicloud/policies",
              },
              Object {
                "id": "grc-all",
                "index": 1,
                "label": "tabs.grc.all",
                "url": "/multicloud/policies/all",
              },
              Object {
                "id": "grc-findings",
                "index": 2,
                "label": "tabs.grc.findings",
                "url": "/multicloud/policies/findings",
              },
            ],
            "title": "routes.grc",
          }
        }
        showApplications={true}
        showGrcTabToggle={false}
        showSidePanel={false}
      />,
      "_firstWorkInProgressHook": null,
      "_forcedUpdate": false,
      "_instance": [Circular],
      "_isReRender": false,
      "_newState": null,
      "_numberOfReRenders": 0,
      "_renderPhaseUpdates": null,
      "_rendered": <div
        className="module-toggle-tab"
      >
        <withRouter(Connect(ResourceList))
          autoAction="table.actions.policy.sidepanel"
          detailsTabs={
            Array [
              "policies",
            ]
          }
          getVisibleResources={[Function]}
          grcItems={
            Array [
              Object {
                "__typename": "Occurrence",
                "context": Object {
                  "accountId": "id-mycluster-account",
                  "clusterName": "mycluster_name",
                  "namespaceName": "kube-system",
                  "region": null,
                  "resourceCrn": null,
                  "resourceId": "4093fbf9-765f-11e9-9e07-00163e01db7b",
                  "resourceName": "other-auth-secret",
                  "resourceType": "Secret",
                  "serviceCrn": null,
                  "serviceName": null,
                },
                "finding": Object {
                  "certainty": "HIGH",
                  "dataTransferred": null,
                  "networkConnection": null,
                  "nextSteps": Array [
                    Object {
                      "title": "View the details for the compliance problem in the occurrence of the findings.",
                      "url": null,
                    },
                  ],
                  "severity": "HIGH",
                },
                "name": "id-mycluster-account/providers/security-advisor/occurrences/secret-4093fbf9-765f-11e9-9e07-00163e01db7b",
                "reportedBy": Object {
                  "id": "mcm-policy-adapter",
                  "title": "Security Advisor MCM Policy Findings Adapter",
                  "url": null,
                },
                "securityClassification": Object {
                  "securityCategories": Array [
                    "System and communications protections",
                  ],
                  "securityControl": "test",
                  "securityStandards": Array [
                    "NIST",
                    "CIS",
                  ],
                },
                "shortDescription": "Policy that is not compliant",
              },
              Object {
                "__typename": "Occurrence",
                "context": Object {
                  "accountId": "id-mycluster-account",
                  "clusterName": "cluster1",
                  "namespaceName": "kube-system",
                  "region": null,
                  "resourceCrn": null,
                  "resourceId": "4093fbf5-765f-11e9-9e07-00163e01db7b",
                  "resourceName": "platform-auth-secret",
                  "resourceType": "Secret",
                  "serviceCrn": null,
                  "serviceName": null,
                },
                "finding": Object {
                  "certainty": "HIGH",
                  "dataTransferred": null,
                  "networkConnection": null,
                  "nextSteps": Array [
                    Object {
                      "title": "View the details for the compliance problem in the occurrence of the findings.",
                      "url": null,
                    },
                  ],
                  "severity": "HIGH",
                },
                "name": "id-mycluster-account/providers/security-advisor/occurrences/secret-4093fbf5-765f-11e9-9e07-00163e01db7b",
                "reportedBy": Object {
                  "id": "mcm-policy-adapter",
                  "title": "Security Advisor MCM Policy Findings Adapter",
                  "url": null,
                },
                "securityClassification": Object {
                  "securityCategories": Array [
                    "System and communications protections",
                  ],
                  "securityControl": "test",
                  "securityStandards": Array [
                    "NIST",
                    "CIS",
                  ],
                },
                "shortDescription": "Policy that is not compliant",
              },
              Object {
                "__typename": "Occurrence",
                "context": Object {
                  "accountId": "id-mycluster-account",
                  "clusterName": "clusterhub",
                  "namespaceName": "kube-system",
                  "region": null,
                  "resourceCrn": null,
                  "resourceId": "94fe9769-765f-11e9-9e07-00163e01db7b",
                  "resourceName": "multicluster_name-hub-search-secrets",
                  "resourceType": "Secret",
                  "serviceCrn": null,
                  "serviceName": null,
                },
                "finding": Object {
                  "certainty": "HIGH",
                  "dataTransferred": null,
                  "networkConnection": null,
                  "nextSteps": Array [
                    Object {
                      "title": "View the details for the compliance problem in the occurrence of the findings.",
                      "url": null,
                    },
                  ],
                  "severity": "HIGH",
                },
                "name": "id-mycluster-account/providers/security-advisor/occurrences/secret-94fe9769-765f-11e9-9e07-00163e01db7b",
                "reportedBy": Object {
                  "id": "mcm-policy-adapter",
                  "title": "Security Advisor MCM Policy Findings Adapter",
                  "url": null,
                },
                "securityClassification": Object {
                  "securityCategories": Array [
                    "System and communications protections",
                  ],
                  "securityControl": "test",
                  "securityStandards": Array [
                    "NIST",
                    "CIS",
                  ],
                },
                "shortDescription": "Policy that is not compliant",
              },
            ]
          }
          grcTabToggleIndex={0}
          highLightRowName=""
          information="grc.header.tooltip"
          links={
            Array [
              Object {
                "id": "create-policy",
                "label": "button.create.policy",
                "url": "/multicloud/policies/create",
              },
            ]
          }
          listData={
            Array [
              Object {
                "__typename": "Occurrence",
                "context": Object {
                  "accountId": "id-mycluster-account",
                  "clusterName": "mycluster_name",
                  "namespaceName": "kube-system",
                  "region": null,
                  "resourceCrn": null,
                  "resourceId": "4093fbf9-765f-11e9-9e07-00163e01db7b",
                  "resourceName": "other-auth-secret",
                  "resourceType": "Secret",
                  "serviceCrn": null,
                  "serviceName": null,
                },
                "finding": Object {
                  "certainty": "HIGH",
                  "dataTransferred": null,
                  "networkConnection": null,
                  "nextSteps": Array [
                    Object {
                      "title": "View the details for the compliance problem in the occurrence of the findings.",
                      "url": null,
                    },
                  ],
                  "severity": "HIGH",
                },
                "name": "id-mycluster-account/providers/security-advisor/occurrences/secret-4093fbf9-765f-11e9-9e07-00163e01db7b",
                "reportedBy": Object {
                  "id": "mcm-policy-adapter",
                  "title": "Security Advisor MCM Policy Findings Adapter",
                  "url": null,
                },
                "securityClassification": Object {
                  "securityCategories": Array [
                    "System and communications protections",
                  ],
                  "securityControl": "test",
                  "securityStandards": Array [
                    "NIST",
                    "CIS",
                  ],
                },
                "shortDescription": "Policy that is not compliant",
                "subItems": Array [
                  Object {
                    "items": Array [],
                    "name": "policy.pb",
                  },
                  Object {
                    "items": Array [],
                    "name": "policy.pp",
                  },
                ],
              },
              Object {
                "__typename": "Occurrence",
                "context": Object {
                  "accountId": "id-mycluster-account",
                  "clusterName": "cluster1",
                  "namespaceName": "kube-system",
                  "region": null,
                  "resourceCrn": null,
                  "resourceId": "4093fbf5-765f-11e9-9e07-00163e01db7b",
                  "resourceName": "platform-auth-secret",
                  "resourceType": "Secret",
                  "serviceCrn": null,
                  "serviceName": null,
                },
                "finding": Object {
                  "certainty": "HIGH",
                  "dataTransferred": null,
                  "networkConnection": null,
                  "nextSteps": Array [
                    Object {
                      "title": "View the details for the compliance problem in the occurrence of the findings.",
                      "url": null,
                    },
                  ],
                  "severity": "HIGH",
                },
                "name": "id-mycluster-account/providers/security-advisor/occurrences/secret-4093fbf5-765f-11e9-9e07-00163e01db7b",
                "reportedBy": Object {
                  "id": "mcm-policy-adapter",
                  "title": "Security Advisor MCM Policy Findings Adapter",
                  "url": null,
                },
                "securityClassification": Object {
                  "securityCategories": Array [
                    "System and communications protections",
                  ],
                  "securityControl": "test",
                  "securityStandards": Array [
                    "NIST",
                    "CIS",
                  ],
                },
                "shortDescription": "Policy that is not compliant",
                "subItems": Array [
                  Object {
                    "items": Array [],
                    "name": "policy.pb",
                  },
                  Object {
                    "items": Array [],
                    "name": "policy.pp",
                  },
                ],
              },
              Object {
                "__typename": "Occurrence",
                "context": Object {
                  "accountId": "id-mycluster-account",
                  "clusterName": "clusterhub",
                  "namespaceName": "kube-system",
                  "region": null,
                  "resourceCrn": null,
                  "resourceId": "94fe9769-765f-11e9-9e07-00163e01db7b",
                  "resourceName": "multicluster_name-hub-search-secrets",
                  "resourceType": "Secret",
                  "serviceCrn": null,
                  "serviceName": null,
                },
                "finding": Object {
                  "certainty": "HIGH",
                  "dataTransferred": null,
                  "networkConnection": null,
                  "nextSteps": Array [
                    Object {
                      "title": "View the details for the compliance problem in the occurrence of the findings.",
                      "url": null,
                    },
                  ],
                  "severity": "HIGH",
                },
                "name": "id-mycluster-account/providers/security-advisor/occurrences/secret-94fe9769-765f-11e9-9e07-00163e01db7b",
                "reportedBy": Object {
                  "id": "mcm-policy-adapter",
                  "title": "Security Advisor MCM Policy Findings Adapter",
                  "url": null,
                },
                "securityClassification": Object {
                  "securityCategories": Array [
                    "System and communications protections",
                  ],
                  "securityControl": "test",
                  "securityStandards": Array [
                    "NIST",
                    "CIS",
                  ],
                },
                "shortDescription": "Policy that is not compliant",
                "subItems": Array [
                  Object {
                    "items": Array [],
                    "name": "policy.pb",
                  },
                  Object {
                    "items": Array [],
                    "name": "policy.pp",
                  },
                ],
              },
            ]
          }
          locale="en-US"
          placeHolderText="Find policies"
          refreshControl={
            Object {
              "refreshCookie": "grc-refresh-interval-cookie",
              "reloading": false,
              "timestamp": "Tue Jul 23 2019 01:13:42 GMT-0400 (Eastern Daylight Time)",
            }
          }
          resourceType={
            Object {
              "list": "HCMPolicyPolicyList",
              "name": "HCMPolicyPolicy",
            }
          }
          secondaryHeaderProps={
            Object {
              "information": "grc.header.tooltip",
              "links": Array [
                Object {
                  "id": "create-policy",
                  "label": "button.create.policy",
                  "url": "/multicloud/policies/create",
                },
              ],
              "tabs": Array [
                Object {
                  "id": "grc-overview",
                  "index": 0,
                  "label": "tabs.grc.overview",
                  "url": "/multicloud/policies",
                },
                Object {
                  "id": "grc-all",
                  "index": 1,
                  "label": "tabs.grc.all",
                  "url": "/multicloud/policies/all",
                },
                Object {
                  "id": "grc-findings",
                  "index": 2,
                  "label": "tabs.grc.findings",
                  "url": "/multicloud/policies/findings",
                },
              ],
              "title": "routes.grc",
            }
          }
          showApplications={true}
          showGrcTabToggle={false}
          showSidePanel={false}
          staticResourceData={
            Object {
              "defaultSortField": "metadata.name",
              "policyViolatedSidePanel": Object {
                "headerRows": Array [
                  "",
                  "table.header.cluster.name",
                  "table.header.rule.violation",
                  "",
                ],
                "rows": Array [
                  Object {
                    "cells": Array [
                      Object {
                        "resourceKey": "metadata.name",
                      },
                      Object {
                        "resourceKey": "violated",
                      },
                      Object {
                        "resourceKey": "status.consoleURL",
                        "transformFunction": [Function],
                      },
                    ],
                  },
                ],
                "subHeaders": Array [
                  "table.header.name",
                  "table.header.message",
                  "table.header.timestamp",
                ],
              },
              "primaryKey": "metadata.name",
              "secondaryKey": "metadata.namespace",
              "tableActions": Array [
                "table.actions.edit",
                "table.actions.disable",
                "table.actions.enforce",
                "table.actions.remove",
              ],
              "tableKeys": Array [
                Object {
                  "msgKey": "table.header.policy.name",
                  "resourceKey": "metadata.name",
                  "transformFunction": [Function],
                },
                Object {
                  "msgKey": "table.header.namespace",
                  "resourceKey": "namespace",
                },
                Object {
                  "information": "grc.remediation.tooltip",
                  "msgKey": "table.header.remediation",
                  "resourceKey": "remediation",
                },
                Object {
                  "msgKey": "table.header.cluster.violation",
                  "resourceKey": "clusterCompliant",
                  "transformFunction": [Function],
                },
                Object {
                  "msgKey": "table.header.standards",
                  "resourceKey": "metadata.annotations[\\"policy.open-cluster-management.io/standards\\"]",
                  "transformFunction": [Function],
                },
                Object {
                  "msgKey": "table.header.categories",
                  "resourceKey": "metadata.annotations[\\"policy.open-cluster-management.io/categories\\"]",
                  "transformFunction": [Function],
                },
                Object {
                  "msgKey": "table.header.controls",
                  "resourceKey": "metadata.annotations[\\"policy.open-cluster-management.io/controls\\"]",
                  "transformFunction": [Function],
                },
              ],
            }
          }
          tabs={
            Array [
              Object {
                "id": "grc-overview",
                "index": 0,
                "label": "tabs.grc.overview",
                "url": "/multicloud/policies",
              },
              Object {
                "id": "grc-all",
                "index": 1,
                "label": "tabs.grc.all",
                "url": "/multicloud/policies/all",
              },
              Object {
                "id": "grc-findings",
                "index": 2,
                "label": "tabs.grc.findings",
                "url": "/multicloud/policies/findings",
              },
            ]
          }
          title="routes.grc"
          topButton={Array []}
        />
      </div>,
      "_rendering": false,
      "_updater": [Circular],
      "_workInProgressHook": null,
    },
  },
}
`;

exports[`GrcToggle view with application renders expand as expected 1`] = `
GrcToggleModule {
  "context": Object {},
  "props": Object {
    "grcItems": Array [
      Object {
        "__typename": "Compliance",
        "clusterCompliant": "0/2",
        "metadata": Object {
          "__typename": "Metadata",
          "annotations": Object {
            "policy.open-cluster-management.io/categories": "",
            "policy.open-cluster-management.io/controls": "",
            "policy.open-cluster-management.io/standards": "",
            "seed-generation": "1",
          },
          "name": "my-policy",
          "namespace": "mcm",
          "resourceVersion": "1347399",
          "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/my-policy",
        },
        "name": "my-policy",
        "namespace": "mcm",
        "placementBindings": Array [
          Object {
            "__typename": "PlacementBinding",
            "metadata": Object {
              "__typename": "Metadata",
              "name": "binding-my-policy",
              "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-my-policy",
            },
          },
        ],
        "placementPolicies": Array [
          Object {
            "__typename": "PlacementPolicy",
            "metadata": Object {
              "__typename": "Metadata",
              "name": "placement-my-policy",
              "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-my-policy",
            },
          },
        ],
        "policyCompliant": "0/2",
        "raw": Object {
          "apiVersion": "policy.open-cluster-management.io/v1",
          "kind": "Policy",
          "metadata": Object {
            "annotations": Object {
              "policy.open-cluster-management.io/categories": "",
              "policy.open-cluster-management.io/controls": "",
              "policy.open-cluster-management.io/standards": "",
              "seed-generation": "1",
            },
            "creationTimestamp": "2019-07-21T15:53:58Z",
            "finalizers": Array [
              "propagator.finalizer.mcm.ibm.com",
            ],
            "generation": 55,
            "name": "my-policy",
            "namespace": "mcm",
            "resourceVersion": "1347399",
            "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/my-policy",
            "uid": "c049ec0d-abcf-11e9-8a41-005056a061f1",
          },
          "spec": Object {
            "complianceType": "musthave",
            "namespaces": Object {
              "exclude": Array [
                "kube-*",
              ],
              "include": Array [
                "default",
              ],
            },
            "object-templates": Array [
              Object {
                "complianceType": "musthave",
                "objectDefinition": Object {
                  "apiVersion": "rbac.authorization.k8s.io/v1",
                  "kind": "RoleBinding",
                  "metadata": Object {
                    "name": "operate-pods-rolebinding",
                  },
                  "roleRef": Object {
                    "apiGroup": "rbac.authorization.k8s.io",
                    "kind": "Role",
                    "name": "operator",
                  },
                  "subjects": Array [
                    Object {
                      "apiGroup": "rbac.authorization.k8s.io",
                      "kind": "User",
                      "name": "admin",
                    },
                  ],
                },
                "status": Object {
                  "Validity": Object {},
                },
              },
            ],
            "remediationAction": "enforce",
          },
          "status": Object {
            "placement": Array [
              Object {
                "placementBinding": "binding-my-policy",
                "placementRule": "placement-my-policy",
              },
            ],
            "status": Object {
              "cluster1": Object {
                "aggregatePoliciesStatus": Object {
                  "my-policy": Object {
                    "compliant": "Compliant",
                  },
                },
                "clustername": "cluster1",
                "compliant": "Compliant",
              },
              "clusterhub": Object {
                "aggregatePoliciesStatus": Object {
                  "my-policy": Object {
                    "compliant": "Compliant",
                  },
                },
                "clustername": "clusterhub",
                "compliant": "Compliant",
              },
            },
          },
        },
        "remediation": "enforce",
      },
      Object {
        "__typename": "Compliance",
        "clusterCompliant": "1/2",
        "metadata": Object {
          "__typename": "Metadata",
          "annotations": Object {
            "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST\\"},\\"name\\":\\"policy-ma\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"policy-templates\\":[{\\"objectDefinition\\":{\\"apiVersion\\":\\"policies.ibm.com/v1alpha1\\",\\"kind\\":\\"MutationPolicy\\",\\"metadata\\":{\\"label\\":{\\"category\\":\\"System-Integrity\\"},\\"name\\":\\"mutation-policy-example\\"},\\"spec\\":{\\"conditions\\":{\\"ownership\\":[\\"ReplicaSet\\",\\"Deployment\\",\\"DeamonSet\\",\\"ReplicationController\\"]},\\"namespaceSelector\\":{\\"exclude\\":[\\"kube-system\\"],\\"include\\":[\\"default\\",\\"kube-*\\"]},\\"remediationAction\\":\\"enforce\\"}}}],\\"remediationAction\\":\\"enforce\\"}}
",
            "policy.open-cluster-management.io/categories": "SystemAndInformationIntegrity",
            "policy.open-cluster-management.io/controls": "MutationAdvisor",
            "policy.open-cluster-management.io/standards": "NIST",
            "seed-generation": "1",
          },
          "name": "policy-ma",
          "namespace": "mcm",
          "resourceVersion": "1347579",
          "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-ma",
        },
        "name": "policy-ma",
        "namespace": "mcm",
        "placementBindings": Array [
          Object {
            "__typename": "PlacementBinding",
            "metadata": Object {
              "__typename": "Metadata",
              "name": "binding-ma",
              "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-ma",
            },
          },
        ],
        "placementPolicies": Array [
          Object {
            "__typename": "PlacementPolicy",
            "metadata": Object {
              "__typename": "Metadata",
              "name": "placement-ma",
              "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-ma",
            },
          },
        ],
        "policyCompliant": "1/2",
        "raw": Object {
          "apiVersion": "policy.open-cluster-management.io/v1",
          "kind": "Policy",
          "metadata": Object {
            "annotations": Object {
              "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST\\"},\\"name\\":\\"policy-ma\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"policy-templates\\":[{\\"objectDefinition\\":{\\"apiVersion\\":\\"policies.ibm.com/v1alpha1\\",\\"kind\\":\\"MutationPolicy\\",\\"metadata\\":{\\"label\\":{\\"category\\":\\"System-Integrity\\"},\\"name\\":\\"mutation-policy-example\\"},\\"spec\\":{\\"conditions\\":{\\"ownership\\":[\\"ReplicaSet\\",\\"Deployment\\",\\"DeamonSet\\",\\"ReplicationController\\"]},\\"namespaceSelector\\":{\\"exclude\\":[\\"kube-system\\"],\\"include\\":[\\"default\\",\\"kube-*\\"]},\\"remediationAction\\":\\"enforce\\"}}}],\\"remediationAction\\":\\"enforce\\"}}
",
              "policy.open-cluster-management.io/categories": "SystemAndInformationIntegrity",
              "policy.open-cluster-management.io/controls": "MutationAdvisor",
              "policy.open-cluster-management.io/standards": "NIST",
              "seed-generation": "1",
            },
            "creationTimestamp": "2019-07-16T13:18:48Z",
            "finalizers": Array [
              "propagator.finalizer.mcm.ibm.com",
            ],
            "generation": 45,
            "name": "policy-ma",
            "namespace": "mcm",
            "resourceVersion": "1347579",
            "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-ma",
            "uid": "3f218d45-a7cc-11e9-8a41-005056a061f1",
          },
          "spec": Object {
            "namespaces": Object {},
            "policy-templates": Array [
              Object {
                "objectDefinition": Object {
                  "apiVersion": "policies.ibm.com/v1alpha1",
                  "kind": "MutationPolicy",
                  "metadata": Object {
                    "label": Object {
                      "category": "System-Integrity",
                    },
                    "name": "mutation-policy-example",
                  },
                  "spec": Object {
                    "conditions": Object {
                      "ownership": Array [
                        "ReplicaSet",
                        "Deployment",
                        "DeamonSet",
                        "ReplicationController",
                      ],
                    },
                    "namespaceSelector": Object {
                      "exclude": Array [
                        "kube-system",
                      ],
                      "include": Array [
                        "default",
                        "kube-*",
                      ],
                    },
                    "remediationAction": "enforce",
                  },
                },
                "status": Object {
                  "Validity": Object {},
                },
              },
            ],
            "remediationAction": "enforce",
          },
          "status": Object {
            "placement": Array [
              Object {
                "placementBinding": "binding-ma",
                "placementRule": "placement-ma",
              },
            ],
            "status": Object {
              "cluster1": Object {
                "aggregatePoliciesStatus": Object {
                  "policy-ma": Object {
                    "compliant": "NonCompliant",
                  },
                },
                "clustername": "cluster1",
                "compliant": "NonCompliant",
              },
              "clusterhub": Object {
                "aggregatePoliciesStatus": Object {
                  "policy-ma": Object {
                    "compliant": "Compliant",
                  },
                },
                "clustername": "clusterhub",
                "compliant": "Compliant",
              },
            },
          },
        },
        "remediation": "enforce",
      },
      Object {
        "__typename": "Compliance",
        "clusterCompliant": "1/2",
        "metadata": Object {
          "__typename": "Metadata",
          "annotations": Object {
            "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
            "policy.open-cluster-management.io/controls": "MutationAdvisor,CertificateManager",
            "policy.open-cluster-management.io/standards": "NIST,HIPAA",
            "seed-generation": "1",
          },
          "name": "policy-pod",
          "namespace": "mcm",
          "resourceVersion": "1257026",
          "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-pod",
        },
        "name": "policy-pod",
        "namespace": "mcm",
        "placementBindings": Array [
          Object {
            "__typename": "PlacementBinding",
            "metadata": Object {
              "__typename": "Metadata",
              "name": "binding-pod",
              "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-pod",
            },
          },
        ],
        "placementPolicies": Array [
          Object {
            "__typename": "PlacementPolicy",
            "metadata": Object {
              "__typename": "Metadata",
              "name": "placement-pod",
              "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-pod",
            },
          },
        ],
        "policyCompliant": "1/2",
        "raw": Object {
          "apiVersion": "policy.open-cluster-management.io/v1",
          "kind": "Policy",
          "metadata": Object {
            "annotations": Object {
              "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
              "policy.open-cluster-management.io/controls": "MutationAdvisor,CertificateManager",
              "policy.open-cluster-management.io/standards": "NIST,HIPAA",
              "seed-generation": "1",
            },
            "creationTimestamp": "2019-07-16T13:16:46Z",
            "finalizers": Array [
              "propagator.finalizer.mcm.ibm.com",
            ],
            "generation": 19,
            "name": "policy-pod",
            "namespace": "mcm",
            "resourceVersion": "1257026",
            "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-pod",
            "uid": "f61a25eb-a7cb-11e9-8a41-005056a061f1",
          },
          "spec": Object {
            "complianceType": "musthave",
            "namespaces": Object {
              "exclude": Array [
                "kube*",
              ],
              "include": Array [
                "default",
              ],
            },
            "object-templates": Array [
              Object {
                "complianceType": "musthave",
                "objectDefinition": Object {
                  "apiVersion": "v1",
                  "kind": "Pod",
                  "metadata": Object {
                    "name": "nginx-pod",
                  },
                  "spec": Object {
                    "containers": Array [
                      Object {
                        "image": "nginx:1.7.9",
                        "name": "nginx",
                        "ports": Array [
                          Object {
                            "containerPort": 80,
                          },
                        ],
                      },
                    ],
                  },
                },
                "status": Object {
                  "Validity": Object {},
                },
              },
            ],
            "remediationAction": "inform",
          },
          "status": Object {
            "placement": Array [
              Object {
                "placementBinding": "binding-pod",
                "placementRule": "placement-pod",
              },
            ],
            "status": Object {
              "cluster1": Object {
                "aggregatePoliciesStatus": Object {
                  "policy-pod": Object {
                    "compliant": "Compliant",
                  },
                },
                "clustername": "cluster1",
                "compliant": "Compliant",
              },
              "clusterhub": Object {
                "aggregatePoliciesStatus": Object {
                  "policy-pod": Object {
                    "compliant": "NonCompliant",
                  },
                },
                "clustername": "clusterhub",
                "compliant": "NonCompliant",
              },
            },
          },
        },
        "remediation": "inform",
      },
      Object {
        "__typename": "Compliance",
        "clusterCompliant": "1/2",
        "metadata": Object {
          "__typename": "Metadata",
          "annotations": Object {
            "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndCommunicationsProtections,SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor,VA\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST,HIPAA\\"},\\"name\\":\\"policy-role\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"namespaces\\":{\\"exclude\\":[\\"kube*\\"],\\"include\\":[\\"default\\"]},\\"remediationAction\\":\\"inform\\",\\"role-templates\\":[{\\"apiVersion\\":\\"roletemplate.mcm.ibm.com/v1alpha1\\",\\"complianceType\\":\\"musthave\\",\\"metadata\\":{\\"name\\":\\"operator-role-policy\\",\\"namespace\\":\\"\\"},\\"rules\\":[{\\"complianceType\\":\\"musthave\\",\\"policyRule\\":{\\"apiGroups\\":[\\"extensions\\",\\"apps\\"],\\"resources\\":[\\"deployments\\"],\\"verbs\\":[\\"get\\",\\"list\\",\\"watch\\",\\"create\\",\\"delete\\",\\"patch\\"]}}],\\"selector\\":{\\"matchLabels\\":{\\"dev\\":\\"true\\"}}}]}}
",
            "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
            "policy.open-cluster-management.io/controls": "MutationAdvisor,VA",
            "policy.open-cluster-management.io/standards": "NIST,HIPAA",
            "seed-generation": "1",
          },
          "name": "policy-role",
          "namespace": "mcm",
          "resourceVersion": "1201118",
          "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-role",
        },
        "name": "policy-role",
        "namespace": "mcm",
        "placementBindings": Array [
          Object {
            "__typename": "PlacementBinding",
            "metadata": Object {
              "__typename": "Metadata",
              "name": "binding-role",
              "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-role",
            },
          },
        ],
        "placementPolicies": Array [
          Object {
            "__typename": "PlacementPolicy",
            "metadata": Object {
              "__typename": "Metadata",
              "name": "placement-role",
              "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-role",
            },
          },
        ],
        "policyCompliant": "1/2",
        "raw": Object {
          "apiVersion": "policy.open-cluster-management.io/v1",
          "kind": "Policy",
          "metadata": Object {
            "annotations": Object {
              "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndCommunicationsProtections,SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor,VA\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST,HIPAA\\"},\\"name\\":\\"policy-role\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"namespaces\\":{\\"exclude\\":[\\"kube*\\"],\\"include\\":[\\"default\\"]},\\"remediationAction\\":\\"inform\\",\\"role-templates\\":[{\\"apiVersion\\":\\"roletemplate.mcm.ibm.com/v1alpha1\\",\\"complianceType\\":\\"musthave\\",\\"metadata\\":{\\"name\\":\\"operator-role-policy\\",\\"namespace\\":\\"\\"},\\"rules\\":[{\\"complianceType\\":\\"musthave\\",\\"policyRule\\":{\\"apiGroups\\":[\\"extensions\\",\\"apps\\"],\\"resources\\":[\\"deployments\\"],\\"verbs\\":[\\"get\\",\\"list\\",\\"watch\\",\\"create\\",\\"delete\\",\\"patch\\"]}}],\\"selector\\":{\\"matchLabels\\":{\\"dev\\":\\"true\\"}}}]}}
",
              "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
              "policy.open-cluster-management.io/controls": "MutationAdvisor,VA",
              "policy.open-cluster-management.io/standards": "NIST,HIPAA",
              "seed-generation": "1",
            },
            "creationTimestamp": "2019-07-16T13:19:03Z",
            "finalizers": Array [
              "propagator.finalizer.mcm.ibm.com",
            ],
            "generation": 16,
            "name": "policy-role",
            "namespace": "mcm",
            "resourceVersion": "1201118",
            "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-role",
            "uid": "47dbc091-a7cc-11e9-8a41-005056a061f1",
          },
          "spec": Object {
            "namespaces": Object {
              "exclude": Array [
                "kube*",
              ],
              "include": Array [
                "default",
              ],
            },
            "remediationAction": "inform",
            "role-templates": Array [
              Object {
                "apiVersion": "roletemplate.mcm.ibm.com/v1alpha1",
                "complianceType": "musthave",
                "metadata": Object {
                  "creationTimestamp": null,
                  "name": "operator-role-policy",
                },
                "rules": Array [
                  Object {
                    "complianceType": "musthave",
                    "policyRule": Object {
                      "apiGroups": Array [
                        "extensions",
                        "apps",
                      ],
                      "resources": Array [
                        "deployments",
                      ],
                      "verbs": Array [
                        "get",
                        "list",
                        "watch",
                        "create",
                        "delete",
                        "patch",
                      ],
                    },
                  },
                ],
                "selector": Object {
                  "matchLabels": Object {
                    "dev": "true",
                  },
                },
                "status": Object {
                  "Validity": Object {},
                },
              },
            ],
          },
          "status": Object {
            "placement": Array [
              Object {
                "placementBinding": "binding-role",
                "placementRule": "placement-role",
              },
            ],
            "status": Object {
              "cluster1": Object {
                "aggregatePoliciesStatus": Object {
                  "policy-role": Object {
                    "compliant": "Compliant",
                  },
                },
                "clustername": "cluster1",
                "compliant": "Compliant",
              },
              "clusterhub": Object {
                "aggregatePoliciesStatus": Object {
                  "policy-role": Object {
                    "compliant": "NonCompliant",
                  },
                },
                "clustername": "clusterhub",
                "compliant": "NonCompliant",
              },
            },
          },
        },
        "remediation": "inform",
      },
    ],
    "grcTabToggleIndex": 0,
    "highLightRowName": "",
    "locale": "en-US",
    "refreshControl": Object {
      "refreshCookie": "grc-refresh-interval-cookie",
      "reloading": false,
      "timestamp": "Tue Jul 23 2019 01:13:42 GMT-0400 (Eastern Daylight Time)",
    },
    "secondaryHeaderProps": Object {
      "information": "grc.header.tooltip",
      "links": Array [
        Object {
          "id": "create-policy",
          "label": "button.create.policy",
          "url": "/multicloud/policies/create",
        },
      ],
      "tabs": Array [
        Object {
          "id": "grc-overview",
          "index": 0,
          "label": "tabs.grc.overview",
          "url": "/multicloud/policies",
        },
        Object {
          "id": "grc-all",
          "index": 1,
          "label": "tabs.grc.all",
          "url": "/multicloud/policies/all",
        },
        Object {
          "id": "grc-findings",
          "index": 2,
          "label": "tabs.grc.findings",
          "url": "/multicloud/policies/findings",
        },
      ],
      "title": "routes.grc",
    },
    "showApplications": true,
    "showGrcTabToggle": true,
    "showSidePanel": false,
  },
  "refs": Object {},
  "setState": [Function],
  "state": null,
  "toggleClick": [Function],
  "updater": Updater {
    "_callbacks": Array [],
    "_renderer": ReactShallowRenderer {
      "_context": Object {},
      "_didScheduleRenderPhaseUpdate": false,
      "_dispatcher": Object {
        "readContext": [Function],
        "useCallback": [Function],
        "useContext": [Function],
        "useDebugValue": [Function],
        "useDeferredValue": [Function],
        "useEffect": [Function],
        "useImperativeHandle": [Function],
        "useLayoutEffect": [Function],
        "useMemo": [Function],
        "useReducer": [Function],
        "useRef": [Function],
        "useResponder": [Function],
        "useState": [Function],
        "useTransition": [Function],
      },
      "_element": <GrcToggleModule
        grcItems={
          Array [
            Object {
              "__typename": "Compliance",
              "clusterCompliant": "0/2",
              "metadata": Object {
                "__typename": "Metadata",
                "annotations": Object {
                  "policy.open-cluster-management.io/categories": "",
                  "policy.open-cluster-management.io/controls": "",
                  "policy.open-cluster-management.io/standards": "",
                  "seed-generation": "1",
                },
                "name": "my-policy",
                "namespace": "mcm",
                "resourceVersion": "1347399",
                "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/my-policy",
              },
              "name": "my-policy",
              "namespace": "mcm",
              "placementBindings": Array [
                Object {
                  "__typename": "PlacementBinding",
                  "metadata": Object {
                    "__typename": "Metadata",
                    "name": "binding-my-policy",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-my-policy",
                  },
                },
              ],
              "placementPolicies": Array [
                Object {
                  "__typename": "PlacementPolicy",
                  "metadata": Object {
                    "__typename": "Metadata",
                    "name": "placement-my-policy",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-my-policy",
                  },
                },
              ],
              "policyCompliant": "0/2",
              "raw": Object {
                "apiVersion": "policy.open-cluster-management.io/v1",
                "kind": "Policy",
                "metadata": Object {
                  "annotations": Object {
                    "policy.open-cluster-management.io/categories": "",
                    "policy.open-cluster-management.io/controls": "",
                    "policy.open-cluster-management.io/standards": "",
                    "seed-generation": "1",
                  },
                  "creationTimestamp": "2019-07-21T15:53:58Z",
                  "finalizers": Array [
                    "propagator.finalizer.mcm.ibm.com",
                  ],
                  "generation": 55,
                  "name": "my-policy",
                  "namespace": "mcm",
                  "resourceVersion": "1347399",
                  "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/my-policy",
                  "uid": "c049ec0d-abcf-11e9-8a41-005056a061f1",
                },
                "spec": Object {
                  "complianceType": "musthave",
                  "namespaces": Object {
                    "exclude": Array [
                      "kube-*",
                    ],
                    "include": Array [
                      "default",
                    ],
                  },
                  "object-templates": Array [
                    Object {
                      "complianceType": "musthave",
                      "objectDefinition": Object {
                        "apiVersion": "rbac.authorization.k8s.io/v1",
                        "kind": "RoleBinding",
                        "metadata": Object {
                          "name": "operate-pods-rolebinding",
                        },
                        "roleRef": Object {
                          "apiGroup": "rbac.authorization.k8s.io",
                          "kind": "Role",
                          "name": "operator",
                        },
                        "subjects": Array [
                          Object {
                            "apiGroup": "rbac.authorization.k8s.io",
                            "kind": "User",
                            "name": "admin",
                          },
                        ],
                      },
                      "status": Object {
                        "Validity": Object {},
                      },
                    },
                  ],
                  "remediationAction": "enforce",
                },
                "status": Object {
                  "placement": Array [
                    Object {
                      "placementBinding": "binding-my-policy",
                      "placementRule": "placement-my-policy",
                    },
                  ],
                  "status": Object {
                    "cluster1": Object {
                      "aggregatePoliciesStatus": Object {
                        "my-policy": Object {
                          "compliant": "Compliant",
                        },
                      },
                      "clustername": "cluster1",
                      "compliant": "Compliant",
                    },
                    "clusterhub": Object {
                      "aggregatePoliciesStatus": Object {
                        "my-policy": Object {
                          "compliant": "Compliant",
                        },
                      },
                      "clustername": "clusterhub",
                      "compliant": "Compliant",
                    },
                  },
                },
              },
              "remediation": "enforce",
            },
            Object {
              "__typename": "Compliance",
              "clusterCompliant": "1/2",
              "metadata": Object {
                "__typename": "Metadata",
                "annotations": Object {
                  "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST\\"},\\"name\\":\\"policy-ma\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"policy-templates\\":[{\\"objectDefinition\\":{\\"apiVersion\\":\\"policies.ibm.com/v1alpha1\\",\\"kind\\":\\"MutationPolicy\\",\\"metadata\\":{\\"label\\":{\\"category\\":\\"System-Integrity\\"},\\"name\\":\\"mutation-policy-example\\"},\\"spec\\":{\\"conditions\\":{\\"ownership\\":[\\"ReplicaSet\\",\\"Deployment\\",\\"DeamonSet\\",\\"ReplicationController\\"]},\\"namespaceSelector\\":{\\"exclude\\":[\\"kube-system\\"],\\"include\\":[\\"default\\",\\"kube-*\\"]},\\"remediationAction\\":\\"enforce\\"}}}],\\"remediationAction\\":\\"enforce\\"}}
",
                  "policy.open-cluster-management.io/categories": "SystemAndInformationIntegrity",
                  "policy.open-cluster-management.io/controls": "MutationAdvisor",
                  "policy.open-cluster-management.io/standards": "NIST",
                  "seed-generation": "1",
                },
                "name": "policy-ma",
                "namespace": "mcm",
                "resourceVersion": "1347579",
                "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-ma",
              },
              "name": "policy-ma",
              "namespace": "mcm",
              "placementBindings": Array [
                Object {
                  "__typename": "PlacementBinding",
                  "metadata": Object {
                    "__typename": "Metadata",
                    "name": "binding-ma",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-ma",
                  },
                },
              ],
              "placementPolicies": Array [
                Object {
                  "__typename": "PlacementPolicy",
                  "metadata": Object {
                    "__typename": "Metadata",
                    "name": "placement-ma",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-ma",
                  },
                },
              ],
              "policyCompliant": "1/2",
              "raw": Object {
                "apiVersion": "policy.open-cluster-management.io/v1",
                "kind": "Policy",
                "metadata": Object {
                  "annotations": Object {
                    "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST\\"},\\"name\\":\\"policy-ma\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"policy-templates\\":[{\\"objectDefinition\\":{\\"apiVersion\\":\\"policies.ibm.com/v1alpha1\\",\\"kind\\":\\"MutationPolicy\\",\\"metadata\\":{\\"label\\":{\\"category\\":\\"System-Integrity\\"},\\"name\\":\\"mutation-policy-example\\"},\\"spec\\":{\\"conditions\\":{\\"ownership\\":[\\"ReplicaSet\\",\\"Deployment\\",\\"DeamonSet\\",\\"ReplicationController\\"]},\\"namespaceSelector\\":{\\"exclude\\":[\\"kube-system\\"],\\"include\\":[\\"default\\",\\"kube-*\\"]},\\"remediationAction\\":\\"enforce\\"}}}],\\"remediationAction\\":\\"enforce\\"}}
",
                    "policy.open-cluster-management.io/categories": "SystemAndInformationIntegrity",
                    "policy.open-cluster-management.io/controls": "MutationAdvisor",
                    "policy.open-cluster-management.io/standards": "NIST",
                    "seed-generation": "1",
                  },
                  "creationTimestamp": "2019-07-16T13:18:48Z",
                  "finalizers": Array [
                    "propagator.finalizer.mcm.ibm.com",
                  ],
                  "generation": 45,
                  "name": "policy-ma",
                  "namespace": "mcm",
                  "resourceVersion": "1347579",
                  "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-ma",
                  "uid": "3f218d45-a7cc-11e9-8a41-005056a061f1",
                },
                "spec": Object {
                  "namespaces": Object {},
                  "policy-templates": Array [
                    Object {
                      "objectDefinition": Object {
                        "apiVersion": "policies.ibm.com/v1alpha1",
                        "kind": "MutationPolicy",
                        "metadata": Object {
                          "label": Object {
                            "category": "System-Integrity",
                          },
                          "name": "mutation-policy-example",
                        },
                        "spec": Object {
                          "conditions": Object {
                            "ownership": Array [
                              "ReplicaSet",
                              "Deployment",
                              "DeamonSet",
                              "ReplicationController",
                            ],
                          },
                          "namespaceSelector": Object {
                            "exclude": Array [
                              "kube-system",
                            ],
                            "include": Array [
                              "default",
                              "kube-*",
                            ],
                          },
                          "remediationAction": "enforce",
                        },
                      },
                      "status": Object {
                        "Validity": Object {},
                      },
                    },
                  ],
                  "remediationAction": "enforce",
                },
                "status": Object {
                  "placement": Array [
                    Object {
                      "placementBinding": "binding-ma",
                      "placementRule": "placement-ma",
                    },
                  ],
                  "status": Object {
                    "cluster1": Object {
                      "aggregatePoliciesStatus": Object {
                        "policy-ma": Object {
                          "compliant": "NonCompliant",
                        },
                      },
                      "clustername": "cluster1",
                      "compliant": "NonCompliant",
                    },
                    "clusterhub": Object {
                      "aggregatePoliciesStatus": Object {
                        "policy-ma": Object {
                          "compliant": "Compliant",
                        },
                      },
                      "clustername": "clusterhub",
                      "compliant": "Compliant",
                    },
                  },
                },
              },
              "remediation": "enforce",
            },
            Object {
              "__typename": "Compliance",
              "clusterCompliant": "1/2",
              "metadata": Object {
                "__typename": "Metadata",
                "annotations": Object {
                  "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
                  "policy.open-cluster-management.io/controls": "MutationAdvisor,CertificateManager",
                  "policy.open-cluster-management.io/standards": "NIST,HIPAA",
                  "seed-generation": "1",
                },
                "name": "policy-pod",
                "namespace": "mcm",
                "resourceVersion": "1257026",
                "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-pod",
              },
              "name": "policy-pod",
              "namespace": "mcm",
              "placementBindings": Array [
                Object {
                  "__typename": "PlacementBinding",
                  "metadata": Object {
                    "__typename": "Metadata",
                    "name": "binding-pod",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-pod",
                  },
                },
              ],
              "placementPolicies": Array [
                Object {
                  "__typename": "PlacementPolicy",
                  "metadata": Object {
                    "__typename": "Metadata",
                    "name": "placement-pod",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-pod",
                  },
                },
              ],
              "policyCompliant": "1/2",
              "raw": Object {
                "apiVersion": "policy.open-cluster-management.io/v1",
                "kind": "Policy",
                "metadata": Object {
                  "annotations": Object {
                    "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
                    "policy.open-cluster-management.io/controls": "MutationAdvisor,CertificateManager",
                    "policy.open-cluster-management.io/standards": "NIST,HIPAA",
                    "seed-generation": "1",
                  },
                  "creationTimestamp": "2019-07-16T13:16:46Z",
                  "finalizers": Array [
                    "propagator.finalizer.mcm.ibm.com",
                  ],
                  "generation": 19,
                  "name": "policy-pod",
                  "namespace": "mcm",
                  "resourceVersion": "1257026",
                  "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-pod",
                  "uid": "f61a25eb-a7cb-11e9-8a41-005056a061f1",
                },
                "spec": Object {
                  "complianceType": "musthave",
                  "namespaces": Object {
                    "exclude": Array [
                      "kube*",
                    ],
                    "include": Array [
                      "default",
                    ],
                  },
                  "object-templates": Array [
                    Object {
                      "complianceType": "musthave",
                      "objectDefinition": Object {
                        "apiVersion": "v1",
                        "kind": "Pod",
                        "metadata": Object {
                          "name": "nginx-pod",
                        },
                        "spec": Object {
                          "containers": Array [
                            Object {
                              "image": "nginx:1.7.9",
                              "name": "nginx",
                              "ports": Array [
                                Object {
                                  "containerPort": 80,
                                },
                              ],
                            },
                          ],
                        },
                      },
                      "status": Object {
                        "Validity": Object {},
                      },
                    },
                  ],
                  "remediationAction": "inform",
                },
                "status": Object {
                  "placement": Array [
                    Object {
                      "placementBinding": "binding-pod",
                      "placementRule": "placement-pod",
                    },
                  ],
                  "status": Object {
                    "cluster1": Object {
                      "aggregatePoliciesStatus": Object {
                        "policy-pod": Object {
                          "compliant": "Compliant",
                        },
                      },
                      "clustername": "cluster1",
                      "compliant": "Compliant",
                    },
                    "clusterhub": Object {
                      "aggregatePoliciesStatus": Object {
                        "policy-pod": Object {
                          "compliant": "NonCompliant",
                        },
                      },
                      "clustername": "clusterhub",
                      "compliant": "NonCompliant",
                    },
                  },
                },
              },
              "remediation": "inform",
            },
            Object {
              "__typename": "Compliance",
              "clusterCompliant": "1/2",
              "metadata": Object {
                "__typename": "Metadata",
                "annotations": Object {
                  "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndCommunicationsProtections,SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor,VA\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST,HIPAA\\"},\\"name\\":\\"policy-role\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"namespaces\\":{\\"exclude\\":[\\"kube*\\"],\\"include\\":[\\"default\\"]},\\"remediationAction\\":\\"inform\\",\\"role-templates\\":[{\\"apiVersion\\":\\"roletemplate.mcm.ibm.com/v1alpha1\\",\\"complianceType\\":\\"musthave\\",\\"metadata\\":{\\"name\\":\\"operator-role-policy\\",\\"namespace\\":\\"\\"},\\"rules\\":[{\\"complianceType\\":\\"musthave\\",\\"policyRule\\":{\\"apiGroups\\":[\\"extensions\\",\\"apps\\"],\\"resources\\":[\\"deployments\\"],\\"verbs\\":[\\"get\\",\\"list\\",\\"watch\\",\\"create\\",\\"delete\\",\\"patch\\"]}}],\\"selector\\":{\\"matchLabels\\":{\\"dev\\":\\"true\\"}}}]}}
",
                  "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
                  "policy.open-cluster-management.io/controls": "MutationAdvisor,VA",
                  "policy.open-cluster-management.io/standards": "NIST,HIPAA",
                  "seed-generation": "1",
                },
                "name": "policy-role",
                "namespace": "mcm",
                "resourceVersion": "1201118",
                "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-role",
              },
              "name": "policy-role",
              "namespace": "mcm",
              "placementBindings": Array [
                Object {
                  "__typename": "PlacementBinding",
                  "metadata": Object {
                    "__typename": "Metadata",
                    "name": "binding-role",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-role",
                  },
                },
              ],
              "placementPolicies": Array [
                Object {
                  "__typename": "PlacementPolicy",
                  "metadata": Object {
                    "__typename": "Metadata",
                    "name": "placement-role",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-role",
                  },
                },
              ],
              "policyCompliant": "1/2",
              "raw": Object {
                "apiVersion": "policy.open-cluster-management.io/v1",
                "kind": "Policy",
                "metadata": Object {
                  "annotations": Object {
                    "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndCommunicationsProtections,SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor,VA\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST,HIPAA\\"},\\"name\\":\\"policy-role\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"namespaces\\":{\\"exclude\\":[\\"kube*\\"],\\"include\\":[\\"default\\"]},\\"remediationAction\\":\\"inform\\",\\"role-templates\\":[{\\"apiVersion\\":\\"roletemplate.mcm.ibm.com/v1alpha1\\",\\"complianceType\\":\\"musthave\\",\\"metadata\\":{\\"name\\":\\"operator-role-policy\\",\\"namespace\\":\\"\\"},\\"rules\\":[{\\"complianceType\\":\\"musthave\\",\\"policyRule\\":{\\"apiGroups\\":[\\"extensions\\",\\"apps\\"],\\"resources\\":[\\"deployments\\"],\\"verbs\\":[\\"get\\",\\"list\\",\\"watch\\",\\"create\\",\\"delete\\",\\"patch\\"]}}],\\"selector\\":{\\"matchLabels\\":{\\"dev\\":\\"true\\"}}}]}}
",
                    "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
                    "policy.open-cluster-management.io/controls": "MutationAdvisor,VA",
                    "policy.open-cluster-management.io/standards": "NIST,HIPAA",
                    "seed-generation": "1",
                  },
                  "creationTimestamp": "2019-07-16T13:19:03Z",
                  "finalizers": Array [
                    "propagator.finalizer.mcm.ibm.com",
                  ],
                  "generation": 16,
                  "name": "policy-role",
                  "namespace": "mcm",
                  "resourceVersion": "1201118",
                  "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-role",
                  "uid": "47dbc091-a7cc-11e9-8a41-005056a061f1",
                },
                "spec": Object {
                  "namespaces": Object {
                    "exclude": Array [
                      "kube*",
                    ],
                    "include": Array [
                      "default",
                    ],
                  },
                  "remediationAction": "inform",
                  "role-templates": Array [
                    Object {
                      "apiVersion": "roletemplate.mcm.ibm.com/v1alpha1",
                      "complianceType": "musthave",
                      "metadata": Object {
                        "creationTimestamp": null,
                        "name": "operator-role-policy",
                      },
                      "rules": Array [
                        Object {
                          "complianceType": "musthave",
                          "policyRule": Object {
                            "apiGroups": Array [
                              "extensions",
                              "apps",
                            ],
                            "resources": Array [
                              "deployments",
                            ],
                            "verbs": Array [
                              "get",
                              "list",
                              "watch",
                              "create",
                              "delete",
                              "patch",
                            ],
                          },
                        },
                      ],
                      "selector": Object {
                        "matchLabels": Object {
                          "dev": "true",
                        },
                      },
                      "status": Object {
                        "Validity": Object {},
                      },
                    },
                  ],
                },
                "status": Object {
                  "placement": Array [
                    Object {
                      "placementBinding": "binding-role",
                      "placementRule": "placement-role",
                    },
                  ],
                  "status": Object {
                    "cluster1": Object {
                      "aggregatePoliciesStatus": Object {
                        "policy-role": Object {
                          "compliant": "Compliant",
                        },
                      },
                      "clustername": "cluster1",
                      "compliant": "Compliant",
                    },
                    "clusterhub": Object {
                      "aggregatePoliciesStatus": Object {
                        "policy-role": Object {
                          "compliant": "NonCompliant",
                        },
                      },
                      "clustername": "clusterhub",
                      "compliant": "NonCompliant",
                    },
                  },
                },
              },
              "remediation": "inform",
            },
          ]
        }
        grcTabToggleIndex={0}
        highLightRowName=""
        locale="en-US"
        refreshControl={
          Object {
            "refreshCookie": "grc-refresh-interval-cookie",
            "reloading": false,
            "timestamp": "Tue Jul 23 2019 01:13:42 GMT-0400 (Eastern Daylight Time)",
          }
        }
        secondaryHeaderProps={
          Object {
            "information": "grc.header.tooltip",
            "links": Array [
              Object {
                "id": "create-policy",
                "label": "button.create.policy",
                "url": "/multicloud/policies/create",
              },
            ],
            "tabs": Array [
              Object {
                "id": "grc-overview",
                "index": 0,
                "label": "tabs.grc.overview",
                "url": "/multicloud/policies",
              },
              Object {
                "id": "grc-all",
                "index": 1,
                "label": "tabs.grc.all",
                "url": "/multicloud/policies/all",
              },
              Object {
                "id": "grc-findings",
                "index": 2,
                "label": "tabs.grc.findings",
                "url": "/multicloud/policies/findings",
              },
            ],
            "title": "routes.grc",
          }
        }
        showApplications={true}
        showGrcTabToggle={true}
        showSidePanel={false}
      />,
      "_firstWorkInProgressHook": null,
      "_forcedUpdate": false,
      "_instance": [Circular],
      "_isReRender": false,
      "_newState": null,
      "_numberOfReRenders": 0,
      "_renderPhaseUpdates": null,
      "_rendered": <div
        className="module-toggle-tab"
      >
        <withRouter(Connect(ResourceList))
          autoAction="table.actions.policy.sidepanel"
          detailsTabs={
            Array [
              "policies",
            ]
          }
          getVisibleResources={[Function]}
          grcItems={
            Array [
              Object {
                "__typename": "Compliance",
                "clusterCompliant": "0/2",
                "metadata": Object {
                  "__typename": "Metadata",
                  "annotations": Object {
                    "policy.open-cluster-management.io/categories": "",
                    "policy.open-cluster-management.io/controls": "",
                    "policy.open-cluster-management.io/standards": "",
                    "seed-generation": "1",
                  },
                  "name": "my-policy",
                  "namespace": "mcm",
                  "resourceVersion": "1347399",
                  "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/my-policy",
                },
                "name": "my-policy",
                "namespace": "mcm",
                "placementBindings": Array [
                  Object {
                    "__typename": "PlacementBinding",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "binding-my-policy",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-my-policy",
                    },
                  },
                ],
                "placementPolicies": Array [
                  Object {
                    "__typename": "PlacementPolicy",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "placement-my-policy",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-my-policy",
                    },
                  },
                ],
                "policyCompliant": "0/2",
                "raw": Object {
                  "apiVersion": "policy.open-cluster-management.io/v1",
                  "kind": "Policy",
                  "metadata": Object {
                    "annotations": Object {
                      "policy.open-cluster-management.io/categories": "",
                      "policy.open-cluster-management.io/controls": "",
                      "policy.open-cluster-management.io/standards": "",
                      "seed-generation": "1",
                    },
                    "creationTimestamp": "2019-07-21T15:53:58Z",
                    "finalizers": Array [
                      "propagator.finalizer.mcm.ibm.com",
                    ],
                    "generation": 55,
                    "name": "my-policy",
                    "namespace": "mcm",
                    "resourceVersion": "1347399",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/my-policy",
                    "uid": "c049ec0d-abcf-11e9-8a41-005056a061f1",
                  },
                  "spec": Object {
                    "complianceType": "musthave",
                    "namespaces": Object {
                      "exclude": Array [
                        "kube-*",
                      ],
                      "include": Array [
                        "default",
                      ],
                    },
                    "object-templates": Array [
                      Object {
                        "complianceType": "musthave",
                        "objectDefinition": Object {
                          "apiVersion": "rbac.authorization.k8s.io/v1",
                          "kind": "RoleBinding",
                          "metadata": Object {
                            "name": "operate-pods-rolebinding",
                          },
                          "roleRef": Object {
                            "apiGroup": "rbac.authorization.k8s.io",
                            "kind": "Role",
                            "name": "operator",
                          },
                          "subjects": Array [
                            Object {
                              "apiGroup": "rbac.authorization.k8s.io",
                              "kind": "User",
                              "name": "admin",
                            },
                          ],
                        },
                        "status": Object {
                          "Validity": Object {},
                        },
                      },
                    ],
                    "remediationAction": "enforce",
                  },
                  "status": Object {
                    "placement": Array [
                      Object {
                        "placementBinding": "binding-my-policy",
                        "placementRule": "placement-my-policy",
                      },
                    ],
                    "status": Object {
                      "cluster1": Object {
                        "aggregatePoliciesStatus": Object {
                          "my-policy": Object {
                            "compliant": "Compliant",
                          },
                        },
                        "clustername": "cluster1",
                        "compliant": "Compliant",
                      },
                      "clusterhub": Object {
                        "aggregatePoliciesStatus": Object {
                          "my-policy": Object {
                            "compliant": "Compliant",
                          },
                        },
                        "clustername": "clusterhub",
                        "compliant": "Compliant",
                      },
                    },
                  },
                },
                "remediation": "enforce",
              },
              Object {
                "__typename": "Compliance",
                "clusterCompliant": "1/2",
                "metadata": Object {
                  "__typename": "Metadata",
                  "annotations": Object {
                    "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST\\"},\\"name\\":\\"policy-ma\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"policy-templates\\":[{\\"objectDefinition\\":{\\"apiVersion\\":\\"policies.ibm.com/v1alpha1\\",\\"kind\\":\\"MutationPolicy\\",\\"metadata\\":{\\"label\\":{\\"category\\":\\"System-Integrity\\"},\\"name\\":\\"mutation-policy-example\\"},\\"spec\\":{\\"conditions\\":{\\"ownership\\":[\\"ReplicaSet\\",\\"Deployment\\",\\"DeamonSet\\",\\"ReplicationController\\"]},\\"namespaceSelector\\":{\\"exclude\\":[\\"kube-system\\"],\\"include\\":[\\"default\\",\\"kube-*\\"]},\\"remediationAction\\":\\"enforce\\"}}}],\\"remediationAction\\":\\"enforce\\"}}
",
                    "policy.open-cluster-management.io/categories": "SystemAndInformationIntegrity",
                    "policy.open-cluster-management.io/controls": "MutationAdvisor",
                    "policy.open-cluster-management.io/standards": "NIST",
                    "seed-generation": "1",
                  },
                  "name": "policy-ma",
                  "namespace": "mcm",
                  "resourceVersion": "1347579",
                  "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-ma",
                },
                "name": "policy-ma",
                "namespace": "mcm",
                "placementBindings": Array [
                  Object {
                    "__typename": "PlacementBinding",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "binding-ma",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-ma",
                    },
                  },
                ],
                "placementPolicies": Array [
                  Object {
                    "__typename": "PlacementPolicy",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "placement-ma",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-ma",
                    },
                  },
                ],
                "policyCompliant": "1/2",
                "raw": Object {
                  "apiVersion": "policy.open-cluster-management.io/v1",
                  "kind": "Policy",
                  "metadata": Object {
                    "annotations": Object {
                      "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST\\"},\\"name\\":\\"policy-ma\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"policy-templates\\":[{\\"objectDefinition\\":{\\"apiVersion\\":\\"policies.ibm.com/v1alpha1\\",\\"kind\\":\\"MutationPolicy\\",\\"metadata\\":{\\"label\\":{\\"category\\":\\"System-Integrity\\"},\\"name\\":\\"mutation-policy-example\\"},\\"spec\\":{\\"conditions\\":{\\"ownership\\":[\\"ReplicaSet\\",\\"Deployment\\",\\"DeamonSet\\",\\"ReplicationController\\"]},\\"namespaceSelector\\":{\\"exclude\\":[\\"kube-system\\"],\\"include\\":[\\"default\\",\\"kube-*\\"]},\\"remediationAction\\":\\"enforce\\"}}}],\\"remediationAction\\":\\"enforce\\"}}
",
                      "policy.open-cluster-management.io/categories": "SystemAndInformationIntegrity",
                      "policy.open-cluster-management.io/controls": "MutationAdvisor",
                      "policy.open-cluster-management.io/standards": "NIST",
                      "seed-generation": "1",
                    },
                    "creationTimestamp": "2019-07-16T13:18:48Z",
                    "finalizers": Array [
                      "propagator.finalizer.mcm.ibm.com",
                    ],
                    "generation": 45,
                    "name": "policy-ma",
                    "namespace": "mcm",
                    "resourceVersion": "1347579",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-ma",
                    "uid": "3f218d45-a7cc-11e9-8a41-005056a061f1",
                  },
                  "spec": Object {
                    "namespaces": Object {},
                    "policy-templates": Array [
                      Object {
                        "objectDefinition": Object {
                          "apiVersion": "policies.ibm.com/v1alpha1",
                          "kind": "MutationPolicy",
                          "metadata": Object {
                            "label": Object {
                              "category": "System-Integrity",
                            },
                            "name": "mutation-policy-example",
                          },
                          "spec": Object {
                            "conditions": Object {
                              "ownership": Array [
                                "ReplicaSet",
                                "Deployment",
                                "DeamonSet",
                                "ReplicationController",
                              ],
                            },
                            "namespaceSelector": Object {
                              "exclude": Array [
                                "kube-system",
                              ],
                              "include": Array [
                                "default",
                                "kube-*",
                              ],
                            },
                            "remediationAction": "enforce",
                          },
                        },
                        "status": Object {
                          "Validity": Object {},
                        },
                      },
                    ],
                    "remediationAction": "enforce",
                  },
                  "status": Object {
                    "placement": Array [
                      Object {
                        "placementBinding": "binding-ma",
                        "placementRule": "placement-ma",
                      },
                    ],
                    "status": Object {
                      "cluster1": Object {
                        "aggregatePoliciesStatus": Object {
                          "policy-ma": Object {
                            "compliant": "NonCompliant",
                          },
                        },
                        "clustername": "cluster1",
                        "compliant": "NonCompliant",
                      },
                      "clusterhub": Object {
                        "aggregatePoliciesStatus": Object {
                          "policy-ma": Object {
                            "compliant": "Compliant",
                          },
                        },
                        "clustername": "clusterhub",
                        "compliant": "Compliant",
                      },
                    },
                  },
                },
                "remediation": "enforce",
              },
              Object {
                "__typename": "Compliance",
                "clusterCompliant": "1/2",
                "metadata": Object {
                  "__typename": "Metadata",
                  "annotations": Object {
                    "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
                    "policy.open-cluster-management.io/controls": "MutationAdvisor,CertificateManager",
                    "policy.open-cluster-management.io/standards": "NIST,HIPAA",
                    "seed-generation": "1",
                  },
                  "name": "policy-pod",
                  "namespace": "mcm",
                  "resourceVersion": "1257026",
                  "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-pod",
                },
                "name": "policy-pod",
                "namespace": "mcm",
                "placementBindings": Array [
                  Object {
                    "__typename": "PlacementBinding",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "binding-pod",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-pod",
                    },
                  },
                ],
                "placementPolicies": Array [
                  Object {
                    "__typename": "PlacementPolicy",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "placement-pod",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-pod",
                    },
                  },
                ],
                "policyCompliant": "1/2",
                "raw": Object {
                  "apiVersion": "policy.open-cluster-management.io/v1",
                  "kind": "Policy",
                  "metadata": Object {
                    "annotations": Object {
                      "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
                      "policy.open-cluster-management.io/controls": "MutationAdvisor,CertificateManager",
                      "policy.open-cluster-management.io/standards": "NIST,HIPAA",
                      "seed-generation": "1",
                    },
                    "creationTimestamp": "2019-07-16T13:16:46Z",
                    "finalizers": Array [
                      "propagator.finalizer.mcm.ibm.com",
                    ],
                    "generation": 19,
                    "name": "policy-pod",
                    "namespace": "mcm",
                    "resourceVersion": "1257026",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-pod",
                    "uid": "f61a25eb-a7cb-11e9-8a41-005056a061f1",
                  },
                  "spec": Object {
                    "complianceType": "musthave",
                    "namespaces": Object {
                      "exclude": Array [
                        "kube*",
                      ],
                      "include": Array [
                        "default",
                      ],
                    },
                    "object-templates": Array [
                      Object {
                        "complianceType": "musthave",
                        "objectDefinition": Object {
                          "apiVersion": "v1",
                          "kind": "Pod",
                          "metadata": Object {
                            "name": "nginx-pod",
                          },
                          "spec": Object {
                            "containers": Array [
                              Object {
                                "image": "nginx:1.7.9",
                                "name": "nginx",
                                "ports": Array [
                                  Object {
                                    "containerPort": 80,
                                  },
                                ],
                              },
                            ],
                          },
                        },
                        "status": Object {
                          "Validity": Object {},
                        },
                      },
                    ],
                    "remediationAction": "inform",
                  },
                  "status": Object {
                    "placement": Array [
                      Object {
                        "placementBinding": "binding-pod",
                        "placementRule": "placement-pod",
                      },
                    ],
                    "status": Object {
                      "cluster1": Object {
                        "aggregatePoliciesStatus": Object {
                          "policy-pod": Object {
                            "compliant": "Compliant",
                          },
                        },
                        "clustername": "cluster1",
                        "compliant": "Compliant",
                      },
                      "clusterhub": Object {
                        "aggregatePoliciesStatus": Object {
                          "policy-pod": Object {
                            "compliant": "NonCompliant",
                          },
                        },
                        "clustername": "clusterhub",
                        "compliant": "NonCompliant",
                      },
                    },
                  },
                },
                "remediation": "inform",
              },
              Object {
                "__typename": "Compliance",
                "clusterCompliant": "1/2",
                "metadata": Object {
                  "__typename": "Metadata",
                  "annotations": Object {
                    "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndCommunicationsProtections,SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor,VA\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST,HIPAA\\"},\\"name\\":\\"policy-role\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"namespaces\\":{\\"exclude\\":[\\"kube*\\"],\\"include\\":[\\"default\\"]},\\"remediationAction\\":\\"inform\\",\\"role-templates\\":[{\\"apiVersion\\":\\"roletemplate.mcm.ibm.com/v1alpha1\\",\\"complianceType\\":\\"musthave\\",\\"metadata\\":{\\"name\\":\\"operator-role-policy\\",\\"namespace\\":\\"\\"},\\"rules\\":[{\\"complianceType\\":\\"musthave\\",\\"policyRule\\":{\\"apiGroups\\":[\\"extensions\\",\\"apps\\"],\\"resources\\":[\\"deployments\\"],\\"verbs\\":[\\"get\\",\\"list\\",\\"watch\\",\\"create\\",\\"delete\\",\\"patch\\"]}}],\\"selector\\":{\\"matchLabels\\":{\\"dev\\":\\"true\\"}}}]}}
",
                    "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
                    "policy.open-cluster-management.io/controls": "MutationAdvisor,VA",
                    "policy.open-cluster-management.io/standards": "NIST,HIPAA",
                    "seed-generation": "1",
                  },
                  "name": "policy-role",
                  "namespace": "mcm",
                  "resourceVersion": "1201118",
                  "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-role",
                },
                "name": "policy-role",
                "namespace": "mcm",
                "placementBindings": Array [
                  Object {
                    "__typename": "PlacementBinding",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "binding-role",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-role",
                    },
                  },
                ],
                "placementPolicies": Array [
                  Object {
                    "__typename": "PlacementPolicy",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "placement-role",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-role",
                    },
                  },
                ],
                "policyCompliant": "1/2",
                "raw": Object {
                  "apiVersion": "policy.open-cluster-management.io/v1",
                  "kind": "Policy",
                  "metadata": Object {
                    "annotations": Object {
                      "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndCommunicationsProtections,SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor,VA\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST,HIPAA\\"},\\"name\\":\\"policy-role\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"namespaces\\":{\\"exclude\\":[\\"kube*\\"],\\"include\\":[\\"default\\"]},\\"remediationAction\\":\\"inform\\",\\"role-templates\\":[{\\"apiVersion\\":\\"roletemplate.mcm.ibm.com/v1alpha1\\",\\"complianceType\\":\\"musthave\\",\\"metadata\\":{\\"name\\":\\"operator-role-policy\\",\\"namespace\\":\\"\\"},\\"rules\\":[{\\"complianceType\\":\\"musthave\\",\\"policyRule\\":{\\"apiGroups\\":[\\"extensions\\",\\"apps\\"],\\"resources\\":[\\"deployments\\"],\\"verbs\\":[\\"get\\",\\"list\\",\\"watch\\",\\"create\\",\\"delete\\",\\"patch\\"]}}],\\"selector\\":{\\"matchLabels\\":{\\"dev\\":\\"true\\"}}}]}}
",
                      "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
                      "policy.open-cluster-management.io/controls": "MutationAdvisor,VA",
                      "policy.open-cluster-management.io/standards": "NIST,HIPAA",
                      "seed-generation": "1",
                    },
                    "creationTimestamp": "2019-07-16T13:19:03Z",
                    "finalizers": Array [
                      "propagator.finalizer.mcm.ibm.com",
                    ],
                    "generation": 16,
                    "name": "policy-role",
                    "namespace": "mcm",
                    "resourceVersion": "1201118",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-role",
                    "uid": "47dbc091-a7cc-11e9-8a41-005056a061f1",
                  },
                  "spec": Object {
                    "namespaces": Object {
                      "exclude": Array [
                        "kube*",
                      ],
                      "include": Array [
                        "default",
                      ],
                    },
                    "remediationAction": "inform",
                    "role-templates": Array [
                      Object {
                        "apiVersion": "roletemplate.mcm.ibm.com/v1alpha1",
                        "complianceType": "musthave",
                        "metadata": Object {
                          "creationTimestamp": null,
                          "name": "operator-role-policy",
                        },
                        "rules": Array [
                          Object {
                            "complianceType": "musthave",
                            "policyRule": Object {
                              "apiGroups": Array [
                                "extensions",
                                "apps",
                              ],
                              "resources": Array [
                                "deployments",
                              ],
                              "verbs": Array [
                                "get",
                                "list",
                                "watch",
                                "create",
                                "delete",
                                "patch",
                              ],
                            },
                          },
                        ],
                        "selector": Object {
                          "matchLabels": Object {
                            "dev": "true",
                          },
                        },
                        "status": Object {
                          "Validity": Object {},
                        },
                      },
                    ],
                  },
                  "status": Object {
                    "placement": Array [
                      Object {
                        "placementBinding": "binding-role",
                        "placementRule": "placement-role",
                      },
                    ],
                    "status": Object {
                      "cluster1": Object {
                        "aggregatePoliciesStatus": Object {
                          "policy-role": Object {
                            "compliant": "Compliant",
                          },
                        },
                        "clustername": "cluster1",
                        "compliant": "Compliant",
                      },
                      "clusterhub": Object {
                        "aggregatePoliciesStatus": Object {
                          "policy-role": Object {
                            "compliant": "NonCompliant",
                          },
                        },
                        "clustername": "clusterhub",
                        "compliant": "NonCompliant",
                      },
                    },
                  },
                },
                "remediation": "inform",
              },
            ]
          }
          grcTabToggleIndex={0}
          highLightRowName=""
          information="grc.header.tooltip"
          links={
            Array [
              Object {
                "id": "create-policy",
                "label": "button.create.policy",
                "url": "/multicloud/policies/create",
              },
            ]
          }
          listData={
            Array [
              Object {
                "__typename": "Compliance",
                "clusterCompliant": "0/2",
                "metadata": Object {
                  "__typename": "Metadata",
                  "annotations": Object {
                    "policy.open-cluster-management.io/categories": "",
                    "policy.open-cluster-management.io/controls": "",
                    "policy.open-cluster-management.io/standards": "",
                    "seed-generation": "1",
                  },
                  "name": "my-policy",
                  "namespace": "mcm",
                  "resourceVersion": "1347399",
                  "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/my-policy",
                },
                "name": "my-policy",
                "namespace": "mcm",
                "placementBindings": Array [
                  Object {
                    "__typename": "PlacementBinding",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "binding-my-policy",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-my-policy",
                    },
                  },
                ],
                "placementPolicies": Array [
                  Object {
                    "__typename": "PlacementPolicy",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "placement-my-policy",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-my-policy",
                    },
                  },
                ],
                "policyCompliant": "0/2",
                "raw": Object {
                  "apiVersion": "policy.open-cluster-management.io/v1",
                  "kind": "Policy",
                  "metadata": Object {
                    "annotations": Object {
                      "policy.open-cluster-management.io/categories": "",
                      "policy.open-cluster-management.io/controls": "",
                      "policy.open-cluster-management.io/standards": "",
                      "seed-generation": "1",
                    },
                    "creationTimestamp": "2019-07-21T15:53:58Z",
                    "finalizers": Array [
                      "propagator.finalizer.mcm.ibm.com",
                    ],
                    "generation": 55,
                    "name": "my-policy",
                    "namespace": "mcm",
                    "resourceVersion": "1347399",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/my-policy",
                    "uid": "c049ec0d-abcf-11e9-8a41-005056a061f1",
                  },
                  "spec": Object {
                    "complianceType": "musthave",
                    "namespaces": Object {
                      "exclude": Array [
                        "kube-*",
                      ],
                      "include": Array [
                        "default",
                      ],
                    },
                    "object-templates": Array [
                      Object {
                        "complianceType": "musthave",
                        "objectDefinition": Object {
                          "apiVersion": "rbac.authorization.k8s.io/v1",
                          "kind": "RoleBinding",
                          "metadata": Object {
                            "name": "operate-pods-rolebinding",
                          },
                          "roleRef": Object {
                            "apiGroup": "rbac.authorization.k8s.io",
                            "kind": "Role",
                            "name": "operator",
                          },
                          "subjects": Array [
                            Object {
                              "apiGroup": "rbac.authorization.k8s.io",
                              "kind": "User",
                              "name": "admin",
                            },
                          ],
                        },
                        "status": Object {
                          "Validity": Object {},
                        },
                      },
                    ],
                    "remediationAction": "enforce",
                  },
                  "status": Object {
                    "placement": Array [
                      Object {
                        "placementBinding": "binding-my-policy",
                        "placementRule": "placement-my-policy",
                      },
                    ],
                    "status": Object {
                      "cluster1": Object {
                        "aggregatePoliciesStatus": Object {
                          "my-policy": Object {
                            "compliant": "Compliant",
                          },
                        },
                        "clustername": "cluster1",
                        "compliant": "Compliant",
                      },
                      "clusterhub": Object {
                        "aggregatePoliciesStatus": Object {
                          "my-policy": Object {
                            "compliant": "Compliant",
                          },
                        },
                        "clustername": "clusterhub",
                        "compliant": "Compliant",
                      },
                    },
                  },
                },
                "remediation": "enforce",
                "subItems": Array [
                  Object {
                    "items": Array [
                      "binding-my-policy",
                    ],
                    "name": "policy.pb",
                  },
                  Object {
                    "items": Array [
                      "placement-my-policy",
                    ],
                    "name": "policy.pp",
                  },
                ],
              },
              Object {
                "__typename": "Compliance",
                "clusterCompliant": "1/2",
                "metadata": Object {
                  "__typename": "Metadata",
                  "annotations": Object {
                    "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST\\"},\\"name\\":\\"policy-ma\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"policy-templates\\":[{\\"objectDefinition\\":{\\"apiVersion\\":\\"policies.ibm.com/v1alpha1\\",\\"kind\\":\\"MutationPolicy\\",\\"metadata\\":{\\"label\\":{\\"category\\":\\"System-Integrity\\"},\\"name\\":\\"mutation-policy-example\\"},\\"spec\\":{\\"conditions\\":{\\"ownership\\":[\\"ReplicaSet\\",\\"Deployment\\",\\"DeamonSet\\",\\"ReplicationController\\"]},\\"namespaceSelector\\":{\\"exclude\\":[\\"kube-system\\"],\\"include\\":[\\"default\\",\\"kube-*\\"]},\\"remediationAction\\":\\"enforce\\"}}}],\\"remediationAction\\":\\"enforce\\"}}
",
                    "policy.open-cluster-management.io/categories": "SystemAndInformationIntegrity",
                    "policy.open-cluster-management.io/controls": "MutationAdvisor",
                    "policy.open-cluster-management.io/standards": "NIST",
                    "seed-generation": "1",
                  },
                  "name": "policy-ma",
                  "namespace": "mcm",
                  "resourceVersion": "1347579",
                  "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-ma",
                },
                "name": "policy-ma",
                "namespace": "mcm",
                "placementBindings": Array [
                  Object {
                    "__typename": "PlacementBinding",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "binding-ma",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-ma",
                    },
                  },
                ],
                "placementPolicies": Array [
                  Object {
                    "__typename": "PlacementPolicy",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "placement-ma",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-ma",
                    },
                  },
                ],
                "policyCompliant": "1/2",
                "raw": Object {
                  "apiVersion": "policy.open-cluster-management.io/v1",
                  "kind": "Policy",
                  "metadata": Object {
                    "annotations": Object {
                      "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST\\"},\\"name\\":\\"policy-ma\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"policy-templates\\":[{\\"objectDefinition\\":{\\"apiVersion\\":\\"policies.ibm.com/v1alpha1\\",\\"kind\\":\\"MutationPolicy\\",\\"metadata\\":{\\"label\\":{\\"category\\":\\"System-Integrity\\"},\\"name\\":\\"mutation-policy-example\\"},\\"spec\\":{\\"conditions\\":{\\"ownership\\":[\\"ReplicaSet\\",\\"Deployment\\",\\"DeamonSet\\",\\"ReplicationController\\"]},\\"namespaceSelector\\":{\\"exclude\\":[\\"kube-system\\"],\\"include\\":[\\"default\\",\\"kube-*\\"]},\\"remediationAction\\":\\"enforce\\"}}}],\\"remediationAction\\":\\"enforce\\"}}
",
                      "policy.open-cluster-management.io/categories": "SystemAndInformationIntegrity",
                      "policy.open-cluster-management.io/controls": "MutationAdvisor",
                      "policy.open-cluster-management.io/standards": "NIST",
                      "seed-generation": "1",
                    },
                    "creationTimestamp": "2019-07-16T13:18:48Z",
                    "finalizers": Array [
                      "propagator.finalizer.mcm.ibm.com",
                    ],
                    "generation": 45,
                    "name": "policy-ma",
                    "namespace": "mcm",
                    "resourceVersion": "1347579",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-ma",
                    "uid": "3f218d45-a7cc-11e9-8a41-005056a061f1",
                  },
                  "spec": Object {
                    "namespaces": Object {},
                    "policy-templates": Array [
                      Object {
                        "objectDefinition": Object {
                          "apiVersion": "policies.ibm.com/v1alpha1",
                          "kind": "MutationPolicy",
                          "metadata": Object {
                            "label": Object {
                              "category": "System-Integrity",
                            },
                            "name": "mutation-policy-example",
                          },
                          "spec": Object {
                            "conditions": Object {
                              "ownership": Array [
                                "ReplicaSet",
                                "Deployment",
                                "DeamonSet",
                                "ReplicationController",
                              ],
                            },
                            "namespaceSelector": Object {
                              "exclude": Array [
                                "kube-system",
                              ],
                              "include": Array [
                                "default",
                                "kube-*",
                              ],
                            },
                            "remediationAction": "enforce",
                          },
                        },
                        "status": Object {
                          "Validity": Object {},
                        },
                      },
                    ],
                    "remediationAction": "enforce",
                  },
                  "status": Object {
                    "placement": Array [
                      Object {
                        "placementBinding": "binding-ma",
                        "placementRule": "placement-ma",
                      },
                    ],
                    "status": Object {
                      "cluster1": Object {
                        "aggregatePoliciesStatus": Object {
                          "policy-ma": Object {
                            "compliant": "NonCompliant",
                          },
                        },
                        "clustername": "cluster1",
                        "compliant": "NonCompliant",
                      },
                      "clusterhub": Object {
                        "aggregatePoliciesStatus": Object {
                          "policy-ma": Object {
                            "compliant": "Compliant",
                          },
                        },
                        "clustername": "clusterhub",
                        "compliant": "Compliant",
                      },
                    },
                  },
                },
                "remediation": "enforce",
                "subItems": Array [
                  Object {
                    "items": Array [
                      "binding-ma",
                    ],
                    "name": "policy.pb",
                  },
                  Object {
                    "items": Array [
                      "placement-ma",
                    ],
                    "name": "policy.pp",
                  },
                ],
              },
              Object {
                "__typename": "Compliance",
                "clusterCompliant": "1/2",
                "metadata": Object {
                  "__typename": "Metadata",
                  "annotations": Object {
                    "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
                    "policy.open-cluster-management.io/controls": "MutationAdvisor,CertificateManager",
                    "policy.open-cluster-management.io/standards": "NIST,HIPAA",
                    "seed-generation": "1",
                  },
                  "name": "policy-pod",
                  "namespace": "mcm",
                  "resourceVersion": "1257026",
                  "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-pod",
                },
                "name": "policy-pod",
                "namespace": "mcm",
                "placementBindings": Array [
                  Object {
                    "__typename": "PlacementBinding",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "binding-pod",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-pod",
                    },
                  },
                ],
                "placementPolicies": Array [
                  Object {
                    "__typename": "PlacementPolicy",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "placement-pod",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-pod",
                    },
                  },
                ],
                "policyCompliant": "1/2",
                "raw": Object {
                  "apiVersion": "policy.open-cluster-management.io/v1",
                  "kind": "Policy",
                  "metadata": Object {
                    "annotations": Object {
                      "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
                      "policy.open-cluster-management.io/controls": "MutationAdvisor,CertificateManager",
                      "policy.open-cluster-management.io/standards": "NIST,HIPAA",
                      "seed-generation": "1",
                    },
                    "creationTimestamp": "2019-07-16T13:16:46Z",
                    "finalizers": Array [
                      "propagator.finalizer.mcm.ibm.com",
                    ],
                    "generation": 19,
                    "name": "policy-pod",
                    "namespace": "mcm",
                    "resourceVersion": "1257026",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-pod",
                    "uid": "f61a25eb-a7cb-11e9-8a41-005056a061f1",
                  },
                  "spec": Object {
                    "complianceType": "musthave",
                    "namespaces": Object {
                      "exclude": Array [
                        "kube*",
                      ],
                      "include": Array [
                        "default",
                      ],
                    },
                    "object-templates": Array [
                      Object {
                        "complianceType": "musthave",
                        "objectDefinition": Object {
                          "apiVersion": "v1",
                          "kind": "Pod",
                          "metadata": Object {
                            "name": "nginx-pod",
                          },
                          "spec": Object {
                            "containers": Array [
                              Object {
                                "image": "nginx:1.7.9",
                                "name": "nginx",
                                "ports": Array [
                                  Object {
                                    "containerPort": 80,
                                  },
                                ],
                              },
                            ],
                          },
                        },
                        "status": Object {
                          "Validity": Object {},
                        },
                      },
                    ],
                    "remediationAction": "inform",
                  },
                  "status": Object {
                    "placement": Array [
                      Object {
                        "placementBinding": "binding-pod",
                        "placementRule": "placement-pod",
                      },
                    ],
                    "status": Object {
                      "cluster1": Object {
                        "aggregatePoliciesStatus": Object {
                          "policy-pod": Object {
                            "compliant": "Compliant",
                          },
                        },
                        "clustername": "cluster1",
                        "compliant": "Compliant",
                      },
                      "clusterhub": Object {
                        "aggregatePoliciesStatus": Object {
                          "policy-pod": Object {
                            "compliant": "NonCompliant",
                          },
                        },
                        "clustername": "clusterhub",
                        "compliant": "NonCompliant",
                      },
                    },
                  },
                },
                "remediation": "inform",
                "subItems": Array [
                  Object {
                    "items": Array [
                      "binding-pod",
                    ],
                    "name": "policy.pb",
                  },
                  Object {
                    "items": Array [
                      "placement-pod",
                    ],
                    "name": "policy.pp",
                  },
                ],
              },
              Object {
                "__typename": "Compliance",
                "clusterCompliant": "1/2",
                "metadata": Object {
                  "__typename": "Metadata",
                  "annotations": Object {
                    "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndCommunicationsProtections,SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor,VA\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST,HIPAA\\"},\\"name\\":\\"policy-role\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"namespaces\\":{\\"exclude\\":[\\"kube*\\"],\\"include\\":[\\"default\\"]},\\"remediationAction\\":\\"inform\\",\\"role-templates\\":[{\\"apiVersion\\":\\"roletemplate.mcm.ibm.com/v1alpha1\\",\\"complianceType\\":\\"musthave\\",\\"metadata\\":{\\"name\\":\\"operator-role-policy\\",\\"namespace\\":\\"\\"},\\"rules\\":[{\\"complianceType\\":\\"musthave\\",\\"policyRule\\":{\\"apiGroups\\":[\\"extensions\\",\\"apps\\"],\\"resources\\":[\\"deployments\\"],\\"verbs\\":[\\"get\\",\\"list\\",\\"watch\\",\\"create\\",\\"delete\\",\\"patch\\"]}}],\\"selector\\":{\\"matchLabels\\":{\\"dev\\":\\"true\\"}}}]}}
",
                    "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
                    "policy.open-cluster-management.io/controls": "MutationAdvisor,VA",
                    "policy.open-cluster-management.io/standards": "NIST,HIPAA",
                    "seed-generation": "1",
                  },
                  "name": "policy-role",
                  "namespace": "mcm",
                  "resourceVersion": "1201118",
                  "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-role",
                },
                "name": "policy-role",
                "namespace": "mcm",
                "placementBindings": Array [
                  Object {
                    "__typename": "PlacementBinding",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "binding-role",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-role",
                    },
                  },
                ],
                "placementPolicies": Array [
                  Object {
                    "__typename": "PlacementPolicy",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "placement-role",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-role",
                    },
                  },
                ],
                "policyCompliant": "1/2",
                "raw": Object {
                  "apiVersion": "policy.open-cluster-management.io/v1",
                  "kind": "Policy",
                  "metadata": Object {
                    "annotations": Object {
                      "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndCommunicationsProtections,SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor,VA\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST,HIPAA\\"},\\"name\\":\\"policy-role\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"namespaces\\":{\\"exclude\\":[\\"kube*\\"],\\"include\\":[\\"default\\"]},\\"remediationAction\\":\\"inform\\",\\"role-templates\\":[{\\"apiVersion\\":\\"roletemplate.mcm.ibm.com/v1alpha1\\",\\"complianceType\\":\\"musthave\\",\\"metadata\\":{\\"name\\":\\"operator-role-policy\\",\\"namespace\\":\\"\\"},\\"rules\\":[{\\"complianceType\\":\\"musthave\\",\\"policyRule\\":{\\"apiGroups\\":[\\"extensions\\",\\"apps\\"],\\"resources\\":[\\"deployments\\"],\\"verbs\\":[\\"get\\",\\"list\\",\\"watch\\",\\"create\\",\\"delete\\",\\"patch\\"]}}],\\"selector\\":{\\"matchLabels\\":{\\"dev\\":\\"true\\"}}}]}}
",
                      "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
                      "policy.open-cluster-management.io/controls": "MutationAdvisor,VA",
                      "policy.open-cluster-management.io/standards": "NIST,HIPAA",
                      "seed-generation": "1",
                    },
                    "creationTimestamp": "2019-07-16T13:19:03Z",
                    "finalizers": Array [
                      "propagator.finalizer.mcm.ibm.com",
                    ],
                    "generation": 16,
                    "name": "policy-role",
                    "namespace": "mcm",
                    "resourceVersion": "1201118",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-role",
                    "uid": "47dbc091-a7cc-11e9-8a41-005056a061f1",
                  },
                  "spec": Object {
                    "namespaces": Object {
                      "exclude": Array [
                        "kube*",
                      ],
                      "include": Array [
                        "default",
                      ],
                    },
                    "remediationAction": "inform",
                    "role-templates": Array [
                      Object {
                        "apiVersion": "roletemplate.mcm.ibm.com/v1alpha1",
                        "complianceType": "musthave",
                        "metadata": Object {
                          "creationTimestamp": null,
                          "name": "operator-role-policy",
                        },
                        "rules": Array [
                          Object {
                            "complianceType": "musthave",
                            "policyRule": Object {
                              "apiGroups": Array [
                                "extensions",
                                "apps",
                              ],
                              "resources": Array [
                                "deployments",
                              ],
                              "verbs": Array [
                                "get",
                                "list",
                                "watch",
                                "create",
                                "delete",
                                "patch",
                              ],
                            },
                          },
                        ],
                        "selector": Object {
                          "matchLabels": Object {
                            "dev": "true",
                          },
                        },
                        "status": Object {
                          "Validity": Object {},
                        },
                      },
                    ],
                  },
                  "status": Object {
                    "placement": Array [
                      Object {
                        "placementBinding": "binding-role",
                        "placementRule": "placement-role",
                      },
                    ],
                    "status": Object {
                      "cluster1": Object {
                        "aggregatePoliciesStatus": Object {
                          "policy-role": Object {
                            "compliant": "Compliant",
                          },
                        },
                        "clustername": "cluster1",
                        "compliant": "Compliant",
                      },
                      "clusterhub": Object {
                        "aggregatePoliciesStatus": Object {
                          "policy-role": Object {
                            "compliant": "NonCompliant",
                          },
                        },
                        "clustername": "clusterhub",
                        "compliant": "NonCompliant",
                      },
                    },
                  },
                },
                "remediation": "inform",
                "subItems": Array [
                  Object {
                    "items": Array [
                      "binding-role",
                    ],
                    "name": "policy.pb",
                  },
                  Object {
                    "items": Array [
                      "placement-role",
                    ],
                    "name": "policy.pp",
                  },
                ],
              },
            ]
          }
          locale="en-US"
          placeHolderText="Find policies"
          refreshControl={
            Object {
              "refreshCookie": "grc-refresh-interval-cookie",
              "reloading": false,
              "timestamp": "Tue Jul 23 2019 01:13:42 GMT-0400 (Eastern Daylight Time)",
            }
          }
          resourceType={
            Object {
              "list": "HCMPolicyPolicyList",
              "name": "HCMPolicyPolicy",
            }
          }
          secondaryHeaderProps={
            Object {
              "information": "grc.header.tooltip",
              "links": Array [
                Object {
                  "id": "create-policy",
                  "label": "button.create.policy",
                  "url": "/multicloud/policies/create",
                },
              ],
              "tabs": Array [
                Object {
                  "id": "grc-overview",
                  "index": 0,
                  "label": "tabs.grc.overview",
                  "url": "/multicloud/policies",
                },
                Object {
                  "id": "grc-all",
                  "index": 1,
                  "label": "tabs.grc.all",
                  "url": "/multicloud/policies/all",
                },
                Object {
                  "id": "grc-findings",
                  "index": 2,
                  "label": "tabs.grc.findings",
                  "url": "/multicloud/policies/findings",
                },
              ],
              "title": "routes.grc",
            }
          }
          showApplications={true}
          showGrcTabToggle={true}
          showSidePanel={false}
          staticResourceData={
            Object {
              "defaultSortField": "metadata.name",
              "policyViolatedSidePanel": Object {
                "headerRows": Array [
                  "",
                  "table.header.cluster.name",
                  "table.header.rule.violation",
                  "",
                ],
                "rows": Array [
                  Object {
                    "cells": Array [
                      Object {
                        "resourceKey": "metadata.name",
                      },
                      Object {
                        "resourceKey": "violated",
                      },
                      Object {
                        "resourceKey": "status.consoleURL",
                        "transformFunction": [Function],
                      },
                    ],
                  },
                ],
                "subHeaders": Array [
                  "table.header.name",
                  "table.header.message",
                  "table.header.timestamp",
                ],
              },
              "primaryKey": "metadata.name",
              "secondaryKey": "metadata.namespace",
              "tableActions": Array [
                "table.actions.edit",
                "table.actions.disable",
                "table.actions.enforce",
                "table.actions.remove",
              ],
              "tableKeys": Array [
                Object {
                  "msgKey": "table.header.policy.name",
                  "resourceKey": "metadata.name",
                  "transformFunction": [Function],
                },
                Object {
                  "msgKey": "table.header.namespace",
                  "resourceKey": "namespace",
                },
                Object {
                  "information": "grc.remediation.tooltip",
                  "msgKey": "table.header.remediation",
                  "resourceKey": "remediation",
                },
                Object {
                  "msgKey": "table.header.cluster.violation",
                  "resourceKey": "clusterCompliant",
                  "transformFunction": [Function],
                },
                Object {
                  "msgKey": "table.header.standards",
                  "resourceKey": "metadata.annotations[\\"policy.open-cluster-management.io/standards\\"]",
                  "transformFunction": [Function],
                },
                Object {
                  "msgKey": "table.header.categories",
                  "resourceKey": "metadata.annotations[\\"policy.open-cluster-management.io/categories\\"]",
                  "transformFunction": [Function],
                },
                Object {
                  "msgKey": "table.header.controls",
                  "resourceKey": "metadata.annotations[\\"policy.open-cluster-management.io/controls\\"]",
                  "transformFunction": [Function],
                },
              ],
            }
          }
          tabs={
            Array [
              Object {
                "id": "grc-overview",
                "index": 0,
                "label": "tabs.grc.overview",
                "url": "/multicloud/policies",
              },
              Object {
                "id": "grc-all",
                "index": 1,
                "label": "tabs.grc.all",
                "url": "/multicloud/policies/all",
              },
              Object {
                "id": "grc-findings",
                "index": 2,
                "label": "tabs.grc.findings",
                "url": "/multicloud/policies/findings",
              },
            ]
          }
          title="routes.grc"
          topButton={
            <div
              className="module-toggle-tab-switch-strip"
            >
              <div
                className="module-toggle-tab-switch-makeup"
              />
              <div
                className="module-toggle-tab-switch"
              />
            </div>
          }
        >
          <div
            className="module-toggle-tab-switch-strip"
          >
            <div
              className="module-toggle-tab-switch-makeup"
            />
            <div
              className="module-toggle-tab-switch"
            />
          </div>
        </withRouter(Connect(ResourceList))>
      </div>,
      "_rendering": false,
      "_updater": [Circular],
      "_workInProgressHook": null,
    },
  },
}
`;

exports[`GrcToggle view with application renders expand as expected 2`] = `
GrcToggleModule {
  "context": Object {},
  "props": Object {
    "grcItems": Array [
      Object {
        "__typename": "Compliance",
        "clusterCompliant": "0/2",
        "metadata": Object {
          "__typename": "Metadata",
          "annotations": Object {
            "policy.open-cluster-management.io/categories": "",
            "policy.open-cluster-management.io/controls": "",
            "policy.open-cluster-management.io/standards": "",
            "seed-generation": "1",
          },
          "name": "my-policy",
          "namespace": "mcm",
          "resourceVersion": "1347399",
          "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/my-policy",
        },
        "name": "my-policy",
        "namespace": "mcm",
        "placementBindings": Array [
          Object {
            "__typename": "PlacementBinding",
            "metadata": Object {
              "__typename": "Metadata",
              "name": "binding-my-policy",
              "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-my-policy",
            },
          },
        ],
        "placementPolicies": Array [
          Object {
            "__typename": "PlacementPolicy",
            "metadata": Object {
              "__typename": "Metadata",
              "name": "placement-my-policy",
              "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-my-policy",
            },
          },
        ],
        "policyCompliant": "0/2",
        "raw": Object {
          "apiVersion": "policy.open-cluster-management.io/v1",
          "kind": "Policy",
          "metadata": Object {
            "annotations": Object {
              "policy.open-cluster-management.io/categories": "",
              "policy.open-cluster-management.io/controls": "",
              "policy.open-cluster-management.io/standards": "",
              "seed-generation": "1",
            },
            "creationTimestamp": "2019-07-21T15:53:58Z",
            "finalizers": Array [
              "propagator.finalizer.mcm.ibm.com",
            ],
            "generation": 55,
            "name": "my-policy",
            "namespace": "mcm",
            "resourceVersion": "1347399",
            "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/my-policy",
            "uid": "c049ec0d-abcf-11e9-8a41-005056a061f1",
          },
          "spec": Object {
            "complianceType": "musthave",
            "namespaces": Object {
              "exclude": Array [
                "kube-*",
              ],
              "include": Array [
                "default",
              ],
            },
            "object-templates": Array [
              Object {
                "complianceType": "musthave",
                "objectDefinition": Object {
                  "apiVersion": "rbac.authorization.k8s.io/v1",
                  "kind": "RoleBinding",
                  "metadata": Object {
                    "name": "operate-pods-rolebinding",
                  },
                  "roleRef": Object {
                    "apiGroup": "rbac.authorization.k8s.io",
                    "kind": "Role",
                    "name": "operator",
                  },
                  "subjects": Array [
                    Object {
                      "apiGroup": "rbac.authorization.k8s.io",
                      "kind": "User",
                      "name": "admin",
                    },
                  ],
                },
                "status": Object {
                  "Validity": Object {},
                },
              },
            ],
            "remediationAction": "enforce",
          },
          "status": Object {
            "placement": Array [
              Object {
                "placementBinding": "binding-my-policy",
                "placementRule": "placement-my-policy",
              },
            ],
            "status": Object {
              "cluster1": Object {
                "aggregatePoliciesStatus": Object {
                  "my-policy": Object {
                    "compliant": "Compliant",
                  },
                },
                "clustername": "cluster1",
                "compliant": "Compliant",
              },
              "clusterhub": Object {
                "aggregatePoliciesStatus": Object {
                  "my-policy": Object {
                    "compliant": "Compliant",
                  },
                },
                "clustername": "clusterhub",
                "compliant": "Compliant",
              },
            },
          },
        },
        "remediation": "enforce",
      },
      Object {
        "__typename": "Compliance",
        "clusterCompliant": "1/2",
        "metadata": Object {
          "__typename": "Metadata",
          "annotations": Object {
            "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST\\"},\\"name\\":\\"policy-ma\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"policy-templates\\":[{\\"objectDefinition\\":{\\"apiVersion\\":\\"policies.ibm.com/v1alpha1\\",\\"kind\\":\\"MutationPolicy\\",\\"metadata\\":{\\"label\\":{\\"category\\":\\"System-Integrity\\"},\\"name\\":\\"mutation-policy-example\\"},\\"spec\\":{\\"conditions\\":{\\"ownership\\":[\\"ReplicaSet\\",\\"Deployment\\",\\"DeamonSet\\",\\"ReplicationController\\"]},\\"namespaceSelector\\":{\\"exclude\\":[\\"kube-system\\"],\\"include\\":[\\"default\\",\\"kube-*\\"]},\\"remediationAction\\":\\"enforce\\"}}}],\\"remediationAction\\":\\"enforce\\"}}
",
            "policy.open-cluster-management.io/categories": "SystemAndInformationIntegrity",
            "policy.open-cluster-management.io/controls": "MutationAdvisor",
            "policy.open-cluster-management.io/standards": "NIST",
            "seed-generation": "1",
          },
          "name": "policy-ma",
          "namespace": "mcm",
          "resourceVersion": "1347579",
          "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-ma",
        },
        "name": "policy-ma",
        "namespace": "mcm",
        "placementBindings": Array [
          Object {
            "__typename": "PlacementBinding",
            "metadata": Object {
              "__typename": "Metadata",
              "name": "binding-ma",
              "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-ma",
            },
          },
        ],
        "placementPolicies": Array [
          Object {
            "__typename": "PlacementPolicy",
            "metadata": Object {
              "__typename": "Metadata",
              "name": "placement-ma",
              "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-ma",
            },
          },
        ],
        "policyCompliant": "1/2",
        "raw": Object {
          "apiVersion": "policy.open-cluster-management.io/v1",
          "kind": "Policy",
          "metadata": Object {
            "annotations": Object {
              "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST\\"},\\"name\\":\\"policy-ma\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"policy-templates\\":[{\\"objectDefinition\\":{\\"apiVersion\\":\\"policies.ibm.com/v1alpha1\\",\\"kind\\":\\"MutationPolicy\\",\\"metadata\\":{\\"label\\":{\\"category\\":\\"System-Integrity\\"},\\"name\\":\\"mutation-policy-example\\"},\\"spec\\":{\\"conditions\\":{\\"ownership\\":[\\"ReplicaSet\\",\\"Deployment\\",\\"DeamonSet\\",\\"ReplicationController\\"]},\\"namespaceSelector\\":{\\"exclude\\":[\\"kube-system\\"],\\"include\\":[\\"default\\",\\"kube-*\\"]},\\"remediationAction\\":\\"enforce\\"}}}],\\"remediationAction\\":\\"enforce\\"}}
",
              "policy.open-cluster-management.io/categories": "SystemAndInformationIntegrity",
              "policy.open-cluster-management.io/controls": "MutationAdvisor",
              "policy.open-cluster-management.io/standards": "NIST",
              "seed-generation": "1",
            },
            "creationTimestamp": "2019-07-16T13:18:48Z",
            "finalizers": Array [
              "propagator.finalizer.mcm.ibm.com",
            ],
            "generation": 45,
            "name": "policy-ma",
            "namespace": "mcm",
            "resourceVersion": "1347579",
            "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-ma",
            "uid": "3f218d45-a7cc-11e9-8a41-005056a061f1",
          },
          "spec": Object {
            "namespaces": Object {},
            "policy-templates": Array [
              Object {
                "objectDefinition": Object {
                  "apiVersion": "policies.ibm.com/v1alpha1",
                  "kind": "MutationPolicy",
                  "metadata": Object {
                    "label": Object {
                      "category": "System-Integrity",
                    },
                    "name": "mutation-policy-example",
                  },
                  "spec": Object {
                    "conditions": Object {
                      "ownership": Array [
                        "ReplicaSet",
                        "Deployment",
                        "DeamonSet",
                        "ReplicationController",
                      ],
                    },
                    "namespaceSelector": Object {
                      "exclude": Array [
                        "kube-system",
                      ],
                      "include": Array [
                        "default",
                        "kube-*",
                      ],
                    },
                    "remediationAction": "enforce",
                  },
                },
                "status": Object {
                  "Validity": Object {},
                },
              },
            ],
            "remediationAction": "enforce",
          },
          "status": Object {
            "placement": Array [
              Object {
                "placementBinding": "binding-ma",
                "placementRule": "placement-ma",
              },
            ],
            "status": Object {
              "cluster1": Object {
                "aggregatePoliciesStatus": Object {
                  "policy-ma": Object {
                    "compliant": "NonCompliant",
                  },
                },
                "clustername": "cluster1",
                "compliant": "NonCompliant",
              },
              "clusterhub": Object {
                "aggregatePoliciesStatus": Object {
                  "policy-ma": Object {
                    "compliant": "Compliant",
                  },
                },
                "clustername": "clusterhub",
                "compliant": "Compliant",
              },
            },
          },
        },
        "remediation": "enforce",
      },
      Object {
        "__typename": "Compliance",
        "clusterCompliant": "1/2",
        "metadata": Object {
          "__typename": "Metadata",
          "annotations": Object {
            "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
            "policy.open-cluster-management.io/controls": "MutationAdvisor,CertificateManager",
            "policy.open-cluster-management.io/standards": "NIST,HIPAA",
            "seed-generation": "1",
          },
          "name": "policy-pod",
          "namespace": "mcm",
          "resourceVersion": "1257026",
          "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-pod",
        },
        "name": "policy-pod",
        "namespace": "mcm",
        "placementBindings": Array [
          Object {
            "__typename": "PlacementBinding",
            "metadata": Object {
              "__typename": "Metadata",
              "name": "binding-pod",
              "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-pod",
            },
          },
        ],
        "placementPolicies": Array [
          Object {
            "__typename": "PlacementPolicy",
            "metadata": Object {
              "__typename": "Metadata",
              "name": "placement-pod",
              "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-pod",
            },
          },
        ],
        "policyCompliant": "1/2",
        "raw": Object {
          "apiVersion": "policy.open-cluster-management.io/v1",
          "kind": "Policy",
          "metadata": Object {
            "annotations": Object {
              "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
              "policy.open-cluster-management.io/controls": "MutationAdvisor,CertificateManager",
              "policy.open-cluster-management.io/standards": "NIST,HIPAA",
              "seed-generation": "1",
            },
            "creationTimestamp": "2019-07-16T13:16:46Z",
            "finalizers": Array [
              "propagator.finalizer.mcm.ibm.com",
            ],
            "generation": 19,
            "name": "policy-pod",
            "namespace": "mcm",
            "resourceVersion": "1257026",
            "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-pod",
            "uid": "f61a25eb-a7cb-11e9-8a41-005056a061f1",
          },
          "spec": Object {
            "complianceType": "musthave",
            "namespaces": Object {
              "exclude": Array [
                "kube*",
              ],
              "include": Array [
                "default",
              ],
            },
            "object-templates": Array [
              Object {
                "complianceType": "musthave",
                "objectDefinition": Object {
                  "apiVersion": "v1",
                  "kind": "Pod",
                  "metadata": Object {
                    "name": "nginx-pod",
                  },
                  "spec": Object {
                    "containers": Array [
                      Object {
                        "image": "nginx:1.7.9",
                        "name": "nginx",
                        "ports": Array [
                          Object {
                            "containerPort": 80,
                          },
                        ],
                      },
                    ],
                  },
                },
                "status": Object {
                  "Validity": Object {},
                },
              },
            ],
            "remediationAction": "inform",
          },
          "status": Object {
            "placement": Array [
              Object {
                "placementBinding": "binding-pod",
                "placementRule": "placement-pod",
              },
            ],
            "status": Object {
              "cluster1": Object {
                "aggregatePoliciesStatus": Object {
                  "policy-pod": Object {
                    "compliant": "Compliant",
                  },
                },
                "clustername": "cluster1",
                "compliant": "Compliant",
              },
              "clusterhub": Object {
                "aggregatePoliciesStatus": Object {
                  "policy-pod": Object {
                    "compliant": "NonCompliant",
                  },
                },
                "clustername": "clusterhub",
                "compliant": "NonCompliant",
              },
            },
          },
        },
        "remediation": "inform",
      },
      Object {
        "__typename": "Compliance",
        "clusterCompliant": "1/2",
        "metadata": Object {
          "__typename": "Metadata",
          "annotations": Object {
            "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndCommunicationsProtections,SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor,VA\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST,HIPAA\\"},\\"name\\":\\"policy-role\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"namespaces\\":{\\"exclude\\":[\\"kube*\\"],\\"include\\":[\\"default\\"]},\\"remediationAction\\":\\"inform\\",\\"role-templates\\":[{\\"apiVersion\\":\\"roletemplate.mcm.ibm.com/v1alpha1\\",\\"complianceType\\":\\"musthave\\",\\"metadata\\":{\\"name\\":\\"operator-role-policy\\",\\"namespace\\":\\"\\"},\\"rules\\":[{\\"complianceType\\":\\"musthave\\",\\"policyRule\\":{\\"apiGroups\\":[\\"extensions\\",\\"apps\\"],\\"resources\\":[\\"deployments\\"],\\"verbs\\":[\\"get\\",\\"list\\",\\"watch\\",\\"create\\",\\"delete\\",\\"patch\\"]}}],\\"selector\\":{\\"matchLabels\\":{\\"dev\\":\\"true\\"}}}]}}
",
            "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
            "policy.open-cluster-management.io/controls": "MutationAdvisor,VA",
            "policy.open-cluster-management.io/standards": "NIST,HIPAA",
            "seed-generation": "1",
          },
          "name": "policy-role",
          "namespace": "mcm",
          "resourceVersion": "1201118",
          "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-role",
        },
        "name": "policy-role",
        "namespace": "mcm",
        "placementBindings": Array [
          Object {
            "__typename": "PlacementBinding",
            "metadata": Object {
              "__typename": "Metadata",
              "name": "binding-role",
              "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-role",
            },
          },
        ],
        "placementPolicies": Array [
          Object {
            "__typename": "PlacementPolicy",
            "metadata": Object {
              "__typename": "Metadata",
              "name": "placement-role",
              "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-role",
            },
          },
        ],
        "policyCompliant": "1/2",
        "raw": Object {
          "apiVersion": "policy.open-cluster-management.io/v1",
          "kind": "Policy",
          "metadata": Object {
            "annotations": Object {
              "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndCommunicationsProtections,SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor,VA\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST,HIPAA\\"},\\"name\\":\\"policy-role\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"namespaces\\":{\\"exclude\\":[\\"kube*\\"],\\"include\\":[\\"default\\"]},\\"remediationAction\\":\\"inform\\",\\"role-templates\\":[{\\"apiVersion\\":\\"roletemplate.mcm.ibm.com/v1alpha1\\",\\"complianceType\\":\\"musthave\\",\\"metadata\\":{\\"name\\":\\"operator-role-policy\\",\\"namespace\\":\\"\\"},\\"rules\\":[{\\"complianceType\\":\\"musthave\\",\\"policyRule\\":{\\"apiGroups\\":[\\"extensions\\",\\"apps\\"],\\"resources\\":[\\"deployments\\"],\\"verbs\\":[\\"get\\",\\"list\\",\\"watch\\",\\"create\\",\\"delete\\",\\"patch\\"]}}],\\"selector\\":{\\"matchLabels\\":{\\"dev\\":\\"true\\"}}}]}}
",
              "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
              "policy.open-cluster-management.io/controls": "MutationAdvisor,VA",
              "policy.open-cluster-management.io/standards": "NIST,HIPAA",
              "seed-generation": "1",
            },
            "creationTimestamp": "2019-07-16T13:19:03Z",
            "finalizers": Array [
              "propagator.finalizer.mcm.ibm.com",
            ],
            "generation": 16,
            "name": "policy-role",
            "namespace": "mcm",
            "resourceVersion": "1201118",
            "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-role",
            "uid": "47dbc091-a7cc-11e9-8a41-005056a061f1",
          },
          "spec": Object {
            "namespaces": Object {
              "exclude": Array [
                "kube*",
              ],
              "include": Array [
                "default",
              ],
            },
            "remediationAction": "inform",
            "role-templates": Array [
              Object {
                "apiVersion": "roletemplate.mcm.ibm.com/v1alpha1",
                "complianceType": "musthave",
                "metadata": Object {
                  "creationTimestamp": null,
                  "name": "operator-role-policy",
                },
                "rules": Array [
                  Object {
                    "complianceType": "musthave",
                    "policyRule": Object {
                      "apiGroups": Array [
                        "extensions",
                        "apps",
                      ],
                      "resources": Array [
                        "deployments",
                      ],
                      "verbs": Array [
                        "get",
                        "list",
                        "watch",
                        "create",
                        "delete",
                        "patch",
                      ],
                    },
                  },
                ],
                "selector": Object {
                  "matchLabels": Object {
                    "dev": "true",
                  },
                },
                "status": Object {
                  "Validity": Object {},
                },
              },
            ],
          },
          "status": Object {
            "placement": Array [
              Object {
                "placementBinding": "binding-role",
                "placementRule": "placement-role",
              },
            ],
            "status": Object {
              "cluster1": Object {
                "aggregatePoliciesStatus": Object {
                  "policy-role": Object {
                    "compliant": "Compliant",
                  },
                },
                "clustername": "cluster1",
                "compliant": "Compliant",
              },
              "clusterhub": Object {
                "aggregatePoliciesStatus": Object {
                  "policy-role": Object {
                    "compliant": "NonCompliant",
                  },
                },
                "clustername": "clusterhub",
                "compliant": "NonCompliant",
              },
            },
          },
        },
        "remediation": "inform",
      },
    ],
    "grcTabToggleIndex": 0,
    "highLightRowName": "",
    "locale": "en-US",
    "refreshControl": Object {
      "refreshCookie": "grc-refresh-interval-cookie",
      "reloading": false,
      "timestamp": "Tue Jul 23 2019 01:13:42 GMT-0400 (Eastern Daylight Time)",
    },
    "secondaryHeaderProps": Object {
      "information": "grc.header.tooltip",
      "links": Array [
        Object {
          "id": "create-policy",
          "label": "button.create.policy",
          "url": "/multicloud/policies/create",
        },
      ],
      "tabs": Array [
        Object {
          "id": "grc-overview",
          "index": 0,
          "label": "tabs.grc.overview",
          "url": "/multicloud/policies",
        },
        Object {
          "id": "grc-all",
          "index": 1,
          "label": "tabs.grc.all",
          "url": "/multicloud/policies/all",
        },
        Object {
          "id": "grc-findings",
          "index": 2,
          "label": "tabs.grc.findings",
          "url": "/multicloud/policies/findings",
        },
      ],
      "title": "routes.grc",
    },
    "showApplications": true,
    "showGrcTabToggle": false,
    "showSidePanel": false,
  },
  "refs": Object {},
  "setState": [Function],
  "state": null,
  "toggleClick": [Function],
  "updater": Updater {
    "_callbacks": Array [],
    "_renderer": ReactShallowRenderer {
      "_context": Object {},
      "_didScheduleRenderPhaseUpdate": false,
      "_dispatcher": Object {
        "readContext": [Function],
        "useCallback": [Function],
        "useContext": [Function],
        "useDebugValue": [Function],
        "useDeferredValue": [Function],
        "useEffect": [Function],
        "useImperativeHandle": [Function],
        "useLayoutEffect": [Function],
        "useMemo": [Function],
        "useReducer": [Function],
        "useRef": [Function],
        "useResponder": [Function],
        "useState": [Function],
        "useTransition": [Function],
      },
      "_element": <GrcToggleModule
        grcItems={
          Array [
            Object {
              "__typename": "Compliance",
              "clusterCompliant": "0/2",
              "metadata": Object {
                "__typename": "Metadata",
                "annotations": Object {
                  "policy.open-cluster-management.io/categories": "",
                  "policy.open-cluster-management.io/controls": "",
                  "policy.open-cluster-management.io/standards": "",
                  "seed-generation": "1",
                },
                "name": "my-policy",
                "namespace": "mcm",
                "resourceVersion": "1347399",
                "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/my-policy",
              },
              "name": "my-policy",
              "namespace": "mcm",
              "placementBindings": Array [
                Object {
                  "__typename": "PlacementBinding",
                  "metadata": Object {
                    "__typename": "Metadata",
                    "name": "binding-my-policy",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-my-policy",
                  },
                },
              ],
              "placementPolicies": Array [
                Object {
                  "__typename": "PlacementPolicy",
                  "metadata": Object {
                    "__typename": "Metadata",
                    "name": "placement-my-policy",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-my-policy",
                  },
                },
              ],
              "policyCompliant": "0/2",
              "raw": Object {
                "apiVersion": "policy.open-cluster-management.io/v1",
                "kind": "Policy",
                "metadata": Object {
                  "annotations": Object {
                    "policy.open-cluster-management.io/categories": "",
                    "policy.open-cluster-management.io/controls": "",
                    "policy.open-cluster-management.io/standards": "",
                    "seed-generation": "1",
                  },
                  "creationTimestamp": "2019-07-21T15:53:58Z",
                  "finalizers": Array [
                    "propagator.finalizer.mcm.ibm.com",
                  ],
                  "generation": 55,
                  "name": "my-policy",
                  "namespace": "mcm",
                  "resourceVersion": "1347399",
                  "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/my-policy",
                  "uid": "c049ec0d-abcf-11e9-8a41-005056a061f1",
                },
                "spec": Object {
                  "complianceType": "musthave",
                  "namespaces": Object {
                    "exclude": Array [
                      "kube-*",
                    ],
                    "include": Array [
                      "default",
                    ],
                  },
                  "object-templates": Array [
                    Object {
                      "complianceType": "musthave",
                      "objectDefinition": Object {
                        "apiVersion": "rbac.authorization.k8s.io/v1",
                        "kind": "RoleBinding",
                        "metadata": Object {
                          "name": "operate-pods-rolebinding",
                        },
                        "roleRef": Object {
                          "apiGroup": "rbac.authorization.k8s.io",
                          "kind": "Role",
                          "name": "operator",
                        },
                        "subjects": Array [
                          Object {
                            "apiGroup": "rbac.authorization.k8s.io",
                            "kind": "User",
                            "name": "admin",
                          },
                        ],
                      },
                      "status": Object {
                        "Validity": Object {},
                      },
                    },
                  ],
                  "remediationAction": "enforce",
                },
                "status": Object {
                  "placement": Array [
                    Object {
                      "placementBinding": "binding-my-policy",
                      "placementRule": "placement-my-policy",
                    },
                  ],
                  "status": Object {
                    "cluster1": Object {
                      "aggregatePoliciesStatus": Object {
                        "my-policy": Object {
                          "compliant": "Compliant",
                        },
                      },
                      "clustername": "cluster1",
                      "compliant": "Compliant",
                    },
                    "clusterhub": Object {
                      "aggregatePoliciesStatus": Object {
                        "my-policy": Object {
                          "compliant": "Compliant",
                        },
                      },
                      "clustername": "clusterhub",
                      "compliant": "Compliant",
                    },
                  },
                },
              },
              "remediation": "enforce",
            },
            Object {
              "__typename": "Compliance",
              "clusterCompliant": "1/2",
              "metadata": Object {
                "__typename": "Metadata",
                "annotations": Object {
                  "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST\\"},\\"name\\":\\"policy-ma\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"policy-templates\\":[{\\"objectDefinition\\":{\\"apiVersion\\":\\"policies.ibm.com/v1alpha1\\",\\"kind\\":\\"MutationPolicy\\",\\"metadata\\":{\\"label\\":{\\"category\\":\\"System-Integrity\\"},\\"name\\":\\"mutation-policy-example\\"},\\"spec\\":{\\"conditions\\":{\\"ownership\\":[\\"ReplicaSet\\",\\"Deployment\\",\\"DeamonSet\\",\\"ReplicationController\\"]},\\"namespaceSelector\\":{\\"exclude\\":[\\"kube-system\\"],\\"include\\":[\\"default\\",\\"kube-*\\"]},\\"remediationAction\\":\\"enforce\\"}}}],\\"remediationAction\\":\\"enforce\\"}}
",
                  "policy.open-cluster-management.io/categories": "SystemAndInformationIntegrity",
                  "policy.open-cluster-management.io/controls": "MutationAdvisor",
                  "policy.open-cluster-management.io/standards": "NIST",
                  "seed-generation": "1",
                },
                "name": "policy-ma",
                "namespace": "mcm",
                "resourceVersion": "1347579",
                "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-ma",
              },
              "name": "policy-ma",
              "namespace": "mcm",
              "placementBindings": Array [
                Object {
                  "__typename": "PlacementBinding",
                  "metadata": Object {
                    "__typename": "Metadata",
                    "name": "binding-ma",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-ma",
                  },
                },
              ],
              "placementPolicies": Array [
                Object {
                  "__typename": "PlacementPolicy",
                  "metadata": Object {
                    "__typename": "Metadata",
                    "name": "placement-ma",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-ma",
                  },
                },
              ],
              "policyCompliant": "1/2",
              "raw": Object {
                "apiVersion": "policy.open-cluster-management.io/v1",
                "kind": "Policy",
                "metadata": Object {
                  "annotations": Object {
                    "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST\\"},\\"name\\":\\"policy-ma\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"policy-templates\\":[{\\"objectDefinition\\":{\\"apiVersion\\":\\"policies.ibm.com/v1alpha1\\",\\"kind\\":\\"MutationPolicy\\",\\"metadata\\":{\\"label\\":{\\"category\\":\\"System-Integrity\\"},\\"name\\":\\"mutation-policy-example\\"},\\"spec\\":{\\"conditions\\":{\\"ownership\\":[\\"ReplicaSet\\",\\"Deployment\\",\\"DeamonSet\\",\\"ReplicationController\\"]},\\"namespaceSelector\\":{\\"exclude\\":[\\"kube-system\\"],\\"include\\":[\\"default\\",\\"kube-*\\"]},\\"remediationAction\\":\\"enforce\\"}}}],\\"remediationAction\\":\\"enforce\\"}}
",
                    "policy.open-cluster-management.io/categories": "SystemAndInformationIntegrity",
                    "policy.open-cluster-management.io/controls": "MutationAdvisor",
                    "policy.open-cluster-management.io/standards": "NIST",
                    "seed-generation": "1",
                  },
                  "creationTimestamp": "2019-07-16T13:18:48Z",
                  "finalizers": Array [
                    "propagator.finalizer.mcm.ibm.com",
                  ],
                  "generation": 45,
                  "name": "policy-ma",
                  "namespace": "mcm",
                  "resourceVersion": "1347579",
                  "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-ma",
                  "uid": "3f218d45-a7cc-11e9-8a41-005056a061f1",
                },
                "spec": Object {
                  "namespaces": Object {},
                  "policy-templates": Array [
                    Object {
                      "objectDefinition": Object {
                        "apiVersion": "policies.ibm.com/v1alpha1",
                        "kind": "MutationPolicy",
                        "metadata": Object {
                          "label": Object {
                            "category": "System-Integrity",
                          },
                          "name": "mutation-policy-example",
                        },
                        "spec": Object {
                          "conditions": Object {
                            "ownership": Array [
                              "ReplicaSet",
                              "Deployment",
                              "DeamonSet",
                              "ReplicationController",
                            ],
                          },
                          "namespaceSelector": Object {
                            "exclude": Array [
                              "kube-system",
                            ],
                            "include": Array [
                              "default",
                              "kube-*",
                            ],
                          },
                          "remediationAction": "enforce",
                        },
                      },
                      "status": Object {
                        "Validity": Object {},
                      },
                    },
                  ],
                  "remediationAction": "enforce",
                },
                "status": Object {
                  "placement": Array [
                    Object {
                      "placementBinding": "binding-ma",
                      "placementRule": "placement-ma",
                    },
                  ],
                  "status": Object {
                    "cluster1": Object {
                      "aggregatePoliciesStatus": Object {
                        "policy-ma": Object {
                          "compliant": "NonCompliant",
                        },
                      },
                      "clustername": "cluster1",
                      "compliant": "NonCompliant",
                    },
                    "clusterhub": Object {
                      "aggregatePoliciesStatus": Object {
                        "policy-ma": Object {
                          "compliant": "Compliant",
                        },
                      },
                      "clustername": "clusterhub",
                      "compliant": "Compliant",
                    },
                  },
                },
              },
              "remediation": "enforce",
            },
            Object {
              "__typename": "Compliance",
              "clusterCompliant": "1/2",
              "metadata": Object {
                "__typename": "Metadata",
                "annotations": Object {
                  "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
                  "policy.open-cluster-management.io/controls": "MutationAdvisor,CertificateManager",
                  "policy.open-cluster-management.io/standards": "NIST,HIPAA",
                  "seed-generation": "1",
                },
                "name": "policy-pod",
                "namespace": "mcm",
                "resourceVersion": "1257026",
                "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-pod",
              },
              "name": "policy-pod",
              "namespace": "mcm",
              "placementBindings": Array [
                Object {
                  "__typename": "PlacementBinding",
                  "metadata": Object {
                    "__typename": "Metadata",
                    "name": "binding-pod",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-pod",
                  },
                },
              ],
              "placementPolicies": Array [
                Object {
                  "__typename": "PlacementPolicy",
                  "metadata": Object {
                    "__typename": "Metadata",
                    "name": "placement-pod",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-pod",
                  },
                },
              ],
              "policyCompliant": "1/2",
              "raw": Object {
                "apiVersion": "policy.open-cluster-management.io/v1",
                "kind": "Policy",
                "metadata": Object {
                  "annotations": Object {
                    "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
                    "policy.open-cluster-management.io/controls": "MutationAdvisor,CertificateManager",
                    "policy.open-cluster-management.io/standards": "NIST,HIPAA",
                    "seed-generation": "1",
                  },
                  "creationTimestamp": "2019-07-16T13:16:46Z",
                  "finalizers": Array [
                    "propagator.finalizer.mcm.ibm.com",
                  ],
                  "generation": 19,
                  "name": "policy-pod",
                  "namespace": "mcm",
                  "resourceVersion": "1257026",
                  "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-pod",
                  "uid": "f61a25eb-a7cb-11e9-8a41-005056a061f1",
                },
                "spec": Object {
                  "complianceType": "musthave",
                  "namespaces": Object {
                    "exclude": Array [
                      "kube*",
                    ],
                    "include": Array [
                      "default",
                    ],
                  },
                  "object-templates": Array [
                    Object {
                      "complianceType": "musthave",
                      "objectDefinition": Object {
                        "apiVersion": "v1",
                        "kind": "Pod",
                        "metadata": Object {
                          "name": "nginx-pod",
                        },
                        "spec": Object {
                          "containers": Array [
                            Object {
                              "image": "nginx:1.7.9",
                              "name": "nginx",
                              "ports": Array [
                                Object {
                                  "containerPort": 80,
                                },
                              ],
                            },
                          ],
                        },
                      },
                      "status": Object {
                        "Validity": Object {},
                      },
                    },
                  ],
                  "remediationAction": "inform",
                },
                "status": Object {
                  "placement": Array [
                    Object {
                      "placementBinding": "binding-pod",
                      "placementRule": "placement-pod",
                    },
                  ],
                  "status": Object {
                    "cluster1": Object {
                      "aggregatePoliciesStatus": Object {
                        "policy-pod": Object {
                          "compliant": "Compliant",
                        },
                      },
                      "clustername": "cluster1",
                      "compliant": "Compliant",
                    },
                    "clusterhub": Object {
                      "aggregatePoliciesStatus": Object {
                        "policy-pod": Object {
                          "compliant": "NonCompliant",
                        },
                      },
                      "clustername": "clusterhub",
                      "compliant": "NonCompliant",
                    },
                  },
                },
              },
              "remediation": "inform",
            },
            Object {
              "__typename": "Compliance",
              "clusterCompliant": "1/2",
              "metadata": Object {
                "__typename": "Metadata",
                "annotations": Object {
                  "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndCommunicationsProtections,SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor,VA\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST,HIPAA\\"},\\"name\\":\\"policy-role\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"namespaces\\":{\\"exclude\\":[\\"kube*\\"],\\"include\\":[\\"default\\"]},\\"remediationAction\\":\\"inform\\",\\"role-templates\\":[{\\"apiVersion\\":\\"roletemplate.mcm.ibm.com/v1alpha1\\",\\"complianceType\\":\\"musthave\\",\\"metadata\\":{\\"name\\":\\"operator-role-policy\\",\\"namespace\\":\\"\\"},\\"rules\\":[{\\"complianceType\\":\\"musthave\\",\\"policyRule\\":{\\"apiGroups\\":[\\"extensions\\",\\"apps\\"],\\"resources\\":[\\"deployments\\"],\\"verbs\\":[\\"get\\",\\"list\\",\\"watch\\",\\"create\\",\\"delete\\",\\"patch\\"]}}],\\"selector\\":{\\"matchLabels\\":{\\"dev\\":\\"true\\"}}}]}}
",
                  "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
                  "policy.open-cluster-management.io/controls": "MutationAdvisor,VA",
                  "policy.open-cluster-management.io/standards": "NIST,HIPAA",
                  "seed-generation": "1",
                },
                "name": "policy-role",
                "namespace": "mcm",
                "resourceVersion": "1201118",
                "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-role",
              },
              "name": "policy-role",
              "namespace": "mcm",
              "placementBindings": Array [
                Object {
                  "__typename": "PlacementBinding",
                  "metadata": Object {
                    "__typename": "Metadata",
                    "name": "binding-role",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-role",
                  },
                },
              ],
              "placementPolicies": Array [
                Object {
                  "__typename": "PlacementPolicy",
                  "metadata": Object {
                    "__typename": "Metadata",
                    "name": "placement-role",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-role",
                  },
                },
              ],
              "policyCompliant": "1/2",
              "raw": Object {
                "apiVersion": "policy.open-cluster-management.io/v1",
                "kind": "Policy",
                "metadata": Object {
                  "annotations": Object {
                    "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndCommunicationsProtections,SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor,VA\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST,HIPAA\\"},\\"name\\":\\"policy-role\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"namespaces\\":{\\"exclude\\":[\\"kube*\\"],\\"include\\":[\\"default\\"]},\\"remediationAction\\":\\"inform\\",\\"role-templates\\":[{\\"apiVersion\\":\\"roletemplate.mcm.ibm.com/v1alpha1\\",\\"complianceType\\":\\"musthave\\",\\"metadata\\":{\\"name\\":\\"operator-role-policy\\",\\"namespace\\":\\"\\"},\\"rules\\":[{\\"complianceType\\":\\"musthave\\",\\"policyRule\\":{\\"apiGroups\\":[\\"extensions\\",\\"apps\\"],\\"resources\\":[\\"deployments\\"],\\"verbs\\":[\\"get\\",\\"list\\",\\"watch\\",\\"create\\",\\"delete\\",\\"patch\\"]}}],\\"selector\\":{\\"matchLabels\\":{\\"dev\\":\\"true\\"}}}]}}
",
                    "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
                    "policy.open-cluster-management.io/controls": "MutationAdvisor,VA",
                    "policy.open-cluster-management.io/standards": "NIST,HIPAA",
                    "seed-generation": "1",
                  },
                  "creationTimestamp": "2019-07-16T13:19:03Z",
                  "finalizers": Array [
                    "propagator.finalizer.mcm.ibm.com",
                  ],
                  "generation": 16,
                  "name": "policy-role",
                  "namespace": "mcm",
                  "resourceVersion": "1201118",
                  "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-role",
                  "uid": "47dbc091-a7cc-11e9-8a41-005056a061f1",
                },
                "spec": Object {
                  "namespaces": Object {
                    "exclude": Array [
                      "kube*",
                    ],
                    "include": Array [
                      "default",
                    ],
                  },
                  "remediationAction": "inform",
                  "role-templates": Array [
                    Object {
                      "apiVersion": "roletemplate.mcm.ibm.com/v1alpha1",
                      "complianceType": "musthave",
                      "metadata": Object {
                        "creationTimestamp": null,
                        "name": "operator-role-policy",
                      },
                      "rules": Array [
                        Object {
                          "complianceType": "musthave",
                          "policyRule": Object {
                            "apiGroups": Array [
                              "extensions",
                              "apps",
                            ],
                            "resources": Array [
                              "deployments",
                            ],
                            "verbs": Array [
                              "get",
                              "list",
                              "watch",
                              "create",
                              "delete",
                              "patch",
                            ],
                          },
                        },
                      ],
                      "selector": Object {
                        "matchLabels": Object {
                          "dev": "true",
                        },
                      },
                      "status": Object {
                        "Validity": Object {},
                      },
                    },
                  ],
                },
                "status": Object {
                  "placement": Array [
                    Object {
                      "placementBinding": "binding-role",
                      "placementRule": "placement-role",
                    },
                  ],
                  "status": Object {
                    "cluster1": Object {
                      "aggregatePoliciesStatus": Object {
                        "policy-role": Object {
                          "compliant": "Compliant",
                        },
                      },
                      "clustername": "cluster1",
                      "compliant": "Compliant",
                    },
                    "clusterhub": Object {
                      "aggregatePoliciesStatus": Object {
                        "policy-role": Object {
                          "compliant": "NonCompliant",
                        },
                      },
                      "clustername": "clusterhub",
                      "compliant": "NonCompliant",
                    },
                  },
                },
              },
              "remediation": "inform",
            },
          ]
        }
        grcTabToggleIndex={0}
        highLightRowName=""
        locale="en-US"
        refreshControl={
          Object {
            "refreshCookie": "grc-refresh-interval-cookie",
            "reloading": false,
            "timestamp": "Tue Jul 23 2019 01:13:42 GMT-0400 (Eastern Daylight Time)",
          }
        }
        secondaryHeaderProps={
          Object {
            "information": "grc.header.tooltip",
            "links": Array [
              Object {
                "id": "create-policy",
                "label": "button.create.policy",
                "url": "/multicloud/policies/create",
              },
            ],
            "tabs": Array [
              Object {
                "id": "grc-overview",
                "index": 0,
                "label": "tabs.grc.overview",
                "url": "/multicloud/policies",
              },
              Object {
                "id": "grc-all",
                "index": 1,
                "label": "tabs.grc.all",
                "url": "/multicloud/policies/all",
              },
              Object {
                "id": "grc-findings",
                "index": 2,
                "label": "tabs.grc.findings",
                "url": "/multicloud/policies/findings",
              },
            ],
            "title": "routes.grc",
          }
        }
        showApplications={true}
        showGrcTabToggle={false}
        showSidePanel={false}
      />,
      "_firstWorkInProgressHook": null,
      "_forcedUpdate": false,
      "_instance": [Circular],
      "_isReRender": false,
      "_newState": null,
      "_numberOfReRenders": 0,
      "_renderPhaseUpdates": null,
      "_rendered": <div
        className="module-toggle-tab"
      >
        <withRouter(Connect(ResourceList))
          autoAction="table.actions.policy.sidepanel"
          detailsTabs={
            Array [
              "policies",
            ]
          }
          getVisibleResources={[Function]}
          grcItems={
            Array [
              Object {
                "__typename": "Compliance",
                "clusterCompliant": "0/2",
                "metadata": Object {
                  "__typename": "Metadata",
                  "annotations": Object {
                    "policy.open-cluster-management.io/categories": "",
                    "policy.open-cluster-management.io/controls": "",
                    "policy.open-cluster-management.io/standards": "",
                    "seed-generation": "1",
                  },
                  "name": "my-policy",
                  "namespace": "mcm",
                  "resourceVersion": "1347399",
                  "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/my-policy",
                },
                "name": "my-policy",
                "namespace": "mcm",
                "placementBindings": Array [
                  Object {
                    "__typename": "PlacementBinding",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "binding-my-policy",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-my-policy",
                    },
                  },
                ],
                "placementPolicies": Array [
                  Object {
                    "__typename": "PlacementPolicy",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "placement-my-policy",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-my-policy",
                    },
                  },
                ],
                "policyCompliant": "0/2",
                "raw": Object {
                  "apiVersion": "policy.open-cluster-management.io/v1",
                  "kind": "Policy",
                  "metadata": Object {
                    "annotations": Object {
                      "policy.open-cluster-management.io/categories": "",
                      "policy.open-cluster-management.io/controls": "",
                      "policy.open-cluster-management.io/standards": "",
                      "seed-generation": "1",
                    },
                    "creationTimestamp": "2019-07-21T15:53:58Z",
                    "finalizers": Array [
                      "propagator.finalizer.mcm.ibm.com",
                    ],
                    "generation": 55,
                    "name": "my-policy",
                    "namespace": "mcm",
                    "resourceVersion": "1347399",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/my-policy",
                    "uid": "c049ec0d-abcf-11e9-8a41-005056a061f1",
                  },
                  "spec": Object {
                    "complianceType": "musthave",
                    "namespaces": Object {
                      "exclude": Array [
                        "kube-*",
                      ],
                      "include": Array [
                        "default",
                      ],
                    },
                    "object-templates": Array [
                      Object {
                        "complianceType": "musthave",
                        "objectDefinition": Object {
                          "apiVersion": "rbac.authorization.k8s.io/v1",
                          "kind": "RoleBinding",
                          "metadata": Object {
                            "name": "operate-pods-rolebinding",
                          },
                          "roleRef": Object {
                            "apiGroup": "rbac.authorization.k8s.io",
                            "kind": "Role",
                            "name": "operator",
                          },
                          "subjects": Array [
                            Object {
                              "apiGroup": "rbac.authorization.k8s.io",
                              "kind": "User",
                              "name": "admin",
                            },
                          ],
                        },
                        "status": Object {
                          "Validity": Object {},
                        },
                      },
                    ],
                    "remediationAction": "enforce",
                  },
                  "status": Object {
                    "placement": Array [
                      Object {
                        "placementBinding": "binding-my-policy",
                        "placementRule": "placement-my-policy",
                      },
                    ],
                    "status": Object {
                      "cluster1": Object {
                        "aggregatePoliciesStatus": Object {
                          "my-policy": Object {
                            "compliant": "Compliant",
                          },
                        },
                        "clustername": "cluster1",
                        "compliant": "Compliant",
                      },
                      "clusterhub": Object {
                        "aggregatePoliciesStatus": Object {
                          "my-policy": Object {
                            "compliant": "Compliant",
                          },
                        },
                        "clustername": "clusterhub",
                        "compliant": "Compliant",
                      },
                    },
                  },
                },
                "remediation": "enforce",
              },
              Object {
                "__typename": "Compliance",
                "clusterCompliant": "1/2",
                "metadata": Object {
                  "__typename": "Metadata",
                  "annotations": Object {
                    "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST\\"},\\"name\\":\\"policy-ma\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"policy-templates\\":[{\\"objectDefinition\\":{\\"apiVersion\\":\\"policies.ibm.com/v1alpha1\\",\\"kind\\":\\"MutationPolicy\\",\\"metadata\\":{\\"label\\":{\\"category\\":\\"System-Integrity\\"},\\"name\\":\\"mutation-policy-example\\"},\\"spec\\":{\\"conditions\\":{\\"ownership\\":[\\"ReplicaSet\\",\\"Deployment\\",\\"DeamonSet\\",\\"ReplicationController\\"]},\\"namespaceSelector\\":{\\"exclude\\":[\\"kube-system\\"],\\"include\\":[\\"default\\",\\"kube-*\\"]},\\"remediationAction\\":\\"enforce\\"}}}],\\"remediationAction\\":\\"enforce\\"}}
",
                    "policy.open-cluster-management.io/categories": "SystemAndInformationIntegrity",
                    "policy.open-cluster-management.io/controls": "MutationAdvisor",
                    "policy.open-cluster-management.io/standards": "NIST",
                    "seed-generation": "1",
                  },
                  "name": "policy-ma",
                  "namespace": "mcm",
                  "resourceVersion": "1347579",
                  "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-ma",
                },
                "name": "policy-ma",
                "namespace": "mcm",
                "placementBindings": Array [
                  Object {
                    "__typename": "PlacementBinding",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "binding-ma",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-ma",
                    },
                  },
                ],
                "placementPolicies": Array [
                  Object {
                    "__typename": "PlacementPolicy",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "placement-ma",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-ma",
                    },
                  },
                ],
                "policyCompliant": "1/2",
                "raw": Object {
                  "apiVersion": "policy.open-cluster-management.io/v1",
                  "kind": "Policy",
                  "metadata": Object {
                    "annotations": Object {
                      "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST\\"},\\"name\\":\\"policy-ma\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"policy-templates\\":[{\\"objectDefinition\\":{\\"apiVersion\\":\\"policies.ibm.com/v1alpha1\\",\\"kind\\":\\"MutationPolicy\\",\\"metadata\\":{\\"label\\":{\\"category\\":\\"System-Integrity\\"},\\"name\\":\\"mutation-policy-example\\"},\\"spec\\":{\\"conditions\\":{\\"ownership\\":[\\"ReplicaSet\\",\\"Deployment\\",\\"DeamonSet\\",\\"ReplicationController\\"]},\\"namespaceSelector\\":{\\"exclude\\":[\\"kube-system\\"],\\"include\\":[\\"default\\",\\"kube-*\\"]},\\"remediationAction\\":\\"enforce\\"}}}],\\"remediationAction\\":\\"enforce\\"}}
",
                      "policy.open-cluster-management.io/categories": "SystemAndInformationIntegrity",
                      "policy.open-cluster-management.io/controls": "MutationAdvisor",
                      "policy.open-cluster-management.io/standards": "NIST",
                      "seed-generation": "1",
                    },
                    "creationTimestamp": "2019-07-16T13:18:48Z",
                    "finalizers": Array [
                      "propagator.finalizer.mcm.ibm.com",
                    ],
                    "generation": 45,
                    "name": "policy-ma",
                    "namespace": "mcm",
                    "resourceVersion": "1347579",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-ma",
                    "uid": "3f218d45-a7cc-11e9-8a41-005056a061f1",
                  },
                  "spec": Object {
                    "namespaces": Object {},
                    "policy-templates": Array [
                      Object {
                        "objectDefinition": Object {
                          "apiVersion": "policies.ibm.com/v1alpha1",
                          "kind": "MutationPolicy",
                          "metadata": Object {
                            "label": Object {
                              "category": "System-Integrity",
                            },
                            "name": "mutation-policy-example",
                          },
                          "spec": Object {
                            "conditions": Object {
                              "ownership": Array [
                                "ReplicaSet",
                                "Deployment",
                                "DeamonSet",
                                "ReplicationController",
                              ],
                            },
                            "namespaceSelector": Object {
                              "exclude": Array [
                                "kube-system",
                              ],
                              "include": Array [
                                "default",
                                "kube-*",
                              ],
                            },
                            "remediationAction": "enforce",
                          },
                        },
                        "status": Object {
                          "Validity": Object {},
                        },
                      },
                    ],
                    "remediationAction": "enforce",
                  },
                  "status": Object {
                    "placement": Array [
                      Object {
                        "placementBinding": "binding-ma",
                        "placementRule": "placement-ma",
                      },
                    ],
                    "status": Object {
                      "cluster1": Object {
                        "aggregatePoliciesStatus": Object {
                          "policy-ma": Object {
                            "compliant": "NonCompliant",
                          },
                        },
                        "clustername": "cluster1",
                        "compliant": "NonCompliant",
                      },
                      "clusterhub": Object {
                        "aggregatePoliciesStatus": Object {
                          "policy-ma": Object {
                            "compliant": "Compliant",
                          },
                        },
                        "clustername": "clusterhub",
                        "compliant": "Compliant",
                      },
                    },
                  },
                },
                "remediation": "enforce",
              },
              Object {
                "__typename": "Compliance",
                "clusterCompliant": "1/2",
                "metadata": Object {
                  "__typename": "Metadata",
                  "annotations": Object {
                    "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
                    "policy.open-cluster-management.io/controls": "MutationAdvisor,CertificateManager",
                    "policy.open-cluster-management.io/standards": "NIST,HIPAA",
                    "seed-generation": "1",
                  },
                  "name": "policy-pod",
                  "namespace": "mcm",
                  "resourceVersion": "1257026",
                  "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-pod",
                },
                "name": "policy-pod",
                "namespace": "mcm",
                "placementBindings": Array [
                  Object {
                    "__typename": "PlacementBinding",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "binding-pod",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-pod",
                    },
                  },
                ],
                "placementPolicies": Array [
                  Object {
                    "__typename": "PlacementPolicy",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "placement-pod",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-pod",
                    },
                  },
                ],
                "policyCompliant": "1/2",
                "raw": Object {
                  "apiVersion": "policy.open-cluster-management.io/v1",
                  "kind": "Policy",
                  "metadata": Object {
                    "annotations": Object {
                      "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
                      "policy.open-cluster-management.io/controls": "MutationAdvisor,CertificateManager",
                      "policy.open-cluster-management.io/standards": "NIST,HIPAA",
                      "seed-generation": "1",
                    },
                    "creationTimestamp": "2019-07-16T13:16:46Z",
                    "finalizers": Array [
                      "propagator.finalizer.mcm.ibm.com",
                    ],
                    "generation": 19,
                    "name": "policy-pod",
                    "namespace": "mcm",
                    "resourceVersion": "1257026",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-pod",
                    "uid": "f61a25eb-a7cb-11e9-8a41-005056a061f1",
                  },
                  "spec": Object {
                    "complianceType": "musthave",
                    "namespaces": Object {
                      "exclude": Array [
                        "kube*",
                      ],
                      "include": Array [
                        "default",
                      ],
                    },
                    "object-templates": Array [
                      Object {
                        "complianceType": "musthave",
                        "objectDefinition": Object {
                          "apiVersion": "v1",
                          "kind": "Pod",
                          "metadata": Object {
                            "name": "nginx-pod",
                          },
                          "spec": Object {
                            "containers": Array [
                              Object {
                                "image": "nginx:1.7.9",
                                "name": "nginx",
                                "ports": Array [
                                  Object {
                                    "containerPort": 80,
                                  },
                                ],
                              },
                            ],
                          },
                        },
                        "status": Object {
                          "Validity": Object {},
                        },
                      },
                    ],
                    "remediationAction": "inform",
                  },
                  "status": Object {
                    "placement": Array [
                      Object {
                        "placementBinding": "binding-pod",
                        "placementRule": "placement-pod",
                      },
                    ],
                    "status": Object {
                      "cluster1": Object {
                        "aggregatePoliciesStatus": Object {
                          "policy-pod": Object {
                            "compliant": "Compliant",
                          },
                        },
                        "clustername": "cluster1",
                        "compliant": "Compliant",
                      },
                      "clusterhub": Object {
                        "aggregatePoliciesStatus": Object {
                          "policy-pod": Object {
                            "compliant": "NonCompliant",
                          },
                        },
                        "clustername": "clusterhub",
                        "compliant": "NonCompliant",
                      },
                    },
                  },
                },
                "remediation": "inform",
              },
              Object {
                "__typename": "Compliance",
                "clusterCompliant": "1/2",
                "metadata": Object {
                  "__typename": "Metadata",
                  "annotations": Object {
                    "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndCommunicationsProtections,SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor,VA\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST,HIPAA\\"},\\"name\\":\\"policy-role\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"namespaces\\":{\\"exclude\\":[\\"kube*\\"],\\"include\\":[\\"default\\"]},\\"remediationAction\\":\\"inform\\",\\"role-templates\\":[{\\"apiVersion\\":\\"roletemplate.mcm.ibm.com/v1alpha1\\",\\"complianceType\\":\\"musthave\\",\\"metadata\\":{\\"name\\":\\"operator-role-policy\\",\\"namespace\\":\\"\\"},\\"rules\\":[{\\"complianceType\\":\\"musthave\\",\\"policyRule\\":{\\"apiGroups\\":[\\"extensions\\",\\"apps\\"],\\"resources\\":[\\"deployments\\"],\\"verbs\\":[\\"get\\",\\"list\\",\\"watch\\",\\"create\\",\\"delete\\",\\"patch\\"]}}],\\"selector\\":{\\"matchLabels\\":{\\"dev\\":\\"true\\"}}}]}}
",
                    "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
                    "policy.open-cluster-management.io/controls": "MutationAdvisor,VA",
                    "policy.open-cluster-management.io/standards": "NIST,HIPAA",
                    "seed-generation": "1",
                  },
                  "name": "policy-role",
                  "namespace": "mcm",
                  "resourceVersion": "1201118",
                  "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-role",
                },
                "name": "policy-role",
                "namespace": "mcm",
                "placementBindings": Array [
                  Object {
                    "__typename": "PlacementBinding",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "binding-role",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-role",
                    },
                  },
                ],
                "placementPolicies": Array [
                  Object {
                    "__typename": "PlacementPolicy",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "placement-role",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-role",
                    },
                  },
                ],
                "policyCompliant": "1/2",
                "raw": Object {
                  "apiVersion": "policy.open-cluster-management.io/v1",
                  "kind": "Policy",
                  "metadata": Object {
                    "annotations": Object {
                      "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndCommunicationsProtections,SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor,VA\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST,HIPAA\\"},\\"name\\":\\"policy-role\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"namespaces\\":{\\"exclude\\":[\\"kube*\\"],\\"include\\":[\\"default\\"]},\\"remediationAction\\":\\"inform\\",\\"role-templates\\":[{\\"apiVersion\\":\\"roletemplate.mcm.ibm.com/v1alpha1\\",\\"complianceType\\":\\"musthave\\",\\"metadata\\":{\\"name\\":\\"operator-role-policy\\",\\"namespace\\":\\"\\"},\\"rules\\":[{\\"complianceType\\":\\"musthave\\",\\"policyRule\\":{\\"apiGroups\\":[\\"extensions\\",\\"apps\\"],\\"resources\\":[\\"deployments\\"],\\"verbs\\":[\\"get\\",\\"list\\",\\"watch\\",\\"create\\",\\"delete\\",\\"patch\\"]}}],\\"selector\\":{\\"matchLabels\\":{\\"dev\\":\\"true\\"}}}]}}
",
                      "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
                      "policy.open-cluster-management.io/controls": "MutationAdvisor,VA",
                      "policy.open-cluster-management.io/standards": "NIST,HIPAA",
                      "seed-generation": "1",
                    },
                    "creationTimestamp": "2019-07-16T13:19:03Z",
                    "finalizers": Array [
                      "propagator.finalizer.mcm.ibm.com",
                    ],
                    "generation": 16,
                    "name": "policy-role",
                    "namespace": "mcm",
                    "resourceVersion": "1201118",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-role",
                    "uid": "47dbc091-a7cc-11e9-8a41-005056a061f1",
                  },
                  "spec": Object {
                    "namespaces": Object {
                      "exclude": Array [
                        "kube*",
                      ],
                      "include": Array [
                        "default",
                      ],
                    },
                    "remediationAction": "inform",
                    "role-templates": Array [
                      Object {
                        "apiVersion": "roletemplate.mcm.ibm.com/v1alpha1",
                        "complianceType": "musthave",
                        "metadata": Object {
                          "creationTimestamp": null,
                          "name": "operator-role-policy",
                        },
                        "rules": Array [
                          Object {
                            "complianceType": "musthave",
                            "policyRule": Object {
                              "apiGroups": Array [
                                "extensions",
                                "apps",
                              ],
                              "resources": Array [
                                "deployments",
                              ],
                              "verbs": Array [
                                "get",
                                "list",
                                "watch",
                                "create",
                                "delete",
                                "patch",
                              ],
                            },
                          },
                        ],
                        "selector": Object {
                          "matchLabels": Object {
                            "dev": "true",
                          },
                        },
                        "status": Object {
                          "Validity": Object {},
                        },
                      },
                    ],
                  },
                  "status": Object {
                    "placement": Array [
                      Object {
                        "placementBinding": "binding-role",
                        "placementRule": "placement-role",
                      },
                    ],
                    "status": Object {
                      "cluster1": Object {
                        "aggregatePoliciesStatus": Object {
                          "policy-role": Object {
                            "compliant": "Compliant",
                          },
                        },
                        "clustername": "cluster1",
                        "compliant": "Compliant",
                      },
                      "clusterhub": Object {
                        "aggregatePoliciesStatus": Object {
                          "policy-role": Object {
                            "compliant": "NonCompliant",
                          },
                        },
                        "clustername": "clusterhub",
                        "compliant": "NonCompliant",
                      },
                    },
                  },
                },
                "remediation": "inform",
              },
            ]
          }
          grcTabToggleIndex={0}
          highLightRowName=""
          information="grc.header.tooltip"
          links={
            Array [
              Object {
                "id": "create-policy",
                "label": "button.create.policy",
                "url": "/multicloud/policies/create",
              },
            ]
          }
          listData={
            Array [
              Object {
                "__typename": "Compliance",
                "clusterCompliant": "0/2",
                "metadata": Object {
                  "__typename": "Metadata",
                  "annotations": Object {
                    "policy.open-cluster-management.io/categories": "",
                    "policy.open-cluster-management.io/controls": "",
                    "policy.open-cluster-management.io/standards": "",
                    "seed-generation": "1",
                  },
                  "name": "my-policy",
                  "namespace": "mcm",
                  "resourceVersion": "1347399",
                  "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/my-policy",
                },
                "name": "my-policy",
                "namespace": "mcm",
                "placementBindings": Array [
                  Object {
                    "__typename": "PlacementBinding",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "binding-my-policy",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-my-policy",
                    },
                  },
                ],
                "placementPolicies": Array [
                  Object {
                    "__typename": "PlacementPolicy",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "placement-my-policy",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-my-policy",
                    },
                  },
                ],
                "policyCompliant": "0/2",
                "raw": Object {
                  "apiVersion": "policy.open-cluster-management.io/v1",
                  "kind": "Policy",
                  "metadata": Object {
                    "annotations": Object {
                      "policy.open-cluster-management.io/categories": "",
                      "policy.open-cluster-management.io/controls": "",
                      "policy.open-cluster-management.io/standards": "",
                      "seed-generation": "1",
                    },
                    "creationTimestamp": "2019-07-21T15:53:58Z",
                    "finalizers": Array [
                      "propagator.finalizer.mcm.ibm.com",
                    ],
                    "generation": 55,
                    "name": "my-policy",
                    "namespace": "mcm",
                    "resourceVersion": "1347399",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/my-policy",
                    "uid": "c049ec0d-abcf-11e9-8a41-005056a061f1",
                  },
                  "spec": Object {
                    "complianceType": "musthave",
                    "namespaces": Object {
                      "exclude": Array [
                        "kube-*",
                      ],
                      "include": Array [
                        "default",
                      ],
                    },
                    "object-templates": Array [
                      Object {
                        "complianceType": "musthave",
                        "objectDefinition": Object {
                          "apiVersion": "rbac.authorization.k8s.io/v1",
                          "kind": "RoleBinding",
                          "metadata": Object {
                            "name": "operate-pods-rolebinding",
                          },
                          "roleRef": Object {
                            "apiGroup": "rbac.authorization.k8s.io",
                            "kind": "Role",
                            "name": "operator",
                          },
                          "subjects": Array [
                            Object {
                              "apiGroup": "rbac.authorization.k8s.io",
                              "kind": "User",
                              "name": "admin",
                            },
                          ],
                        },
                        "status": Object {
                          "Validity": Object {},
                        },
                      },
                    ],
                    "remediationAction": "enforce",
                  },
                  "status": Object {
                    "placement": Array [
                      Object {
                        "placementBinding": "binding-my-policy",
                        "placementRule": "placement-my-policy",
                      },
                    ],
                    "status": Object {
                      "cluster1": Object {
                        "aggregatePoliciesStatus": Object {
                          "my-policy": Object {
                            "compliant": "Compliant",
                          },
                        },
                        "clustername": "cluster1",
                        "compliant": "Compliant",
                      },
                      "clusterhub": Object {
                        "aggregatePoliciesStatus": Object {
                          "my-policy": Object {
                            "compliant": "Compliant",
                          },
                        },
                        "clustername": "clusterhub",
                        "compliant": "Compliant",
                      },
                    },
                  },
                },
                "remediation": "enforce",
                "subItems": Array [
                  Object {
                    "items": Array [
                      "binding-my-policy",
                    ],
                    "name": "policy.pb",
                  },
                  Object {
                    "items": Array [
                      "placement-my-policy",
                    ],
                    "name": "policy.pp",
                  },
                ],
              },
              Object {
                "__typename": "Compliance",
                "clusterCompliant": "1/2",
                "metadata": Object {
                  "__typename": "Metadata",
                  "annotations": Object {
                    "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST\\"},\\"name\\":\\"policy-ma\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"policy-templates\\":[{\\"objectDefinition\\":{\\"apiVersion\\":\\"policies.ibm.com/v1alpha1\\",\\"kind\\":\\"MutationPolicy\\",\\"metadata\\":{\\"label\\":{\\"category\\":\\"System-Integrity\\"},\\"name\\":\\"mutation-policy-example\\"},\\"spec\\":{\\"conditions\\":{\\"ownership\\":[\\"ReplicaSet\\",\\"Deployment\\",\\"DeamonSet\\",\\"ReplicationController\\"]},\\"namespaceSelector\\":{\\"exclude\\":[\\"kube-system\\"],\\"include\\":[\\"default\\",\\"kube-*\\"]},\\"remediationAction\\":\\"enforce\\"}}}],\\"remediationAction\\":\\"enforce\\"}}
",
                    "policy.open-cluster-management.io/categories": "SystemAndInformationIntegrity",
                    "policy.open-cluster-management.io/controls": "MutationAdvisor",
                    "policy.open-cluster-management.io/standards": "NIST",
                    "seed-generation": "1",
                  },
                  "name": "policy-ma",
                  "namespace": "mcm",
                  "resourceVersion": "1347579",
                  "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-ma",
                },
                "name": "policy-ma",
                "namespace": "mcm",
                "placementBindings": Array [
                  Object {
                    "__typename": "PlacementBinding",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "binding-ma",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-ma",
                    },
                  },
                ],
                "placementPolicies": Array [
                  Object {
                    "__typename": "PlacementPolicy",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "placement-ma",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-ma",
                    },
                  },
                ],
                "policyCompliant": "1/2",
                "raw": Object {
                  "apiVersion": "policy.open-cluster-management.io/v1",
                  "kind": "Policy",
                  "metadata": Object {
                    "annotations": Object {
                      "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST\\"},\\"name\\":\\"policy-ma\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"policy-templates\\":[{\\"objectDefinition\\":{\\"apiVersion\\":\\"policies.ibm.com/v1alpha1\\",\\"kind\\":\\"MutationPolicy\\",\\"metadata\\":{\\"label\\":{\\"category\\":\\"System-Integrity\\"},\\"name\\":\\"mutation-policy-example\\"},\\"spec\\":{\\"conditions\\":{\\"ownership\\":[\\"ReplicaSet\\",\\"Deployment\\",\\"DeamonSet\\",\\"ReplicationController\\"]},\\"namespaceSelector\\":{\\"exclude\\":[\\"kube-system\\"],\\"include\\":[\\"default\\",\\"kube-*\\"]},\\"remediationAction\\":\\"enforce\\"}}}],\\"remediationAction\\":\\"enforce\\"}}
",
                      "policy.open-cluster-management.io/categories": "SystemAndInformationIntegrity",
                      "policy.open-cluster-management.io/controls": "MutationAdvisor",
                      "policy.open-cluster-management.io/standards": "NIST",
                      "seed-generation": "1",
                    },
                    "creationTimestamp": "2019-07-16T13:18:48Z",
                    "finalizers": Array [
                      "propagator.finalizer.mcm.ibm.com",
                    ],
                    "generation": 45,
                    "name": "policy-ma",
                    "namespace": "mcm",
                    "resourceVersion": "1347579",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-ma",
                    "uid": "3f218d45-a7cc-11e9-8a41-005056a061f1",
                  },
                  "spec": Object {
                    "namespaces": Object {},
                    "policy-templates": Array [
                      Object {
                        "objectDefinition": Object {
                          "apiVersion": "policies.ibm.com/v1alpha1",
                          "kind": "MutationPolicy",
                          "metadata": Object {
                            "label": Object {
                              "category": "System-Integrity",
                            },
                            "name": "mutation-policy-example",
                          },
                          "spec": Object {
                            "conditions": Object {
                              "ownership": Array [
                                "ReplicaSet",
                                "Deployment",
                                "DeamonSet",
                                "ReplicationController",
                              ],
                            },
                            "namespaceSelector": Object {
                              "exclude": Array [
                                "kube-system",
                              ],
                              "include": Array [
                                "default",
                                "kube-*",
                              ],
                            },
                            "remediationAction": "enforce",
                          },
                        },
                        "status": Object {
                          "Validity": Object {},
                        },
                      },
                    ],
                    "remediationAction": "enforce",
                  },
                  "status": Object {
                    "placement": Array [
                      Object {
                        "placementBinding": "binding-ma",
                        "placementRule": "placement-ma",
                      },
                    ],
                    "status": Object {
                      "cluster1": Object {
                        "aggregatePoliciesStatus": Object {
                          "policy-ma": Object {
                            "compliant": "NonCompliant",
                          },
                        },
                        "clustername": "cluster1",
                        "compliant": "NonCompliant",
                      },
                      "clusterhub": Object {
                        "aggregatePoliciesStatus": Object {
                          "policy-ma": Object {
                            "compliant": "Compliant",
                          },
                        },
                        "clustername": "clusterhub",
                        "compliant": "Compliant",
                      },
                    },
                  },
                },
                "remediation": "enforce",
                "subItems": Array [
                  Object {
                    "items": Array [
                      "binding-ma",
                    ],
                    "name": "policy.pb",
                  },
                  Object {
                    "items": Array [
                      "placement-ma",
                    ],
                    "name": "policy.pp",
                  },
                ],
              },
              Object {
                "__typename": "Compliance",
                "clusterCompliant": "1/2",
                "metadata": Object {
                  "__typename": "Metadata",
                  "annotations": Object {
                    "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
                    "policy.open-cluster-management.io/controls": "MutationAdvisor,CertificateManager",
                    "policy.open-cluster-management.io/standards": "NIST,HIPAA",
                    "seed-generation": "1",
                  },
                  "name": "policy-pod",
                  "namespace": "mcm",
                  "resourceVersion": "1257026",
                  "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-pod",
                },
                "name": "policy-pod",
                "namespace": "mcm",
                "placementBindings": Array [
                  Object {
                    "__typename": "PlacementBinding",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "binding-pod",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-pod",
                    },
                  },
                ],
                "placementPolicies": Array [
                  Object {
                    "__typename": "PlacementPolicy",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "placement-pod",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-pod",
                    },
                  },
                ],
                "policyCompliant": "1/2",
                "raw": Object {
                  "apiVersion": "policy.open-cluster-management.io/v1",
                  "kind": "Policy",
                  "metadata": Object {
                    "annotations": Object {
                      "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
                      "policy.open-cluster-management.io/controls": "MutationAdvisor,CertificateManager",
                      "policy.open-cluster-management.io/standards": "NIST,HIPAA",
                      "seed-generation": "1",
                    },
                    "creationTimestamp": "2019-07-16T13:16:46Z",
                    "finalizers": Array [
                      "propagator.finalizer.mcm.ibm.com",
                    ],
                    "generation": 19,
                    "name": "policy-pod",
                    "namespace": "mcm",
                    "resourceVersion": "1257026",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-pod",
                    "uid": "f61a25eb-a7cb-11e9-8a41-005056a061f1",
                  },
                  "spec": Object {
                    "complianceType": "musthave",
                    "namespaces": Object {
                      "exclude": Array [
                        "kube*",
                      ],
                      "include": Array [
                        "default",
                      ],
                    },
                    "object-templates": Array [
                      Object {
                        "complianceType": "musthave",
                        "objectDefinition": Object {
                          "apiVersion": "v1",
                          "kind": "Pod",
                          "metadata": Object {
                            "name": "nginx-pod",
                          },
                          "spec": Object {
                            "containers": Array [
                              Object {
                                "image": "nginx:1.7.9",
                                "name": "nginx",
                                "ports": Array [
                                  Object {
                                    "containerPort": 80,
                                  },
                                ],
                              },
                            ],
                          },
                        },
                        "status": Object {
                          "Validity": Object {},
                        },
                      },
                    ],
                    "remediationAction": "inform",
                  },
                  "status": Object {
                    "placement": Array [
                      Object {
                        "placementBinding": "binding-pod",
                        "placementRule": "placement-pod",
                      },
                    ],
                    "status": Object {
                      "cluster1": Object {
                        "aggregatePoliciesStatus": Object {
                          "policy-pod": Object {
                            "compliant": "Compliant",
                          },
                        },
                        "clustername": "cluster1",
                        "compliant": "Compliant",
                      },
                      "clusterhub": Object {
                        "aggregatePoliciesStatus": Object {
                          "policy-pod": Object {
                            "compliant": "NonCompliant",
                          },
                        },
                        "clustername": "clusterhub",
                        "compliant": "NonCompliant",
                      },
                    },
                  },
                },
                "remediation": "inform",
                "subItems": Array [
                  Object {
                    "items": Array [
                      "binding-pod",
                    ],
                    "name": "policy.pb",
                  },
                  Object {
                    "items": Array [
                      "placement-pod",
                    ],
                    "name": "policy.pp",
                  },
                ],
              },
              Object {
                "__typename": "Compliance",
                "clusterCompliant": "1/2",
                "metadata": Object {
                  "__typename": "Metadata",
                  "annotations": Object {
                    "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndCommunicationsProtections,SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor,VA\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST,HIPAA\\"},\\"name\\":\\"policy-role\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"namespaces\\":{\\"exclude\\":[\\"kube*\\"],\\"include\\":[\\"default\\"]},\\"remediationAction\\":\\"inform\\",\\"role-templates\\":[{\\"apiVersion\\":\\"roletemplate.mcm.ibm.com/v1alpha1\\",\\"complianceType\\":\\"musthave\\",\\"metadata\\":{\\"name\\":\\"operator-role-policy\\",\\"namespace\\":\\"\\"},\\"rules\\":[{\\"complianceType\\":\\"musthave\\",\\"policyRule\\":{\\"apiGroups\\":[\\"extensions\\",\\"apps\\"],\\"resources\\":[\\"deployments\\"],\\"verbs\\":[\\"get\\",\\"list\\",\\"watch\\",\\"create\\",\\"delete\\",\\"patch\\"]}}],\\"selector\\":{\\"matchLabels\\":{\\"dev\\":\\"true\\"}}}]}}
",
                    "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
                    "policy.open-cluster-management.io/controls": "MutationAdvisor,VA",
                    "policy.open-cluster-management.io/standards": "NIST,HIPAA",
                    "seed-generation": "1",
                  },
                  "name": "policy-role",
                  "namespace": "mcm",
                  "resourceVersion": "1201118",
                  "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-role",
                },
                "name": "policy-role",
                "namespace": "mcm",
                "placementBindings": Array [
                  Object {
                    "__typename": "PlacementBinding",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "binding-role",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-role",
                    },
                  },
                ],
                "placementPolicies": Array [
                  Object {
                    "__typename": "PlacementPolicy",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "placement-role",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-role",
                    },
                  },
                ],
                "policyCompliant": "1/2",
                "raw": Object {
                  "apiVersion": "policy.open-cluster-management.io/v1",
                  "kind": "Policy",
                  "metadata": Object {
                    "annotations": Object {
                      "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndCommunicationsProtections,SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor,VA\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST,HIPAA\\"},\\"name\\":\\"policy-role\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"namespaces\\":{\\"exclude\\":[\\"kube*\\"],\\"include\\":[\\"default\\"]},\\"remediationAction\\":\\"inform\\",\\"role-templates\\":[{\\"apiVersion\\":\\"roletemplate.mcm.ibm.com/v1alpha1\\",\\"complianceType\\":\\"musthave\\",\\"metadata\\":{\\"name\\":\\"operator-role-policy\\",\\"namespace\\":\\"\\"},\\"rules\\":[{\\"complianceType\\":\\"musthave\\",\\"policyRule\\":{\\"apiGroups\\":[\\"extensions\\",\\"apps\\"],\\"resources\\":[\\"deployments\\"],\\"verbs\\":[\\"get\\",\\"list\\",\\"watch\\",\\"create\\",\\"delete\\",\\"patch\\"]}}],\\"selector\\":{\\"matchLabels\\":{\\"dev\\":\\"true\\"}}}]}}
",
                      "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
                      "policy.open-cluster-management.io/controls": "MutationAdvisor,VA",
                      "policy.open-cluster-management.io/standards": "NIST,HIPAA",
                      "seed-generation": "1",
                    },
                    "creationTimestamp": "2019-07-16T13:19:03Z",
                    "finalizers": Array [
                      "propagator.finalizer.mcm.ibm.com",
                    ],
                    "generation": 16,
                    "name": "policy-role",
                    "namespace": "mcm",
                    "resourceVersion": "1201118",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-role",
                    "uid": "47dbc091-a7cc-11e9-8a41-005056a061f1",
                  },
                  "spec": Object {
                    "namespaces": Object {
                      "exclude": Array [
                        "kube*",
                      ],
                      "include": Array [
                        "default",
                      ],
                    },
                    "remediationAction": "inform",
                    "role-templates": Array [
                      Object {
                        "apiVersion": "roletemplate.mcm.ibm.com/v1alpha1",
                        "complianceType": "musthave",
                        "metadata": Object {
                          "creationTimestamp": null,
                          "name": "operator-role-policy",
                        },
                        "rules": Array [
                          Object {
                            "complianceType": "musthave",
                            "policyRule": Object {
                              "apiGroups": Array [
                                "extensions",
                                "apps",
                              ],
                              "resources": Array [
                                "deployments",
                              ],
                              "verbs": Array [
                                "get",
                                "list",
                                "watch",
                                "create",
                                "delete",
                                "patch",
                              ],
                            },
                          },
                        ],
                        "selector": Object {
                          "matchLabels": Object {
                            "dev": "true",
                          },
                        },
                        "status": Object {
                          "Validity": Object {},
                        },
                      },
                    ],
                  },
                  "status": Object {
                    "placement": Array [
                      Object {
                        "placementBinding": "binding-role",
                        "placementRule": "placement-role",
                      },
                    ],
                    "status": Object {
                      "cluster1": Object {
                        "aggregatePoliciesStatus": Object {
                          "policy-role": Object {
                            "compliant": "Compliant",
                          },
                        },
                        "clustername": "cluster1",
                        "compliant": "Compliant",
                      },
                      "clusterhub": Object {
                        "aggregatePoliciesStatus": Object {
                          "policy-role": Object {
                            "compliant": "NonCompliant",
                          },
                        },
                        "clustername": "clusterhub",
                        "compliant": "NonCompliant",
                      },
                    },
                  },
                },
                "remediation": "inform",
                "subItems": Array [
                  Object {
                    "items": Array [
                      "binding-role",
                    ],
                    "name": "policy.pb",
                  },
                  Object {
                    "items": Array [
                      "placement-role",
                    ],
                    "name": "policy.pp",
                  },
                ],
              },
            ]
          }
          locale="en-US"
          placeHolderText="Find policies"
          refreshControl={
            Object {
              "refreshCookie": "grc-refresh-interval-cookie",
              "reloading": false,
              "timestamp": "Tue Jul 23 2019 01:13:42 GMT-0400 (Eastern Daylight Time)",
            }
          }
          resourceType={
            Object {
              "list": "HCMPolicyPolicyList",
              "name": "HCMPolicyPolicy",
            }
          }
          secondaryHeaderProps={
            Object {
              "information": "grc.header.tooltip",
              "links": Array [
                Object {
                  "id": "create-policy",
                  "label": "button.create.policy",
                  "url": "/multicloud/policies/create",
                },
              ],
              "tabs": Array [
                Object {
                  "id": "grc-overview",
                  "index": 0,
                  "label": "tabs.grc.overview",
                  "url": "/multicloud/policies",
                },
                Object {
                  "id": "grc-all",
                  "index": 1,
                  "label": "tabs.grc.all",
                  "url": "/multicloud/policies/all",
                },
                Object {
                  "id": "grc-findings",
                  "index": 2,
                  "label": "tabs.grc.findings",
                  "url": "/multicloud/policies/findings",
                },
              ],
              "title": "routes.grc",
            }
          }
          showApplications={true}
          showGrcTabToggle={false}
          showSidePanel={false}
          staticResourceData={
            Object {
              "defaultSortField": "metadata.name",
              "policyViolatedSidePanel": Object {
                "headerRows": Array [
                  "",
                  "table.header.cluster.name",
                  "table.header.rule.violation",
                  "",
                ],
                "rows": Array [
                  Object {
                    "cells": Array [
                      Object {
                        "resourceKey": "metadata.name",
                      },
                      Object {
                        "resourceKey": "violated",
                      },
                      Object {
                        "resourceKey": "status.consoleURL",
                        "transformFunction": [Function],
                      },
                    ],
                  },
                ],
                "subHeaders": Array [
                  "table.header.name",
                  "table.header.message",
                  "table.header.timestamp",
                ],
              },
              "primaryKey": "metadata.name",
              "secondaryKey": "metadata.namespace",
              "tableActions": Array [
                "table.actions.edit",
                "table.actions.disable",
                "table.actions.enforce",
                "table.actions.remove",
              ],
              "tableKeys": Array [
                Object {
                  "msgKey": "table.header.policy.name",
                  "resourceKey": "metadata.name",
                  "transformFunction": [Function],
                },
                Object {
                  "msgKey": "table.header.namespace",
                  "resourceKey": "namespace",
                },
                Object {
                  "information": "grc.remediation.tooltip",
                  "msgKey": "table.header.remediation",
                  "resourceKey": "remediation",
                },
                Object {
                  "msgKey": "table.header.cluster.violation",
                  "resourceKey": "clusterCompliant",
                  "transformFunction": [Function],
                },
                Object {
                  "msgKey": "table.header.standards",
                  "resourceKey": "metadata.annotations[\\"policy.open-cluster-management.io/standards\\"]",
                  "transformFunction": [Function],
                },
                Object {
                  "msgKey": "table.header.categories",
                  "resourceKey": "metadata.annotations[\\"policy.open-cluster-management.io/categories\\"]",
                  "transformFunction": [Function],
                },
                Object {
                  "msgKey": "table.header.controls",
                  "resourceKey": "metadata.annotations[\\"policy.open-cluster-management.io/controls\\"]",
                  "transformFunction": [Function],
                },
              ],
            }
          }
          tabs={
            Array [
              Object {
                "id": "grc-overview",
                "index": 0,
                "label": "tabs.grc.overview",
                "url": "/multicloud/policies",
              },
              Object {
                "id": "grc-all",
                "index": 1,
                "label": "tabs.grc.all",
                "url": "/multicloud/policies/all",
              },
              Object {
                "id": "grc-findings",
                "index": 2,
                "label": "tabs.grc.findings",
                "url": "/multicloud/policies/findings",
              },
            ]
          }
          title="routes.grc"
          topButton={Array []}
        />
      </div>,
      "_rendering": false,
      "_updater": [Circular],
      "_workInProgressHook": null,
    },
  },
}
`;

exports[`GrcToggle view without application renders expand as expected 1`] = `
GrcToggleModule {
  "context": Object {},
  "props": Object {
    "grcItems": Array [
      Object {
        "__typename": "Compliance",
        "clusterCompliant": "0/2",
        "metadata": Object {
          "__typename": "Metadata",
          "annotations": Object {
            "policy.open-cluster-management.io/categories": "",
            "policy.open-cluster-management.io/controls": "",
            "policy.open-cluster-management.io/standards": "",
            "seed-generation": "1",
          },
          "name": "my-policy",
          "namespace": "mcm",
          "resourceVersion": "1347399",
          "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/my-policy",
        },
        "name": "my-policy",
        "namespace": "mcm",
        "placementBindings": Array [
          Object {
            "__typename": "PlacementBinding",
            "metadata": Object {
              "__typename": "Metadata",
              "name": "binding-my-policy",
              "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-my-policy",
            },
          },
        ],
        "placementPolicies": Array [
          Object {
            "__typename": "PlacementPolicy",
            "metadata": Object {
              "__typename": "Metadata",
              "name": "placement-my-policy",
              "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-my-policy",
            },
          },
        ],
        "policyCompliant": "0/2",
        "raw": Object {
          "apiVersion": "policy.open-cluster-management.io/v1",
          "kind": "Policy",
          "metadata": Object {
            "annotations": Object {
              "policy.open-cluster-management.io/categories": "",
              "policy.open-cluster-management.io/controls": "",
              "policy.open-cluster-management.io/standards": "",
              "seed-generation": "1",
            },
            "creationTimestamp": "2019-07-21T15:53:58Z",
            "finalizers": Array [
              "propagator.finalizer.mcm.ibm.com",
            ],
            "generation": 55,
            "name": "my-policy",
            "namespace": "mcm",
            "resourceVersion": "1347399",
            "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/my-policy",
            "uid": "c049ec0d-abcf-11e9-8a41-005056a061f1",
          },
          "spec": Object {
            "complianceType": "musthave",
            "namespaces": Object {
              "exclude": Array [
                "kube-*",
              ],
              "include": Array [
                "default",
              ],
            },
            "object-templates": Array [
              Object {
                "complianceType": "musthave",
                "objectDefinition": Object {
                  "apiVersion": "rbac.authorization.k8s.io/v1",
                  "kind": "RoleBinding",
                  "metadata": Object {
                    "name": "operate-pods-rolebinding",
                  },
                  "roleRef": Object {
                    "apiGroup": "rbac.authorization.k8s.io",
                    "kind": "Role",
                    "name": "operator",
                  },
                  "subjects": Array [
                    Object {
                      "apiGroup": "rbac.authorization.k8s.io",
                      "kind": "User",
                      "name": "admin",
                    },
                  ],
                },
                "status": Object {
                  "Validity": Object {},
                },
              },
            ],
            "remediationAction": "enforce",
          },
          "status": Object {
            "placement": Array [
              Object {
                "placementBinding": "binding-my-policy",
                "placementRule": "placement-my-policy",
              },
            ],
            "status": Object {
              "cluster1": Object {
                "aggregatePoliciesStatus": Object {
                  "my-policy": Object {
                    "compliant": "Compliant",
                  },
                },
                "clustername": "cluster1",
                "compliant": "Compliant",
              },
              "clusterhub": Object {
                "aggregatePoliciesStatus": Object {
                  "my-policy": Object {
                    "compliant": "Compliant",
                  },
                },
                "clustername": "clusterhub",
                "compliant": "Compliant",
              },
            },
          },
        },
        "remediation": "enforce",
      },
      Object {
        "__typename": "Compliance",
        "clusterCompliant": "1/2",
        "metadata": Object {
          "__typename": "Metadata",
          "annotations": Object {
            "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST\\"},\\"name\\":\\"policy-ma\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"policy-templates\\":[{\\"objectDefinition\\":{\\"apiVersion\\":\\"policies.ibm.com/v1alpha1\\",\\"kind\\":\\"MutationPolicy\\",\\"metadata\\":{\\"label\\":{\\"category\\":\\"System-Integrity\\"},\\"name\\":\\"mutation-policy-example\\"},\\"spec\\":{\\"conditions\\":{\\"ownership\\":[\\"ReplicaSet\\",\\"Deployment\\",\\"DeamonSet\\",\\"ReplicationController\\"]},\\"namespaceSelector\\":{\\"exclude\\":[\\"kube-system\\"],\\"include\\":[\\"default\\",\\"kube-*\\"]},\\"remediationAction\\":\\"enforce\\"}}}],\\"remediationAction\\":\\"enforce\\"}}
",
            "policy.open-cluster-management.io/categories": "SystemAndInformationIntegrity",
            "policy.open-cluster-management.io/controls": "MutationAdvisor",
            "policy.open-cluster-management.io/standards": "NIST",
            "seed-generation": "1",
          },
          "name": "policy-ma",
          "namespace": "mcm",
          "resourceVersion": "1347579",
          "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-ma",
        },
        "name": "policy-ma",
        "namespace": "mcm",
        "placementBindings": Array [
          Object {
            "__typename": "PlacementBinding",
            "metadata": Object {
              "__typename": "Metadata",
              "name": "binding-ma",
              "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-ma",
            },
          },
        ],
        "placementPolicies": Array [
          Object {
            "__typename": "PlacementPolicy",
            "metadata": Object {
              "__typename": "Metadata",
              "name": "placement-ma",
              "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-ma",
            },
          },
        ],
        "policyCompliant": "1/2",
        "raw": Object {
          "apiVersion": "policy.open-cluster-management.io/v1",
          "kind": "Policy",
          "metadata": Object {
            "annotations": Object {
              "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST\\"},\\"name\\":\\"policy-ma\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"policy-templates\\":[{\\"objectDefinition\\":{\\"apiVersion\\":\\"policies.ibm.com/v1alpha1\\",\\"kind\\":\\"MutationPolicy\\",\\"metadata\\":{\\"label\\":{\\"category\\":\\"System-Integrity\\"},\\"name\\":\\"mutation-policy-example\\"},\\"spec\\":{\\"conditions\\":{\\"ownership\\":[\\"ReplicaSet\\",\\"Deployment\\",\\"DeamonSet\\",\\"ReplicationController\\"]},\\"namespaceSelector\\":{\\"exclude\\":[\\"kube-system\\"],\\"include\\":[\\"default\\",\\"kube-*\\"]},\\"remediationAction\\":\\"enforce\\"}}}],\\"remediationAction\\":\\"enforce\\"}}
",
              "policy.open-cluster-management.io/categories": "SystemAndInformationIntegrity",
              "policy.open-cluster-management.io/controls": "MutationAdvisor",
              "policy.open-cluster-management.io/standards": "NIST",
              "seed-generation": "1",
            },
            "creationTimestamp": "2019-07-16T13:18:48Z",
            "finalizers": Array [
              "propagator.finalizer.mcm.ibm.com",
            ],
            "generation": 45,
            "name": "policy-ma",
            "namespace": "mcm",
            "resourceVersion": "1347579",
            "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-ma",
            "uid": "3f218d45-a7cc-11e9-8a41-005056a061f1",
          },
          "spec": Object {
            "namespaces": Object {},
            "policy-templates": Array [
              Object {
                "objectDefinition": Object {
                  "apiVersion": "policies.ibm.com/v1alpha1",
                  "kind": "MutationPolicy",
                  "metadata": Object {
                    "label": Object {
                      "category": "System-Integrity",
                    },
                    "name": "mutation-policy-example",
                  },
                  "spec": Object {
                    "conditions": Object {
                      "ownership": Array [
                        "ReplicaSet",
                        "Deployment",
                        "DeamonSet",
                        "ReplicationController",
                      ],
                    },
                    "namespaceSelector": Object {
                      "exclude": Array [
                        "kube-system",
                      ],
                      "include": Array [
                        "default",
                        "kube-*",
                      ],
                    },
                    "remediationAction": "enforce",
                  },
                },
                "status": Object {
                  "Validity": Object {},
                },
              },
            ],
            "remediationAction": "enforce",
          },
          "status": Object {
            "placement": Array [
              Object {
                "placementBinding": "binding-ma",
                "placementRule": "placement-ma",
              },
            ],
            "status": Object {
              "cluster1": Object {
                "aggregatePoliciesStatus": Object {
                  "policy-ma": Object {
                    "compliant": "NonCompliant",
                  },
                },
                "clustername": "cluster1",
                "compliant": "NonCompliant",
              },
              "clusterhub": Object {
                "aggregatePoliciesStatus": Object {
                  "policy-ma": Object {
                    "compliant": "Compliant",
                  },
                },
                "clustername": "clusterhub",
                "compliant": "Compliant",
              },
            },
          },
        },
        "remediation": "enforce",
      },
      Object {
        "__typename": "Compliance",
        "clusterCompliant": "1/2",
        "metadata": Object {
          "__typename": "Metadata",
          "annotations": Object {
            "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
            "policy.open-cluster-management.io/controls": "MutationAdvisor,CertificateManager",
            "policy.open-cluster-management.io/standards": "NIST,HIPAA",
            "seed-generation": "1",
          },
          "name": "policy-pod",
          "namespace": "mcm",
          "resourceVersion": "1257026",
          "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-pod",
        },
        "name": "policy-pod",
        "namespace": "mcm",
        "placementBindings": Array [
          Object {
            "__typename": "PlacementBinding",
            "metadata": Object {
              "__typename": "Metadata",
              "name": "binding-pod",
              "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-pod",
            },
          },
        ],
        "placementPolicies": Array [
          Object {
            "__typename": "PlacementPolicy",
            "metadata": Object {
              "__typename": "Metadata",
              "name": "placement-pod",
              "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-pod",
            },
          },
        ],
        "policyCompliant": "1/2",
        "raw": Object {
          "apiVersion": "policy.open-cluster-management.io/v1",
          "kind": "Policy",
          "metadata": Object {
            "annotations": Object {
              "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
              "policy.open-cluster-management.io/controls": "MutationAdvisor,CertificateManager",
              "policy.open-cluster-management.io/standards": "NIST,HIPAA",
              "seed-generation": "1",
            },
            "creationTimestamp": "2019-07-16T13:16:46Z",
            "finalizers": Array [
              "propagator.finalizer.mcm.ibm.com",
            ],
            "generation": 19,
            "name": "policy-pod",
            "namespace": "mcm",
            "resourceVersion": "1257026",
            "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-pod",
            "uid": "f61a25eb-a7cb-11e9-8a41-005056a061f1",
          },
          "spec": Object {
            "complianceType": "musthave",
            "namespaces": Object {
              "exclude": Array [
                "kube*",
              ],
              "include": Array [
                "default",
              ],
            },
            "object-templates": Array [
              Object {
                "complianceType": "musthave",
                "objectDefinition": Object {
                  "apiVersion": "v1",
                  "kind": "Pod",
                  "metadata": Object {
                    "name": "nginx-pod",
                  },
                  "spec": Object {
                    "containers": Array [
                      Object {
                        "image": "nginx:1.7.9",
                        "name": "nginx",
                        "ports": Array [
                          Object {
                            "containerPort": 80,
                          },
                        ],
                      },
                    ],
                  },
                },
                "status": Object {
                  "Validity": Object {},
                },
              },
            ],
            "remediationAction": "inform",
          },
          "status": Object {
            "placement": Array [
              Object {
                "placementBinding": "binding-pod",
                "placementRule": "placement-pod",
              },
            ],
            "status": Object {
              "cluster1": Object {
                "aggregatePoliciesStatus": Object {
                  "policy-pod": Object {
                    "compliant": "Compliant",
                  },
                },
                "clustername": "cluster1",
                "compliant": "Compliant",
              },
              "clusterhub": Object {
                "aggregatePoliciesStatus": Object {
                  "policy-pod": Object {
                    "compliant": "NonCompliant",
                  },
                },
                "clustername": "clusterhub",
                "compliant": "NonCompliant",
              },
            },
          },
        },
        "remediation": "inform",
      },
      Object {
        "__typename": "Compliance",
        "clusterCompliant": "1/2",
        "metadata": Object {
          "__typename": "Metadata",
          "annotations": Object {
            "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndCommunicationsProtections,SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor,VA\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST,HIPAA\\"},\\"name\\":\\"policy-role\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"namespaces\\":{\\"exclude\\":[\\"kube*\\"],\\"include\\":[\\"default\\"]},\\"remediationAction\\":\\"inform\\",\\"role-templates\\":[{\\"apiVersion\\":\\"roletemplate.mcm.ibm.com/v1alpha1\\",\\"complianceType\\":\\"musthave\\",\\"metadata\\":{\\"name\\":\\"operator-role-policy\\",\\"namespace\\":\\"\\"},\\"rules\\":[{\\"complianceType\\":\\"musthave\\",\\"policyRule\\":{\\"apiGroups\\":[\\"extensions\\",\\"apps\\"],\\"resources\\":[\\"deployments\\"],\\"verbs\\":[\\"get\\",\\"list\\",\\"watch\\",\\"create\\",\\"delete\\",\\"patch\\"]}}],\\"selector\\":{\\"matchLabels\\":{\\"dev\\":\\"true\\"}}}]}}
",
            "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
            "policy.open-cluster-management.io/controls": "MutationAdvisor,VA",
            "policy.open-cluster-management.io/standards": "NIST,HIPAA",
            "seed-generation": "1",
          },
          "name": "policy-role",
          "namespace": "mcm",
          "resourceVersion": "1201118",
          "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-role",
        },
        "name": "policy-role",
        "namespace": "mcm",
        "placementBindings": Array [
          Object {
            "__typename": "PlacementBinding",
            "metadata": Object {
              "__typename": "Metadata",
              "name": "binding-role",
              "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-role",
            },
          },
        ],
        "placementPolicies": Array [
          Object {
            "__typename": "PlacementPolicy",
            "metadata": Object {
              "__typename": "Metadata",
              "name": "placement-role",
              "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-role",
            },
          },
        ],
        "policyCompliant": "1/2",
        "raw": Object {
          "apiVersion": "policy.open-cluster-management.io/v1",
          "kind": "Policy",
          "metadata": Object {
            "annotations": Object {
              "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndCommunicationsProtections,SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor,VA\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST,HIPAA\\"},\\"name\\":\\"policy-role\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"namespaces\\":{\\"exclude\\":[\\"kube*\\"],\\"include\\":[\\"default\\"]},\\"remediationAction\\":\\"inform\\",\\"role-templates\\":[{\\"apiVersion\\":\\"roletemplate.mcm.ibm.com/v1alpha1\\",\\"complianceType\\":\\"musthave\\",\\"metadata\\":{\\"name\\":\\"operator-role-policy\\",\\"namespace\\":\\"\\"},\\"rules\\":[{\\"complianceType\\":\\"musthave\\",\\"policyRule\\":{\\"apiGroups\\":[\\"extensions\\",\\"apps\\"],\\"resources\\":[\\"deployments\\"],\\"verbs\\":[\\"get\\",\\"list\\",\\"watch\\",\\"create\\",\\"delete\\",\\"patch\\"]}}],\\"selector\\":{\\"matchLabels\\":{\\"dev\\":\\"true\\"}}}]}}
",
              "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
              "policy.open-cluster-management.io/controls": "MutationAdvisor,VA",
              "policy.open-cluster-management.io/standards": "NIST,HIPAA",
              "seed-generation": "1",
            },
            "creationTimestamp": "2019-07-16T13:19:03Z",
            "finalizers": Array [
              "propagator.finalizer.mcm.ibm.com",
            ],
            "generation": 16,
            "name": "policy-role",
            "namespace": "mcm",
            "resourceVersion": "1201118",
            "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-role",
            "uid": "47dbc091-a7cc-11e9-8a41-005056a061f1",
          },
          "spec": Object {
            "namespaces": Object {
              "exclude": Array [
                "kube*",
              ],
              "include": Array [
                "default",
              ],
            },
            "remediationAction": "inform",
            "role-templates": Array [
              Object {
                "apiVersion": "roletemplate.mcm.ibm.com/v1alpha1",
                "complianceType": "musthave",
                "metadata": Object {
                  "creationTimestamp": null,
                  "name": "operator-role-policy",
                },
                "rules": Array [
                  Object {
                    "complianceType": "musthave",
                    "policyRule": Object {
                      "apiGroups": Array [
                        "extensions",
                        "apps",
                      ],
                      "resources": Array [
                        "deployments",
                      ],
                      "verbs": Array [
                        "get",
                        "list",
                        "watch",
                        "create",
                        "delete",
                        "patch",
                      ],
                    },
                  },
                ],
                "selector": Object {
                  "matchLabels": Object {
                    "dev": "true",
                  },
                },
                "status": Object {
                  "Validity": Object {},
                },
              },
            ],
          },
          "status": Object {
            "placement": Array [
              Object {
                "placementBinding": "binding-role",
                "placementRule": "placement-role",
              },
            ],
            "status": Object {
              "cluster1": Object {
                "aggregatePoliciesStatus": Object {
                  "policy-role": Object {
                    "compliant": "Compliant",
                  },
                },
                "clustername": "cluster1",
                "compliant": "Compliant",
              },
              "clusterhub": Object {
                "aggregatePoliciesStatus": Object {
                  "policy-role": Object {
                    "compliant": "NonCompliant",
                  },
                },
                "clustername": "clusterhub",
                "compliant": "NonCompliant",
              },
            },
          },
        },
        "remediation": "inform",
      },
    ],
    "grcTabToggleIndex": 0,
    "highLightRowName": "",
    "locale": "en-US",
    "refreshControl": Object {
      "refreshCookie": "grc-refresh-interval-cookie",
      "reloading": false,
      "timestamp": "Tue Jul 23 2019 01:13:42 GMT-0400 (Eastern Daylight Time)",
    },
    "secondaryHeaderProps": Object {
      "information": "grc.header.tooltip",
      "links": Array [
        Object {
          "id": "create-policy",
          "label": "button.create.policy",
          "url": "/multicloud/policies/create",
        },
      ],
      "tabs": Array [
        Object {
          "id": "grc-overview",
          "index": 0,
          "label": "tabs.grc.overview",
          "url": "/multicloud/policies",
        },
        Object {
          "id": "grc-all",
          "index": 1,
          "label": "tabs.grc.all",
          "url": "/multicloud/policies/all",
        },
        Object {
          "id": "grc-findings",
          "index": 2,
          "label": "tabs.grc.findings",
          "url": "/multicloud/policies/findings",
        },
      ],
      "title": "routes.grc",
    },
    "showApplications": false,
    "showGrcTabToggle": true,
    "showSidePanel": false,
  },
  "refs": Object {},
  "setState": [Function],
  "state": null,
  "toggleClick": [Function],
  "updater": Updater {
    "_callbacks": Array [],
    "_renderer": ReactShallowRenderer {
      "_context": Object {},
      "_didScheduleRenderPhaseUpdate": false,
      "_dispatcher": Object {
        "readContext": [Function],
        "useCallback": [Function],
        "useContext": [Function],
        "useDebugValue": [Function],
        "useDeferredValue": [Function],
        "useEffect": [Function],
        "useImperativeHandle": [Function],
        "useLayoutEffect": [Function],
        "useMemo": [Function],
        "useReducer": [Function],
        "useRef": [Function],
        "useResponder": [Function],
        "useState": [Function],
        "useTransition": [Function],
      },
      "_element": <GrcToggleModule
        grcItems={
          Array [
            Object {
              "__typename": "Compliance",
              "clusterCompliant": "0/2",
              "metadata": Object {
                "__typename": "Metadata",
                "annotations": Object {
                  "policy.open-cluster-management.io/categories": "",
                  "policy.open-cluster-management.io/controls": "",
                  "policy.open-cluster-management.io/standards": "",
                  "seed-generation": "1",
                },
                "name": "my-policy",
                "namespace": "mcm",
                "resourceVersion": "1347399",
                "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/my-policy",
              },
              "name": "my-policy",
              "namespace": "mcm",
              "placementBindings": Array [
                Object {
                  "__typename": "PlacementBinding",
                  "metadata": Object {
                    "__typename": "Metadata",
                    "name": "binding-my-policy",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-my-policy",
                  },
                },
              ],
              "placementPolicies": Array [
                Object {
                  "__typename": "PlacementPolicy",
                  "metadata": Object {
                    "__typename": "Metadata",
                    "name": "placement-my-policy",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-my-policy",
                  },
                },
              ],
              "policyCompliant": "0/2",
              "raw": Object {
                "apiVersion": "policy.open-cluster-management.io/v1",
                "kind": "Policy",
                "metadata": Object {
                  "annotations": Object {
                    "policy.open-cluster-management.io/categories": "",
                    "policy.open-cluster-management.io/controls": "",
                    "policy.open-cluster-management.io/standards": "",
                    "seed-generation": "1",
                  },
                  "creationTimestamp": "2019-07-21T15:53:58Z",
                  "finalizers": Array [
                    "propagator.finalizer.mcm.ibm.com",
                  ],
                  "generation": 55,
                  "name": "my-policy",
                  "namespace": "mcm",
                  "resourceVersion": "1347399",
                  "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/my-policy",
                  "uid": "c049ec0d-abcf-11e9-8a41-005056a061f1",
                },
                "spec": Object {
                  "complianceType": "musthave",
                  "namespaces": Object {
                    "exclude": Array [
                      "kube-*",
                    ],
                    "include": Array [
                      "default",
                    ],
                  },
                  "object-templates": Array [
                    Object {
                      "complianceType": "musthave",
                      "objectDefinition": Object {
                        "apiVersion": "rbac.authorization.k8s.io/v1",
                        "kind": "RoleBinding",
                        "metadata": Object {
                          "name": "operate-pods-rolebinding",
                        },
                        "roleRef": Object {
                          "apiGroup": "rbac.authorization.k8s.io",
                          "kind": "Role",
                          "name": "operator",
                        },
                        "subjects": Array [
                          Object {
                            "apiGroup": "rbac.authorization.k8s.io",
                            "kind": "User",
                            "name": "admin",
                          },
                        ],
                      },
                      "status": Object {
                        "Validity": Object {},
                      },
                    },
                  ],
                  "remediationAction": "enforce",
                },
                "status": Object {
                  "placement": Array [
                    Object {
                      "placementBinding": "binding-my-policy",
                      "placementRule": "placement-my-policy",
                    },
                  ],
                  "status": Object {
                    "cluster1": Object {
                      "aggregatePoliciesStatus": Object {
                        "my-policy": Object {
                          "compliant": "Compliant",
                        },
                      },
                      "clustername": "cluster1",
                      "compliant": "Compliant",
                    },
                    "clusterhub": Object {
                      "aggregatePoliciesStatus": Object {
                        "my-policy": Object {
                          "compliant": "Compliant",
                        },
                      },
                      "clustername": "clusterhub",
                      "compliant": "Compliant",
                    },
                  },
                },
              },
              "remediation": "enforce",
            },
            Object {
              "__typename": "Compliance",
              "clusterCompliant": "1/2",
              "metadata": Object {
                "__typename": "Metadata",
                "annotations": Object {
                  "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST\\"},\\"name\\":\\"policy-ma\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"policy-templates\\":[{\\"objectDefinition\\":{\\"apiVersion\\":\\"policies.ibm.com/v1alpha1\\",\\"kind\\":\\"MutationPolicy\\",\\"metadata\\":{\\"label\\":{\\"category\\":\\"System-Integrity\\"},\\"name\\":\\"mutation-policy-example\\"},\\"spec\\":{\\"conditions\\":{\\"ownership\\":[\\"ReplicaSet\\",\\"Deployment\\",\\"DeamonSet\\",\\"ReplicationController\\"]},\\"namespaceSelector\\":{\\"exclude\\":[\\"kube-system\\"],\\"include\\":[\\"default\\",\\"kube-*\\"]},\\"remediationAction\\":\\"enforce\\"}}}],\\"remediationAction\\":\\"enforce\\"}}
",
                  "policy.open-cluster-management.io/categories": "SystemAndInformationIntegrity",
                  "policy.open-cluster-management.io/controls": "MutationAdvisor",
                  "policy.open-cluster-management.io/standards": "NIST",
                  "seed-generation": "1",
                },
                "name": "policy-ma",
                "namespace": "mcm",
                "resourceVersion": "1347579",
                "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-ma",
              },
              "name": "policy-ma",
              "namespace": "mcm",
              "placementBindings": Array [
                Object {
                  "__typename": "PlacementBinding",
                  "metadata": Object {
                    "__typename": "Metadata",
                    "name": "binding-ma",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-ma",
                  },
                },
              ],
              "placementPolicies": Array [
                Object {
                  "__typename": "PlacementPolicy",
                  "metadata": Object {
                    "__typename": "Metadata",
                    "name": "placement-ma",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-ma",
                  },
                },
              ],
              "policyCompliant": "1/2",
              "raw": Object {
                "apiVersion": "policy.open-cluster-management.io/v1",
                "kind": "Policy",
                "metadata": Object {
                  "annotations": Object {
                    "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST\\"},\\"name\\":\\"policy-ma\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"policy-templates\\":[{\\"objectDefinition\\":{\\"apiVersion\\":\\"policies.ibm.com/v1alpha1\\",\\"kind\\":\\"MutationPolicy\\",\\"metadata\\":{\\"label\\":{\\"category\\":\\"System-Integrity\\"},\\"name\\":\\"mutation-policy-example\\"},\\"spec\\":{\\"conditions\\":{\\"ownership\\":[\\"ReplicaSet\\",\\"Deployment\\",\\"DeamonSet\\",\\"ReplicationController\\"]},\\"namespaceSelector\\":{\\"exclude\\":[\\"kube-system\\"],\\"include\\":[\\"default\\",\\"kube-*\\"]},\\"remediationAction\\":\\"enforce\\"}}}],\\"remediationAction\\":\\"enforce\\"}}
",
                    "policy.open-cluster-management.io/categories": "SystemAndInformationIntegrity",
                    "policy.open-cluster-management.io/controls": "MutationAdvisor",
                    "policy.open-cluster-management.io/standards": "NIST",
                    "seed-generation": "1",
                  },
                  "creationTimestamp": "2019-07-16T13:18:48Z",
                  "finalizers": Array [
                    "propagator.finalizer.mcm.ibm.com",
                  ],
                  "generation": 45,
                  "name": "policy-ma",
                  "namespace": "mcm",
                  "resourceVersion": "1347579",
                  "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-ma",
                  "uid": "3f218d45-a7cc-11e9-8a41-005056a061f1",
                },
                "spec": Object {
                  "namespaces": Object {},
                  "policy-templates": Array [
                    Object {
                      "objectDefinition": Object {
                        "apiVersion": "policies.ibm.com/v1alpha1",
                        "kind": "MutationPolicy",
                        "metadata": Object {
                          "label": Object {
                            "category": "System-Integrity",
                          },
                          "name": "mutation-policy-example",
                        },
                        "spec": Object {
                          "conditions": Object {
                            "ownership": Array [
                              "ReplicaSet",
                              "Deployment",
                              "DeamonSet",
                              "ReplicationController",
                            ],
                          },
                          "namespaceSelector": Object {
                            "exclude": Array [
                              "kube-system",
                            ],
                            "include": Array [
                              "default",
                              "kube-*",
                            ],
                          },
                          "remediationAction": "enforce",
                        },
                      },
                      "status": Object {
                        "Validity": Object {},
                      },
                    },
                  ],
                  "remediationAction": "enforce",
                },
                "status": Object {
                  "placement": Array [
                    Object {
                      "placementBinding": "binding-ma",
                      "placementRule": "placement-ma",
                    },
                  ],
                  "status": Object {
                    "cluster1": Object {
                      "aggregatePoliciesStatus": Object {
                        "policy-ma": Object {
                          "compliant": "NonCompliant",
                        },
                      },
                      "clustername": "cluster1",
                      "compliant": "NonCompliant",
                    },
                    "clusterhub": Object {
                      "aggregatePoliciesStatus": Object {
                        "policy-ma": Object {
                          "compliant": "Compliant",
                        },
                      },
                      "clustername": "clusterhub",
                      "compliant": "Compliant",
                    },
                  },
                },
              },
              "remediation": "enforce",
            },
            Object {
              "__typename": "Compliance",
              "clusterCompliant": "1/2",
              "metadata": Object {
                "__typename": "Metadata",
                "annotations": Object {
                  "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
                  "policy.open-cluster-management.io/controls": "MutationAdvisor,CertificateManager",
                  "policy.open-cluster-management.io/standards": "NIST,HIPAA",
                  "seed-generation": "1",
                },
                "name": "policy-pod",
                "namespace": "mcm",
                "resourceVersion": "1257026",
                "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-pod",
              },
              "name": "policy-pod",
              "namespace": "mcm",
              "placementBindings": Array [
                Object {
                  "__typename": "PlacementBinding",
                  "metadata": Object {
                    "__typename": "Metadata",
                    "name": "binding-pod",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-pod",
                  },
                },
              ],
              "placementPolicies": Array [
                Object {
                  "__typename": "PlacementPolicy",
                  "metadata": Object {
                    "__typename": "Metadata",
                    "name": "placement-pod",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-pod",
                  },
                },
              ],
              "policyCompliant": "1/2",
              "raw": Object {
                "apiVersion": "policy.open-cluster-management.io/v1",
                "kind": "Policy",
                "metadata": Object {
                  "annotations": Object {
                    "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
                    "policy.open-cluster-management.io/controls": "MutationAdvisor,CertificateManager",
                    "policy.open-cluster-management.io/standards": "NIST,HIPAA",
                    "seed-generation": "1",
                  },
                  "creationTimestamp": "2019-07-16T13:16:46Z",
                  "finalizers": Array [
                    "propagator.finalizer.mcm.ibm.com",
                  ],
                  "generation": 19,
                  "name": "policy-pod",
                  "namespace": "mcm",
                  "resourceVersion": "1257026",
                  "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-pod",
                  "uid": "f61a25eb-a7cb-11e9-8a41-005056a061f1",
                },
                "spec": Object {
                  "complianceType": "musthave",
                  "namespaces": Object {
                    "exclude": Array [
                      "kube*",
                    ],
                    "include": Array [
                      "default",
                    ],
                  },
                  "object-templates": Array [
                    Object {
                      "complianceType": "musthave",
                      "objectDefinition": Object {
                        "apiVersion": "v1",
                        "kind": "Pod",
                        "metadata": Object {
                          "name": "nginx-pod",
                        },
                        "spec": Object {
                          "containers": Array [
                            Object {
                              "image": "nginx:1.7.9",
                              "name": "nginx",
                              "ports": Array [
                                Object {
                                  "containerPort": 80,
                                },
                              ],
                            },
                          ],
                        },
                      },
                      "status": Object {
                        "Validity": Object {},
                      },
                    },
                  ],
                  "remediationAction": "inform",
                },
                "status": Object {
                  "placement": Array [
                    Object {
                      "placementBinding": "binding-pod",
                      "placementRule": "placement-pod",
                    },
                  ],
                  "status": Object {
                    "cluster1": Object {
                      "aggregatePoliciesStatus": Object {
                        "policy-pod": Object {
                          "compliant": "Compliant",
                        },
                      },
                      "clustername": "cluster1",
                      "compliant": "Compliant",
                    },
                    "clusterhub": Object {
                      "aggregatePoliciesStatus": Object {
                        "policy-pod": Object {
                          "compliant": "NonCompliant",
                        },
                      },
                      "clustername": "clusterhub",
                      "compliant": "NonCompliant",
                    },
                  },
                },
              },
              "remediation": "inform",
            },
            Object {
              "__typename": "Compliance",
              "clusterCompliant": "1/2",
              "metadata": Object {
                "__typename": "Metadata",
                "annotations": Object {
                  "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndCommunicationsProtections,SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor,VA\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST,HIPAA\\"},\\"name\\":\\"policy-role\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"namespaces\\":{\\"exclude\\":[\\"kube*\\"],\\"include\\":[\\"default\\"]},\\"remediationAction\\":\\"inform\\",\\"role-templates\\":[{\\"apiVersion\\":\\"roletemplate.mcm.ibm.com/v1alpha1\\",\\"complianceType\\":\\"musthave\\",\\"metadata\\":{\\"name\\":\\"operator-role-policy\\",\\"namespace\\":\\"\\"},\\"rules\\":[{\\"complianceType\\":\\"musthave\\",\\"policyRule\\":{\\"apiGroups\\":[\\"extensions\\",\\"apps\\"],\\"resources\\":[\\"deployments\\"],\\"verbs\\":[\\"get\\",\\"list\\",\\"watch\\",\\"create\\",\\"delete\\",\\"patch\\"]}}],\\"selector\\":{\\"matchLabels\\":{\\"dev\\":\\"true\\"}}}]}}
",
                  "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
                  "policy.open-cluster-management.io/controls": "MutationAdvisor,VA",
                  "policy.open-cluster-management.io/standards": "NIST,HIPAA",
                  "seed-generation": "1",
                },
                "name": "policy-role",
                "namespace": "mcm",
                "resourceVersion": "1201118",
                "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-role",
              },
              "name": "policy-role",
              "namespace": "mcm",
              "placementBindings": Array [
                Object {
                  "__typename": "PlacementBinding",
                  "metadata": Object {
                    "__typename": "Metadata",
                    "name": "binding-role",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-role",
                  },
                },
              ],
              "placementPolicies": Array [
                Object {
                  "__typename": "PlacementPolicy",
                  "metadata": Object {
                    "__typename": "Metadata",
                    "name": "placement-role",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-role",
                  },
                },
              ],
              "policyCompliant": "1/2",
              "raw": Object {
                "apiVersion": "policy.open-cluster-management.io/v1",
                "kind": "Policy",
                "metadata": Object {
                  "annotations": Object {
                    "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndCommunicationsProtections,SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor,VA\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST,HIPAA\\"},\\"name\\":\\"policy-role\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"namespaces\\":{\\"exclude\\":[\\"kube*\\"],\\"include\\":[\\"default\\"]},\\"remediationAction\\":\\"inform\\",\\"role-templates\\":[{\\"apiVersion\\":\\"roletemplate.mcm.ibm.com/v1alpha1\\",\\"complianceType\\":\\"musthave\\",\\"metadata\\":{\\"name\\":\\"operator-role-policy\\",\\"namespace\\":\\"\\"},\\"rules\\":[{\\"complianceType\\":\\"musthave\\",\\"policyRule\\":{\\"apiGroups\\":[\\"extensions\\",\\"apps\\"],\\"resources\\":[\\"deployments\\"],\\"verbs\\":[\\"get\\",\\"list\\",\\"watch\\",\\"create\\",\\"delete\\",\\"patch\\"]}}],\\"selector\\":{\\"matchLabels\\":{\\"dev\\":\\"true\\"}}}]}}
",
                    "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
                    "policy.open-cluster-management.io/controls": "MutationAdvisor,VA",
                    "policy.open-cluster-management.io/standards": "NIST,HIPAA",
                    "seed-generation": "1",
                  },
                  "creationTimestamp": "2019-07-16T13:19:03Z",
                  "finalizers": Array [
                    "propagator.finalizer.mcm.ibm.com",
                  ],
                  "generation": 16,
                  "name": "policy-role",
                  "namespace": "mcm",
                  "resourceVersion": "1201118",
                  "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-role",
                  "uid": "47dbc091-a7cc-11e9-8a41-005056a061f1",
                },
                "spec": Object {
                  "namespaces": Object {
                    "exclude": Array [
                      "kube*",
                    ],
                    "include": Array [
                      "default",
                    ],
                  },
                  "remediationAction": "inform",
                  "role-templates": Array [
                    Object {
                      "apiVersion": "roletemplate.mcm.ibm.com/v1alpha1",
                      "complianceType": "musthave",
                      "metadata": Object {
                        "creationTimestamp": null,
                        "name": "operator-role-policy",
                      },
                      "rules": Array [
                        Object {
                          "complianceType": "musthave",
                          "policyRule": Object {
                            "apiGroups": Array [
                              "extensions",
                              "apps",
                            ],
                            "resources": Array [
                              "deployments",
                            ],
                            "verbs": Array [
                              "get",
                              "list",
                              "watch",
                              "create",
                              "delete",
                              "patch",
                            ],
                          },
                        },
                      ],
                      "selector": Object {
                        "matchLabels": Object {
                          "dev": "true",
                        },
                      },
                      "status": Object {
                        "Validity": Object {},
                      },
                    },
                  ],
                },
                "status": Object {
                  "placement": Array [
                    Object {
                      "placementBinding": "binding-role",
                      "placementRule": "placement-role",
                    },
                  ],
                  "status": Object {
                    "cluster1": Object {
                      "aggregatePoliciesStatus": Object {
                        "policy-role": Object {
                          "compliant": "Compliant",
                        },
                      },
                      "clustername": "cluster1",
                      "compliant": "Compliant",
                    },
                    "clusterhub": Object {
                      "aggregatePoliciesStatus": Object {
                        "policy-role": Object {
                          "compliant": "NonCompliant",
                        },
                      },
                      "clustername": "clusterhub",
                      "compliant": "NonCompliant",
                    },
                  },
                },
              },
              "remediation": "inform",
            },
          ]
        }
        grcTabToggleIndex={0}
        highLightRowName=""
        locale="en-US"
        refreshControl={
          Object {
            "refreshCookie": "grc-refresh-interval-cookie",
            "reloading": false,
            "timestamp": "Tue Jul 23 2019 01:13:42 GMT-0400 (Eastern Daylight Time)",
          }
        }
        secondaryHeaderProps={
          Object {
            "information": "grc.header.tooltip",
            "links": Array [
              Object {
                "id": "create-policy",
                "label": "button.create.policy",
                "url": "/multicloud/policies/create",
              },
            ],
            "tabs": Array [
              Object {
                "id": "grc-overview",
                "index": 0,
                "label": "tabs.grc.overview",
                "url": "/multicloud/policies",
              },
              Object {
                "id": "grc-all",
                "index": 1,
                "label": "tabs.grc.all",
                "url": "/multicloud/policies/all",
              },
              Object {
                "id": "grc-findings",
                "index": 2,
                "label": "tabs.grc.findings",
                "url": "/multicloud/policies/findings",
              },
            ],
            "title": "routes.grc",
          }
        }
        showApplications={false}
        showGrcTabToggle={true}
        showSidePanel={false}
      />,
      "_firstWorkInProgressHook": null,
      "_forcedUpdate": false,
      "_instance": [Circular],
      "_isReRender": false,
      "_newState": null,
      "_numberOfReRenders": 0,
      "_renderPhaseUpdates": null,
      "_rendered": <div
        className="module-toggle-tab"
      >
        <withRouter(Connect(ResourceList))
          autoAction="table.actions.policy.sidepanel"
          detailsTabs={
            Array [
              "policies",
            ]
          }
          getVisibleResources={[Function]}
          grcItems={
            Array [
              Object {
                "__typename": "Compliance",
                "clusterCompliant": "0/2",
                "metadata": Object {
                  "__typename": "Metadata",
                  "annotations": Object {
                    "policy.open-cluster-management.io/categories": "",
                    "policy.open-cluster-management.io/controls": "",
                    "policy.open-cluster-management.io/standards": "",
                    "seed-generation": "1",
                  },
                  "name": "my-policy",
                  "namespace": "mcm",
                  "resourceVersion": "1347399",
                  "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/my-policy",
                },
                "name": "my-policy",
                "namespace": "mcm",
                "placementBindings": Array [
                  Object {
                    "__typename": "PlacementBinding",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "binding-my-policy",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-my-policy",
                    },
                  },
                ],
                "placementPolicies": Array [
                  Object {
                    "__typename": "PlacementPolicy",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "placement-my-policy",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-my-policy",
                    },
                  },
                ],
                "policyCompliant": "0/2",
                "raw": Object {
                  "apiVersion": "policy.open-cluster-management.io/v1",
                  "kind": "Policy",
                  "metadata": Object {
                    "annotations": Object {
                      "policy.open-cluster-management.io/categories": "",
                      "policy.open-cluster-management.io/controls": "",
                      "policy.open-cluster-management.io/standards": "",
                      "seed-generation": "1",
                    },
                    "creationTimestamp": "2019-07-21T15:53:58Z",
                    "finalizers": Array [
                      "propagator.finalizer.mcm.ibm.com",
                    ],
                    "generation": 55,
                    "name": "my-policy",
                    "namespace": "mcm",
                    "resourceVersion": "1347399",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/my-policy",
                    "uid": "c049ec0d-abcf-11e9-8a41-005056a061f1",
                  },
                  "spec": Object {
                    "complianceType": "musthave",
                    "namespaces": Object {
                      "exclude": Array [
                        "kube-*",
                      ],
                      "include": Array [
                        "default",
                      ],
                    },
                    "object-templates": Array [
                      Object {
                        "complianceType": "musthave",
                        "objectDefinition": Object {
                          "apiVersion": "rbac.authorization.k8s.io/v1",
                          "kind": "RoleBinding",
                          "metadata": Object {
                            "name": "operate-pods-rolebinding",
                          },
                          "roleRef": Object {
                            "apiGroup": "rbac.authorization.k8s.io",
                            "kind": "Role",
                            "name": "operator",
                          },
                          "subjects": Array [
                            Object {
                              "apiGroup": "rbac.authorization.k8s.io",
                              "kind": "User",
                              "name": "admin",
                            },
                          ],
                        },
                        "status": Object {
                          "Validity": Object {},
                        },
                      },
                    ],
                    "remediationAction": "enforce",
                  },
                  "status": Object {
                    "placement": Array [
                      Object {
                        "placementBinding": "binding-my-policy",
                        "placementRule": "placement-my-policy",
                      },
                    ],
                    "status": Object {
                      "cluster1": Object {
                        "aggregatePoliciesStatus": Object {
                          "my-policy": Object {
                            "compliant": "Compliant",
                          },
                        },
                        "clustername": "cluster1",
                        "compliant": "Compliant",
                      },
                      "clusterhub": Object {
                        "aggregatePoliciesStatus": Object {
                          "my-policy": Object {
                            "compliant": "Compliant",
                          },
                        },
                        "clustername": "clusterhub",
                        "compliant": "Compliant",
                      },
                    },
                  },
                },
                "remediation": "enforce",
              },
              Object {
                "__typename": "Compliance",
                "clusterCompliant": "1/2",
                "metadata": Object {
                  "__typename": "Metadata",
                  "annotations": Object {
                    "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST\\"},\\"name\\":\\"policy-ma\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"policy-templates\\":[{\\"objectDefinition\\":{\\"apiVersion\\":\\"policies.ibm.com/v1alpha1\\",\\"kind\\":\\"MutationPolicy\\",\\"metadata\\":{\\"label\\":{\\"category\\":\\"System-Integrity\\"},\\"name\\":\\"mutation-policy-example\\"},\\"spec\\":{\\"conditions\\":{\\"ownership\\":[\\"ReplicaSet\\",\\"Deployment\\",\\"DeamonSet\\",\\"ReplicationController\\"]},\\"namespaceSelector\\":{\\"exclude\\":[\\"kube-system\\"],\\"include\\":[\\"default\\",\\"kube-*\\"]},\\"remediationAction\\":\\"enforce\\"}}}],\\"remediationAction\\":\\"enforce\\"}}
",
                    "policy.open-cluster-management.io/categories": "SystemAndInformationIntegrity",
                    "policy.open-cluster-management.io/controls": "MutationAdvisor",
                    "policy.open-cluster-management.io/standards": "NIST",
                    "seed-generation": "1",
                  },
                  "name": "policy-ma",
                  "namespace": "mcm",
                  "resourceVersion": "1347579",
                  "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-ma",
                },
                "name": "policy-ma",
                "namespace": "mcm",
                "placementBindings": Array [
                  Object {
                    "__typename": "PlacementBinding",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "binding-ma",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-ma",
                    },
                  },
                ],
                "placementPolicies": Array [
                  Object {
                    "__typename": "PlacementPolicy",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "placement-ma",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-ma",
                    },
                  },
                ],
                "policyCompliant": "1/2",
                "raw": Object {
                  "apiVersion": "policy.open-cluster-management.io/v1",
                  "kind": "Policy",
                  "metadata": Object {
                    "annotations": Object {
                      "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST\\"},\\"name\\":\\"policy-ma\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"policy-templates\\":[{\\"objectDefinition\\":{\\"apiVersion\\":\\"policies.ibm.com/v1alpha1\\",\\"kind\\":\\"MutationPolicy\\",\\"metadata\\":{\\"label\\":{\\"category\\":\\"System-Integrity\\"},\\"name\\":\\"mutation-policy-example\\"},\\"spec\\":{\\"conditions\\":{\\"ownership\\":[\\"ReplicaSet\\",\\"Deployment\\",\\"DeamonSet\\",\\"ReplicationController\\"]},\\"namespaceSelector\\":{\\"exclude\\":[\\"kube-system\\"],\\"include\\":[\\"default\\",\\"kube-*\\"]},\\"remediationAction\\":\\"enforce\\"}}}],\\"remediationAction\\":\\"enforce\\"}}
",
                      "policy.open-cluster-management.io/categories": "SystemAndInformationIntegrity",
                      "policy.open-cluster-management.io/controls": "MutationAdvisor",
                      "policy.open-cluster-management.io/standards": "NIST",
                      "seed-generation": "1",
                    },
                    "creationTimestamp": "2019-07-16T13:18:48Z",
                    "finalizers": Array [
                      "propagator.finalizer.mcm.ibm.com",
                    ],
                    "generation": 45,
                    "name": "policy-ma",
                    "namespace": "mcm",
                    "resourceVersion": "1347579",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-ma",
                    "uid": "3f218d45-a7cc-11e9-8a41-005056a061f1",
                  },
                  "spec": Object {
                    "namespaces": Object {},
                    "policy-templates": Array [
                      Object {
                        "objectDefinition": Object {
                          "apiVersion": "policies.ibm.com/v1alpha1",
                          "kind": "MutationPolicy",
                          "metadata": Object {
                            "label": Object {
                              "category": "System-Integrity",
                            },
                            "name": "mutation-policy-example",
                          },
                          "spec": Object {
                            "conditions": Object {
                              "ownership": Array [
                                "ReplicaSet",
                                "Deployment",
                                "DeamonSet",
                                "ReplicationController",
                              ],
                            },
                            "namespaceSelector": Object {
                              "exclude": Array [
                                "kube-system",
                              ],
                              "include": Array [
                                "default",
                                "kube-*",
                              ],
                            },
                            "remediationAction": "enforce",
                          },
                        },
                        "status": Object {
                          "Validity": Object {},
                        },
                      },
                    ],
                    "remediationAction": "enforce",
                  },
                  "status": Object {
                    "placement": Array [
                      Object {
                        "placementBinding": "binding-ma",
                        "placementRule": "placement-ma",
                      },
                    ],
                    "status": Object {
                      "cluster1": Object {
                        "aggregatePoliciesStatus": Object {
                          "policy-ma": Object {
                            "compliant": "NonCompliant",
                          },
                        },
                        "clustername": "cluster1",
                        "compliant": "NonCompliant",
                      },
                      "clusterhub": Object {
                        "aggregatePoliciesStatus": Object {
                          "policy-ma": Object {
                            "compliant": "Compliant",
                          },
                        },
                        "clustername": "clusterhub",
                        "compliant": "Compliant",
                      },
                    },
                  },
                },
                "remediation": "enforce",
              },
              Object {
                "__typename": "Compliance",
                "clusterCompliant": "1/2",
                "metadata": Object {
                  "__typename": "Metadata",
                  "annotations": Object {
                    "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
                    "policy.open-cluster-management.io/controls": "MutationAdvisor,CertificateManager",
                    "policy.open-cluster-management.io/standards": "NIST,HIPAA",
                    "seed-generation": "1",
                  },
                  "name": "policy-pod",
                  "namespace": "mcm",
                  "resourceVersion": "1257026",
                  "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-pod",
                },
                "name": "policy-pod",
                "namespace": "mcm",
                "placementBindings": Array [
                  Object {
                    "__typename": "PlacementBinding",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "binding-pod",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-pod",
                    },
                  },
                ],
                "placementPolicies": Array [
                  Object {
                    "__typename": "PlacementPolicy",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "placement-pod",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-pod",
                    },
                  },
                ],
                "policyCompliant": "1/2",
                "raw": Object {
                  "apiVersion": "policy.open-cluster-management.io/v1",
                  "kind": "Policy",
                  "metadata": Object {
                    "annotations": Object {
                      "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
                      "policy.open-cluster-management.io/controls": "MutationAdvisor,CertificateManager",
                      "policy.open-cluster-management.io/standards": "NIST,HIPAA",
                      "seed-generation": "1",
                    },
                    "creationTimestamp": "2019-07-16T13:16:46Z",
                    "finalizers": Array [
                      "propagator.finalizer.mcm.ibm.com",
                    ],
                    "generation": 19,
                    "name": "policy-pod",
                    "namespace": "mcm",
                    "resourceVersion": "1257026",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-pod",
                    "uid": "f61a25eb-a7cb-11e9-8a41-005056a061f1",
                  },
                  "spec": Object {
                    "complianceType": "musthave",
                    "namespaces": Object {
                      "exclude": Array [
                        "kube*",
                      ],
                      "include": Array [
                        "default",
                      ],
                    },
                    "object-templates": Array [
                      Object {
                        "complianceType": "musthave",
                        "objectDefinition": Object {
                          "apiVersion": "v1",
                          "kind": "Pod",
                          "metadata": Object {
                            "name": "nginx-pod",
                          },
                          "spec": Object {
                            "containers": Array [
                              Object {
                                "image": "nginx:1.7.9",
                                "name": "nginx",
                                "ports": Array [
                                  Object {
                                    "containerPort": 80,
                                  },
                                ],
                              },
                            ],
                          },
                        },
                        "status": Object {
                          "Validity": Object {},
                        },
                      },
                    ],
                    "remediationAction": "inform",
                  },
                  "status": Object {
                    "placement": Array [
                      Object {
                        "placementBinding": "binding-pod",
                        "placementRule": "placement-pod",
                      },
                    ],
                    "status": Object {
                      "cluster1": Object {
                        "aggregatePoliciesStatus": Object {
                          "policy-pod": Object {
                            "compliant": "Compliant",
                          },
                        },
                        "clustername": "cluster1",
                        "compliant": "Compliant",
                      },
                      "clusterhub": Object {
                        "aggregatePoliciesStatus": Object {
                          "policy-pod": Object {
                            "compliant": "NonCompliant",
                          },
                        },
                        "clustername": "clusterhub",
                        "compliant": "NonCompliant",
                      },
                    },
                  },
                },
                "remediation": "inform",
              },
              Object {
                "__typename": "Compliance",
                "clusterCompliant": "1/2",
                "metadata": Object {
                  "__typename": "Metadata",
                  "annotations": Object {
                    "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndCommunicationsProtections,SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor,VA\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST,HIPAA\\"},\\"name\\":\\"policy-role\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"namespaces\\":{\\"exclude\\":[\\"kube*\\"],\\"include\\":[\\"default\\"]},\\"remediationAction\\":\\"inform\\",\\"role-templates\\":[{\\"apiVersion\\":\\"roletemplate.mcm.ibm.com/v1alpha1\\",\\"complianceType\\":\\"musthave\\",\\"metadata\\":{\\"name\\":\\"operator-role-policy\\",\\"namespace\\":\\"\\"},\\"rules\\":[{\\"complianceType\\":\\"musthave\\",\\"policyRule\\":{\\"apiGroups\\":[\\"extensions\\",\\"apps\\"],\\"resources\\":[\\"deployments\\"],\\"verbs\\":[\\"get\\",\\"list\\",\\"watch\\",\\"create\\",\\"delete\\",\\"patch\\"]}}],\\"selector\\":{\\"matchLabels\\":{\\"dev\\":\\"true\\"}}}]}}
",
                    "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
                    "policy.open-cluster-management.io/controls": "MutationAdvisor,VA",
                    "policy.open-cluster-management.io/standards": "NIST,HIPAA",
                    "seed-generation": "1",
                  },
                  "name": "policy-role",
                  "namespace": "mcm",
                  "resourceVersion": "1201118",
                  "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-role",
                },
                "name": "policy-role",
                "namespace": "mcm",
                "placementBindings": Array [
                  Object {
                    "__typename": "PlacementBinding",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "binding-role",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-role",
                    },
                  },
                ],
                "placementPolicies": Array [
                  Object {
                    "__typename": "PlacementPolicy",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "placement-role",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-role",
                    },
                  },
                ],
                "policyCompliant": "1/2",
                "raw": Object {
                  "apiVersion": "policy.open-cluster-management.io/v1",
                  "kind": "Policy",
                  "metadata": Object {
                    "annotations": Object {
                      "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndCommunicationsProtections,SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor,VA\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST,HIPAA\\"},\\"name\\":\\"policy-role\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"namespaces\\":{\\"exclude\\":[\\"kube*\\"],\\"include\\":[\\"default\\"]},\\"remediationAction\\":\\"inform\\",\\"role-templates\\":[{\\"apiVersion\\":\\"roletemplate.mcm.ibm.com/v1alpha1\\",\\"complianceType\\":\\"musthave\\",\\"metadata\\":{\\"name\\":\\"operator-role-policy\\",\\"namespace\\":\\"\\"},\\"rules\\":[{\\"complianceType\\":\\"musthave\\",\\"policyRule\\":{\\"apiGroups\\":[\\"extensions\\",\\"apps\\"],\\"resources\\":[\\"deployments\\"],\\"verbs\\":[\\"get\\",\\"list\\",\\"watch\\",\\"create\\",\\"delete\\",\\"patch\\"]}}],\\"selector\\":{\\"matchLabels\\":{\\"dev\\":\\"true\\"}}}]}}
",
                      "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
                      "policy.open-cluster-management.io/controls": "MutationAdvisor,VA",
                      "policy.open-cluster-management.io/standards": "NIST,HIPAA",
                      "seed-generation": "1",
                    },
                    "creationTimestamp": "2019-07-16T13:19:03Z",
                    "finalizers": Array [
                      "propagator.finalizer.mcm.ibm.com",
                    ],
                    "generation": 16,
                    "name": "policy-role",
                    "namespace": "mcm",
                    "resourceVersion": "1201118",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-role",
                    "uid": "47dbc091-a7cc-11e9-8a41-005056a061f1",
                  },
                  "spec": Object {
                    "namespaces": Object {
                      "exclude": Array [
                        "kube*",
                      ],
                      "include": Array [
                        "default",
                      ],
                    },
                    "remediationAction": "inform",
                    "role-templates": Array [
                      Object {
                        "apiVersion": "roletemplate.mcm.ibm.com/v1alpha1",
                        "complianceType": "musthave",
                        "metadata": Object {
                          "creationTimestamp": null,
                          "name": "operator-role-policy",
                        },
                        "rules": Array [
                          Object {
                            "complianceType": "musthave",
                            "policyRule": Object {
                              "apiGroups": Array [
                                "extensions",
                                "apps",
                              ],
                              "resources": Array [
                                "deployments",
                              ],
                              "verbs": Array [
                                "get",
                                "list",
                                "watch",
                                "create",
                                "delete",
                                "patch",
                              ],
                            },
                          },
                        ],
                        "selector": Object {
                          "matchLabels": Object {
                            "dev": "true",
                          },
                        },
                        "status": Object {
                          "Validity": Object {},
                        },
                      },
                    ],
                  },
                  "status": Object {
                    "placement": Array [
                      Object {
                        "placementBinding": "binding-role",
                        "placementRule": "placement-role",
                      },
                    ],
                    "status": Object {
                      "cluster1": Object {
                        "aggregatePoliciesStatus": Object {
                          "policy-role": Object {
                            "compliant": "Compliant",
                          },
                        },
                        "clustername": "cluster1",
                        "compliant": "Compliant",
                      },
                      "clusterhub": Object {
                        "aggregatePoliciesStatus": Object {
                          "policy-role": Object {
                            "compliant": "NonCompliant",
                          },
                        },
                        "clustername": "clusterhub",
                        "compliant": "NonCompliant",
                      },
                    },
                  },
                },
                "remediation": "inform",
              },
            ]
          }
          grcTabToggleIndex={0}
          highLightRowName=""
          information="grc.header.tooltip"
          links={
            Array [
              Object {
                "id": "create-policy",
                "label": "button.create.policy",
                "url": "/multicloud/policies/create",
              },
            ]
          }
          listData={
            Array [
              Object {
                "__typename": "Compliance",
                "clusterCompliant": "0/2",
                "metadata": Object {
                  "__typename": "Metadata",
                  "annotations": Object {
                    "policy.open-cluster-management.io/categories": "",
                    "policy.open-cluster-management.io/controls": "",
                    "policy.open-cluster-management.io/standards": "",
                    "seed-generation": "1",
                  },
                  "name": "my-policy",
                  "namespace": "mcm",
                  "resourceVersion": "1347399",
                  "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/my-policy",
                },
                "name": "my-policy",
                "namespace": "mcm",
                "placementBindings": Array [
                  Object {
                    "__typename": "PlacementBinding",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "binding-my-policy",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-my-policy",
                    },
                  },
                ],
                "placementPolicies": Array [
                  Object {
                    "__typename": "PlacementPolicy",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "placement-my-policy",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-my-policy",
                    },
                  },
                ],
                "policyCompliant": "0/2",
                "raw": Object {
                  "apiVersion": "policy.open-cluster-management.io/v1",
                  "kind": "Policy",
                  "metadata": Object {
                    "annotations": Object {
                      "policy.open-cluster-management.io/categories": "",
                      "policy.open-cluster-management.io/controls": "",
                      "policy.open-cluster-management.io/standards": "",
                      "seed-generation": "1",
                    },
                    "creationTimestamp": "2019-07-21T15:53:58Z",
                    "finalizers": Array [
                      "propagator.finalizer.mcm.ibm.com",
                    ],
                    "generation": 55,
                    "name": "my-policy",
                    "namespace": "mcm",
                    "resourceVersion": "1347399",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/my-policy",
                    "uid": "c049ec0d-abcf-11e9-8a41-005056a061f1",
                  },
                  "spec": Object {
                    "complianceType": "musthave",
                    "namespaces": Object {
                      "exclude": Array [
                        "kube-*",
                      ],
                      "include": Array [
                        "default",
                      ],
                    },
                    "object-templates": Array [
                      Object {
                        "complianceType": "musthave",
                        "objectDefinition": Object {
                          "apiVersion": "rbac.authorization.k8s.io/v1",
                          "kind": "RoleBinding",
                          "metadata": Object {
                            "name": "operate-pods-rolebinding",
                          },
                          "roleRef": Object {
                            "apiGroup": "rbac.authorization.k8s.io",
                            "kind": "Role",
                            "name": "operator",
                          },
                          "subjects": Array [
                            Object {
                              "apiGroup": "rbac.authorization.k8s.io",
                              "kind": "User",
                              "name": "admin",
                            },
                          ],
                        },
                        "status": Object {
                          "Validity": Object {},
                        },
                      },
                    ],
                    "remediationAction": "enforce",
                  },
                  "status": Object {
                    "placement": Array [
                      Object {
                        "placementBinding": "binding-my-policy",
                        "placementRule": "placement-my-policy",
                      },
                    ],
                    "status": Object {
                      "cluster1": Object {
                        "aggregatePoliciesStatus": Object {
                          "my-policy": Object {
                            "compliant": "Compliant",
                          },
                        },
                        "clustername": "cluster1",
                        "compliant": "Compliant",
                      },
                      "clusterhub": Object {
                        "aggregatePoliciesStatus": Object {
                          "my-policy": Object {
                            "compliant": "Compliant",
                          },
                        },
                        "clustername": "clusterhub",
                        "compliant": "Compliant",
                      },
                    },
                  },
                },
                "remediation": "enforce",
                "subItems": Array [
                  Object {
                    "items": Array [
                      "binding-my-policy",
                    ],
                    "name": "policy.pb",
                  },
                  Object {
                    "items": Array [
                      "placement-my-policy",
                    ],
                    "name": "policy.pp",
                  },
                ],
              },
              Object {
                "__typename": "Compliance",
                "clusterCompliant": "1/2",
                "metadata": Object {
                  "__typename": "Metadata",
                  "annotations": Object {
                    "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST\\"},\\"name\\":\\"policy-ma\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"policy-templates\\":[{\\"objectDefinition\\":{\\"apiVersion\\":\\"policies.ibm.com/v1alpha1\\",\\"kind\\":\\"MutationPolicy\\",\\"metadata\\":{\\"label\\":{\\"category\\":\\"System-Integrity\\"},\\"name\\":\\"mutation-policy-example\\"},\\"spec\\":{\\"conditions\\":{\\"ownership\\":[\\"ReplicaSet\\",\\"Deployment\\",\\"DeamonSet\\",\\"ReplicationController\\"]},\\"namespaceSelector\\":{\\"exclude\\":[\\"kube-system\\"],\\"include\\":[\\"default\\",\\"kube-*\\"]},\\"remediationAction\\":\\"enforce\\"}}}],\\"remediationAction\\":\\"enforce\\"}}
",
                    "policy.open-cluster-management.io/categories": "SystemAndInformationIntegrity",
                    "policy.open-cluster-management.io/controls": "MutationAdvisor",
                    "policy.open-cluster-management.io/standards": "NIST",
                    "seed-generation": "1",
                  },
                  "name": "policy-ma",
                  "namespace": "mcm",
                  "resourceVersion": "1347579",
                  "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-ma",
                },
                "name": "policy-ma",
                "namespace": "mcm",
                "placementBindings": Array [
                  Object {
                    "__typename": "PlacementBinding",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "binding-ma",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-ma",
                    },
                  },
                ],
                "placementPolicies": Array [
                  Object {
                    "__typename": "PlacementPolicy",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "placement-ma",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-ma",
                    },
                  },
                ],
                "policyCompliant": "1/2",
                "raw": Object {
                  "apiVersion": "policy.open-cluster-management.io/v1",
                  "kind": "Policy",
                  "metadata": Object {
                    "annotations": Object {
                      "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST\\"},\\"name\\":\\"policy-ma\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"policy-templates\\":[{\\"objectDefinition\\":{\\"apiVersion\\":\\"policies.ibm.com/v1alpha1\\",\\"kind\\":\\"MutationPolicy\\",\\"metadata\\":{\\"label\\":{\\"category\\":\\"System-Integrity\\"},\\"name\\":\\"mutation-policy-example\\"},\\"spec\\":{\\"conditions\\":{\\"ownership\\":[\\"ReplicaSet\\",\\"Deployment\\",\\"DeamonSet\\",\\"ReplicationController\\"]},\\"namespaceSelector\\":{\\"exclude\\":[\\"kube-system\\"],\\"include\\":[\\"default\\",\\"kube-*\\"]},\\"remediationAction\\":\\"enforce\\"}}}],\\"remediationAction\\":\\"enforce\\"}}
",
                      "policy.open-cluster-management.io/categories": "SystemAndInformationIntegrity",
                      "policy.open-cluster-management.io/controls": "MutationAdvisor",
                      "policy.open-cluster-management.io/standards": "NIST",
                      "seed-generation": "1",
                    },
                    "creationTimestamp": "2019-07-16T13:18:48Z",
                    "finalizers": Array [
                      "propagator.finalizer.mcm.ibm.com",
                    ],
                    "generation": 45,
                    "name": "policy-ma",
                    "namespace": "mcm",
                    "resourceVersion": "1347579",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-ma",
                    "uid": "3f218d45-a7cc-11e9-8a41-005056a061f1",
                  },
                  "spec": Object {
                    "namespaces": Object {},
                    "policy-templates": Array [
                      Object {
                        "objectDefinition": Object {
                          "apiVersion": "policies.ibm.com/v1alpha1",
                          "kind": "MutationPolicy",
                          "metadata": Object {
                            "label": Object {
                              "category": "System-Integrity",
                            },
                            "name": "mutation-policy-example",
                          },
                          "spec": Object {
                            "conditions": Object {
                              "ownership": Array [
                                "ReplicaSet",
                                "Deployment",
                                "DeamonSet",
                                "ReplicationController",
                              ],
                            },
                            "namespaceSelector": Object {
                              "exclude": Array [
                                "kube-system",
                              ],
                              "include": Array [
                                "default",
                                "kube-*",
                              ],
                            },
                            "remediationAction": "enforce",
                          },
                        },
                        "status": Object {
                          "Validity": Object {},
                        },
                      },
                    ],
                    "remediationAction": "enforce",
                  },
                  "status": Object {
                    "placement": Array [
                      Object {
                        "placementBinding": "binding-ma",
                        "placementRule": "placement-ma",
                      },
                    ],
                    "status": Object {
                      "cluster1": Object {
                        "aggregatePoliciesStatus": Object {
                          "policy-ma": Object {
                            "compliant": "NonCompliant",
                          },
                        },
                        "clustername": "cluster1",
                        "compliant": "NonCompliant",
                      },
                      "clusterhub": Object {
                        "aggregatePoliciesStatus": Object {
                          "policy-ma": Object {
                            "compliant": "Compliant",
                          },
                        },
                        "clustername": "clusterhub",
                        "compliant": "Compliant",
                      },
                    },
                  },
                },
                "remediation": "enforce",
                "subItems": Array [
                  Object {
                    "items": Array [
                      "binding-ma",
                    ],
                    "name": "policy.pb",
                  },
                  Object {
                    "items": Array [
                      "placement-ma",
                    ],
                    "name": "policy.pp",
                  },
                ],
              },
              Object {
                "__typename": "Compliance",
                "clusterCompliant": "1/2",
                "metadata": Object {
                  "__typename": "Metadata",
                  "annotations": Object {
                    "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
                    "policy.open-cluster-management.io/controls": "MutationAdvisor,CertificateManager",
                    "policy.open-cluster-management.io/standards": "NIST,HIPAA",
                    "seed-generation": "1",
                  },
                  "name": "policy-pod",
                  "namespace": "mcm",
                  "resourceVersion": "1257026",
                  "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-pod",
                },
                "name": "policy-pod",
                "namespace": "mcm",
                "placementBindings": Array [
                  Object {
                    "__typename": "PlacementBinding",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "binding-pod",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-pod",
                    },
                  },
                ],
                "placementPolicies": Array [
                  Object {
                    "__typename": "PlacementPolicy",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "placement-pod",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-pod",
                    },
                  },
                ],
                "policyCompliant": "1/2",
                "raw": Object {
                  "apiVersion": "policy.open-cluster-management.io/v1",
                  "kind": "Policy",
                  "metadata": Object {
                    "annotations": Object {
                      "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
                      "policy.open-cluster-management.io/controls": "MutationAdvisor,CertificateManager",
                      "policy.open-cluster-management.io/standards": "NIST,HIPAA",
                      "seed-generation": "1",
                    },
                    "creationTimestamp": "2019-07-16T13:16:46Z",
                    "finalizers": Array [
                      "propagator.finalizer.mcm.ibm.com",
                    ],
                    "generation": 19,
                    "name": "policy-pod",
                    "namespace": "mcm",
                    "resourceVersion": "1257026",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-pod",
                    "uid": "f61a25eb-a7cb-11e9-8a41-005056a061f1",
                  },
                  "spec": Object {
                    "complianceType": "musthave",
                    "namespaces": Object {
                      "exclude": Array [
                        "kube*",
                      ],
                      "include": Array [
                        "default",
                      ],
                    },
                    "object-templates": Array [
                      Object {
                        "complianceType": "musthave",
                        "objectDefinition": Object {
                          "apiVersion": "v1",
                          "kind": "Pod",
                          "metadata": Object {
                            "name": "nginx-pod",
                          },
                          "spec": Object {
                            "containers": Array [
                              Object {
                                "image": "nginx:1.7.9",
                                "name": "nginx",
                                "ports": Array [
                                  Object {
                                    "containerPort": 80,
                                  },
                                ],
                              },
                            ],
                          },
                        },
                        "status": Object {
                          "Validity": Object {},
                        },
                      },
                    ],
                    "remediationAction": "inform",
                  },
                  "status": Object {
                    "placement": Array [
                      Object {
                        "placementBinding": "binding-pod",
                        "placementRule": "placement-pod",
                      },
                    ],
                    "status": Object {
                      "cluster1": Object {
                        "aggregatePoliciesStatus": Object {
                          "policy-pod": Object {
                            "compliant": "Compliant",
                          },
                        },
                        "clustername": "cluster1",
                        "compliant": "Compliant",
                      },
                      "clusterhub": Object {
                        "aggregatePoliciesStatus": Object {
                          "policy-pod": Object {
                            "compliant": "NonCompliant",
                          },
                        },
                        "clustername": "clusterhub",
                        "compliant": "NonCompliant",
                      },
                    },
                  },
                },
                "remediation": "inform",
                "subItems": Array [
                  Object {
                    "items": Array [
                      "binding-pod",
                    ],
                    "name": "policy.pb",
                  },
                  Object {
                    "items": Array [
                      "placement-pod",
                    ],
                    "name": "policy.pp",
                  },
                ],
              },
              Object {
                "__typename": "Compliance",
                "clusterCompliant": "1/2",
                "metadata": Object {
                  "__typename": "Metadata",
                  "annotations": Object {
                    "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndCommunicationsProtections,SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor,VA\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST,HIPAA\\"},\\"name\\":\\"policy-role\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"namespaces\\":{\\"exclude\\":[\\"kube*\\"],\\"include\\":[\\"default\\"]},\\"remediationAction\\":\\"inform\\",\\"role-templates\\":[{\\"apiVersion\\":\\"roletemplate.mcm.ibm.com/v1alpha1\\",\\"complianceType\\":\\"musthave\\",\\"metadata\\":{\\"name\\":\\"operator-role-policy\\",\\"namespace\\":\\"\\"},\\"rules\\":[{\\"complianceType\\":\\"musthave\\",\\"policyRule\\":{\\"apiGroups\\":[\\"extensions\\",\\"apps\\"],\\"resources\\":[\\"deployments\\"],\\"verbs\\":[\\"get\\",\\"list\\",\\"watch\\",\\"create\\",\\"delete\\",\\"patch\\"]}}],\\"selector\\":{\\"matchLabels\\":{\\"dev\\":\\"true\\"}}}]}}
",
                    "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
                    "policy.open-cluster-management.io/controls": "MutationAdvisor,VA",
                    "policy.open-cluster-management.io/standards": "NIST,HIPAA",
                    "seed-generation": "1",
                  },
                  "name": "policy-role",
                  "namespace": "mcm",
                  "resourceVersion": "1201118",
                  "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-role",
                },
                "name": "policy-role",
                "namespace": "mcm",
                "placementBindings": Array [
                  Object {
                    "__typename": "PlacementBinding",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "binding-role",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-role",
                    },
                  },
                ],
                "placementPolicies": Array [
                  Object {
                    "__typename": "PlacementPolicy",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "placement-role",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-role",
                    },
                  },
                ],
                "policyCompliant": "1/2",
                "raw": Object {
                  "apiVersion": "policy.open-cluster-management.io/v1",
                  "kind": "Policy",
                  "metadata": Object {
                    "annotations": Object {
                      "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndCommunicationsProtections,SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor,VA\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST,HIPAA\\"},\\"name\\":\\"policy-role\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"namespaces\\":{\\"exclude\\":[\\"kube*\\"],\\"include\\":[\\"default\\"]},\\"remediationAction\\":\\"inform\\",\\"role-templates\\":[{\\"apiVersion\\":\\"roletemplate.mcm.ibm.com/v1alpha1\\",\\"complianceType\\":\\"musthave\\",\\"metadata\\":{\\"name\\":\\"operator-role-policy\\",\\"namespace\\":\\"\\"},\\"rules\\":[{\\"complianceType\\":\\"musthave\\",\\"policyRule\\":{\\"apiGroups\\":[\\"extensions\\",\\"apps\\"],\\"resources\\":[\\"deployments\\"],\\"verbs\\":[\\"get\\",\\"list\\",\\"watch\\",\\"create\\",\\"delete\\",\\"patch\\"]}}],\\"selector\\":{\\"matchLabels\\":{\\"dev\\":\\"true\\"}}}]}}
",
                      "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
                      "policy.open-cluster-management.io/controls": "MutationAdvisor,VA",
                      "policy.open-cluster-management.io/standards": "NIST,HIPAA",
                      "seed-generation": "1",
                    },
                    "creationTimestamp": "2019-07-16T13:19:03Z",
                    "finalizers": Array [
                      "propagator.finalizer.mcm.ibm.com",
                    ],
                    "generation": 16,
                    "name": "policy-role",
                    "namespace": "mcm",
                    "resourceVersion": "1201118",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-role",
                    "uid": "47dbc091-a7cc-11e9-8a41-005056a061f1",
                  },
                  "spec": Object {
                    "namespaces": Object {
                      "exclude": Array [
                        "kube*",
                      ],
                      "include": Array [
                        "default",
                      ],
                    },
                    "remediationAction": "inform",
                    "role-templates": Array [
                      Object {
                        "apiVersion": "roletemplate.mcm.ibm.com/v1alpha1",
                        "complianceType": "musthave",
                        "metadata": Object {
                          "creationTimestamp": null,
                          "name": "operator-role-policy",
                        },
                        "rules": Array [
                          Object {
                            "complianceType": "musthave",
                            "policyRule": Object {
                              "apiGroups": Array [
                                "extensions",
                                "apps",
                              ],
                              "resources": Array [
                                "deployments",
                              ],
                              "verbs": Array [
                                "get",
                                "list",
                                "watch",
                                "create",
                                "delete",
                                "patch",
                              ],
                            },
                          },
                        ],
                        "selector": Object {
                          "matchLabels": Object {
                            "dev": "true",
                          },
                        },
                        "status": Object {
                          "Validity": Object {},
                        },
                      },
                    ],
                  },
                  "status": Object {
                    "placement": Array [
                      Object {
                        "placementBinding": "binding-role",
                        "placementRule": "placement-role",
                      },
                    ],
                    "status": Object {
                      "cluster1": Object {
                        "aggregatePoliciesStatus": Object {
                          "policy-role": Object {
                            "compliant": "Compliant",
                          },
                        },
                        "clustername": "cluster1",
                        "compliant": "Compliant",
                      },
                      "clusterhub": Object {
                        "aggregatePoliciesStatus": Object {
                          "policy-role": Object {
                            "compliant": "NonCompliant",
                          },
                        },
                        "clustername": "clusterhub",
                        "compliant": "NonCompliant",
                      },
                    },
                  },
                },
                "remediation": "inform",
                "subItems": Array [
                  Object {
                    "items": Array [
                      "binding-role",
                    ],
                    "name": "policy.pb",
                  },
                  Object {
                    "items": Array [
                      "placement-role",
                    ],
                    "name": "policy.pp",
                  },
                ],
              },
            ]
          }
          locale="en-US"
          placeHolderText="Find policies"
          refreshControl={
            Object {
              "refreshCookie": "grc-refresh-interval-cookie",
              "reloading": false,
              "timestamp": "Tue Jul 23 2019 01:13:42 GMT-0400 (Eastern Daylight Time)",
            }
          }
          resourceType={
            Object {
              "list": "HCMPolicyPolicyList",
              "name": "HCMPolicyPolicy",
            }
          }
          secondaryHeaderProps={
            Object {
              "information": "grc.header.tooltip",
              "links": Array [
                Object {
                  "id": "create-policy",
                  "label": "button.create.policy",
                  "url": "/multicloud/policies/create",
                },
              ],
              "tabs": Array [
                Object {
                  "id": "grc-overview",
                  "index": 0,
                  "label": "tabs.grc.overview",
                  "url": "/multicloud/policies",
                },
                Object {
                  "id": "grc-all",
                  "index": 1,
                  "label": "tabs.grc.all",
                  "url": "/multicloud/policies/all",
                },
                Object {
                  "id": "grc-findings",
                  "index": 2,
                  "label": "tabs.grc.findings",
                  "url": "/multicloud/policies/findings",
                },
              ],
              "title": "routes.grc",
            }
          }
          showApplications={false}
          showGrcTabToggle={true}
          showSidePanel={false}
          staticResourceData={
            Object {
              "defaultSortField": "metadata.name",
              "policyViolatedSidePanel": Object {
                "headerRows": Array [
                  "",
                  "table.header.cluster.name",
                  "table.header.rule.violation",
                  "",
                ],
                "rows": Array [
                  Object {
                    "cells": Array [
                      Object {
                        "resourceKey": "metadata.name",
                      },
                      Object {
                        "resourceKey": "violated",
                      },
                      Object {
                        "resourceKey": "status.consoleURL",
                        "transformFunction": [Function],
                      },
                    ],
                  },
                ],
                "subHeaders": Array [
                  "table.header.name",
                  "table.header.message",
                  "table.header.timestamp",
                ],
              },
              "primaryKey": "metadata.name",
              "secondaryKey": "metadata.namespace",
              "tableActions": Array [
                "table.actions.edit",
                "table.actions.disable",
                "table.actions.enforce",
                "table.actions.remove",
              ],
              "tableKeys": Array [
                Object {
                  "msgKey": "table.header.policy.name",
                  "resourceKey": "metadata.name",
                  "transformFunction": [Function],
                },
                Object {
                  "msgKey": "table.header.namespace",
                  "resourceKey": "namespace",
                },
                Object {
                  "information": "grc.remediation.tooltip",
                  "msgKey": "table.header.remediation",
                  "resourceKey": "remediation",
                },
                Object {
                  "msgKey": "table.header.cluster.violation",
                  "resourceKey": "clusterCompliant",
                  "transformFunction": [Function],
                },
                Object {
                  "msgKey": "table.header.standards",
                  "resourceKey": "metadata.annotations[\\"policy.open-cluster-management.io/standards\\"]",
                  "transformFunction": [Function],
                },
                Object {
                  "msgKey": "table.header.categories",
                  "resourceKey": "metadata.annotations[\\"policy.open-cluster-management.io/categories\\"]",
                  "transformFunction": [Function],
                },
                Object {
                  "msgKey": "table.header.controls",
                  "resourceKey": "metadata.annotations[\\"policy.open-cluster-management.io/controls\\"]",
                  "transformFunction": [Function],
                },
              ],
            }
          }
          tabs={
            Array [
              Object {
                "id": "grc-overview",
                "index": 0,
                "label": "tabs.grc.overview",
                "url": "/multicloud/policies",
              },
              Object {
                "id": "grc-all",
                "index": 1,
                "label": "tabs.grc.all",
                "url": "/multicloud/policies/all",
              },
              Object {
                "id": "grc-findings",
                "index": 2,
                "label": "tabs.grc.findings",
                "url": "/multicloud/policies/findings",
              },
            ]
          }
          title="routes.grc"
          topButton={
            <div
              className="module-toggle-tab-switch-strip"
            >
              <div
                className="module-toggle-tab-switch-makeup"
              />
              <div
                className="module-toggle-tab-switch"
              />
            </div>
          }
        >
          <div
            className="module-toggle-tab-switch-strip"
          >
            <div
              className="module-toggle-tab-switch-makeup"
            />
            <div
              className="module-toggle-tab-switch"
            />
          </div>
        </withRouter(Connect(ResourceList))>
      </div>,
      "_rendering": false,
      "_updater": [Circular],
      "_workInProgressHook": null,
    },
  },
}
`;

exports[`GrcToggle view without application renders expand as expected 2`] = `
GrcToggleModule {
  "context": Object {},
  "props": Object {
    "grcItems": Array [
      Object {
        "__typename": "Compliance",
        "clusterCompliant": "0/2",
        "metadata": Object {
          "__typename": "Metadata",
          "annotations": Object {
            "policy.open-cluster-management.io/categories": "",
            "policy.open-cluster-management.io/controls": "",
            "policy.open-cluster-management.io/standards": "",
            "seed-generation": "1",
          },
          "name": "my-policy",
          "namespace": "mcm",
          "resourceVersion": "1347399",
          "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/my-policy",
        },
        "name": "my-policy",
        "namespace": "mcm",
        "placementBindings": Array [
          Object {
            "__typename": "PlacementBinding",
            "metadata": Object {
              "__typename": "Metadata",
              "name": "binding-my-policy",
              "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-my-policy",
            },
          },
        ],
        "placementPolicies": Array [
          Object {
            "__typename": "PlacementPolicy",
            "metadata": Object {
              "__typename": "Metadata",
              "name": "placement-my-policy",
              "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-my-policy",
            },
          },
        ],
        "policyCompliant": "0/2",
        "raw": Object {
          "apiVersion": "policy.open-cluster-management.io/v1",
          "kind": "Policy",
          "metadata": Object {
            "annotations": Object {
              "policy.open-cluster-management.io/categories": "",
              "policy.open-cluster-management.io/controls": "",
              "policy.open-cluster-management.io/standards": "",
              "seed-generation": "1",
            },
            "creationTimestamp": "2019-07-21T15:53:58Z",
            "finalizers": Array [
              "propagator.finalizer.mcm.ibm.com",
            ],
            "generation": 55,
            "name": "my-policy",
            "namespace": "mcm",
            "resourceVersion": "1347399",
            "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/my-policy",
            "uid": "c049ec0d-abcf-11e9-8a41-005056a061f1",
          },
          "spec": Object {
            "complianceType": "musthave",
            "namespaces": Object {
              "exclude": Array [
                "kube-*",
              ],
              "include": Array [
                "default",
              ],
            },
            "object-templates": Array [
              Object {
                "complianceType": "musthave",
                "objectDefinition": Object {
                  "apiVersion": "rbac.authorization.k8s.io/v1",
                  "kind": "RoleBinding",
                  "metadata": Object {
                    "name": "operate-pods-rolebinding",
                  },
                  "roleRef": Object {
                    "apiGroup": "rbac.authorization.k8s.io",
                    "kind": "Role",
                    "name": "operator",
                  },
                  "subjects": Array [
                    Object {
                      "apiGroup": "rbac.authorization.k8s.io",
                      "kind": "User",
                      "name": "admin",
                    },
                  ],
                },
                "status": Object {
                  "Validity": Object {},
                },
              },
            ],
            "remediationAction": "enforce",
          },
          "status": Object {
            "placement": Array [
              Object {
                "placementBinding": "binding-my-policy",
                "placementRule": "placement-my-policy",
              },
            ],
            "status": Object {
              "cluster1": Object {
                "aggregatePoliciesStatus": Object {
                  "my-policy": Object {
                    "compliant": "Compliant",
                  },
                },
                "clustername": "cluster1",
                "compliant": "Compliant",
              },
              "clusterhub": Object {
                "aggregatePoliciesStatus": Object {
                  "my-policy": Object {
                    "compliant": "Compliant",
                  },
                },
                "clustername": "clusterhub",
                "compliant": "Compliant",
              },
            },
          },
        },
        "remediation": "enforce",
      },
      Object {
        "__typename": "Compliance",
        "clusterCompliant": "1/2",
        "metadata": Object {
          "__typename": "Metadata",
          "annotations": Object {
            "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST\\"},\\"name\\":\\"policy-ma\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"policy-templates\\":[{\\"objectDefinition\\":{\\"apiVersion\\":\\"policies.ibm.com/v1alpha1\\",\\"kind\\":\\"MutationPolicy\\",\\"metadata\\":{\\"label\\":{\\"category\\":\\"System-Integrity\\"},\\"name\\":\\"mutation-policy-example\\"},\\"spec\\":{\\"conditions\\":{\\"ownership\\":[\\"ReplicaSet\\",\\"Deployment\\",\\"DeamonSet\\",\\"ReplicationController\\"]},\\"namespaceSelector\\":{\\"exclude\\":[\\"kube-system\\"],\\"include\\":[\\"default\\",\\"kube-*\\"]},\\"remediationAction\\":\\"enforce\\"}}}],\\"remediationAction\\":\\"enforce\\"}}
",
            "policy.open-cluster-management.io/categories": "SystemAndInformationIntegrity",
            "policy.open-cluster-management.io/controls": "MutationAdvisor",
            "policy.open-cluster-management.io/standards": "NIST",
            "seed-generation": "1",
          },
          "name": "policy-ma",
          "namespace": "mcm",
          "resourceVersion": "1347579",
          "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-ma",
        },
        "name": "policy-ma",
        "namespace": "mcm",
        "placementBindings": Array [
          Object {
            "__typename": "PlacementBinding",
            "metadata": Object {
              "__typename": "Metadata",
              "name": "binding-ma",
              "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-ma",
            },
          },
        ],
        "placementPolicies": Array [
          Object {
            "__typename": "PlacementPolicy",
            "metadata": Object {
              "__typename": "Metadata",
              "name": "placement-ma",
              "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-ma",
            },
          },
        ],
        "policyCompliant": "1/2",
        "raw": Object {
          "apiVersion": "policy.open-cluster-management.io/v1",
          "kind": "Policy",
          "metadata": Object {
            "annotations": Object {
              "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST\\"},\\"name\\":\\"policy-ma\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"policy-templates\\":[{\\"objectDefinition\\":{\\"apiVersion\\":\\"policies.ibm.com/v1alpha1\\",\\"kind\\":\\"MutationPolicy\\",\\"metadata\\":{\\"label\\":{\\"category\\":\\"System-Integrity\\"},\\"name\\":\\"mutation-policy-example\\"},\\"spec\\":{\\"conditions\\":{\\"ownership\\":[\\"ReplicaSet\\",\\"Deployment\\",\\"DeamonSet\\",\\"ReplicationController\\"]},\\"namespaceSelector\\":{\\"exclude\\":[\\"kube-system\\"],\\"include\\":[\\"default\\",\\"kube-*\\"]},\\"remediationAction\\":\\"enforce\\"}}}],\\"remediationAction\\":\\"enforce\\"}}
",
              "policy.open-cluster-management.io/categories": "SystemAndInformationIntegrity",
              "policy.open-cluster-management.io/controls": "MutationAdvisor",
              "policy.open-cluster-management.io/standards": "NIST",
              "seed-generation": "1",
            },
            "creationTimestamp": "2019-07-16T13:18:48Z",
            "finalizers": Array [
              "propagator.finalizer.mcm.ibm.com",
            ],
            "generation": 45,
            "name": "policy-ma",
            "namespace": "mcm",
            "resourceVersion": "1347579",
            "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-ma",
            "uid": "3f218d45-a7cc-11e9-8a41-005056a061f1",
          },
          "spec": Object {
            "namespaces": Object {},
            "policy-templates": Array [
              Object {
                "objectDefinition": Object {
                  "apiVersion": "policies.ibm.com/v1alpha1",
                  "kind": "MutationPolicy",
                  "metadata": Object {
                    "label": Object {
                      "category": "System-Integrity",
                    },
                    "name": "mutation-policy-example",
                  },
                  "spec": Object {
                    "conditions": Object {
                      "ownership": Array [
                        "ReplicaSet",
                        "Deployment",
                        "DeamonSet",
                        "ReplicationController",
                      ],
                    },
                    "namespaceSelector": Object {
                      "exclude": Array [
                        "kube-system",
                      ],
                      "include": Array [
                        "default",
                        "kube-*",
                      ],
                    },
                    "remediationAction": "enforce",
                  },
                },
                "status": Object {
                  "Validity": Object {},
                },
              },
            ],
            "remediationAction": "enforce",
          },
          "status": Object {
            "placement": Array [
              Object {
                "placementBinding": "binding-ma",
                "placementRule": "placement-ma",
              },
            ],
            "status": Object {
              "cluster1": Object {
                "aggregatePoliciesStatus": Object {
                  "policy-ma": Object {
                    "compliant": "NonCompliant",
                  },
                },
                "clustername": "cluster1",
                "compliant": "NonCompliant",
              },
              "clusterhub": Object {
                "aggregatePoliciesStatus": Object {
                  "policy-ma": Object {
                    "compliant": "Compliant",
                  },
                },
                "clustername": "clusterhub",
                "compliant": "Compliant",
              },
            },
          },
        },
        "remediation": "enforce",
      },
      Object {
        "__typename": "Compliance",
        "clusterCompliant": "1/2",
        "metadata": Object {
          "__typename": "Metadata",
          "annotations": Object {
            "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
            "policy.open-cluster-management.io/controls": "MutationAdvisor,CertificateManager",
            "policy.open-cluster-management.io/standards": "NIST,HIPAA",
            "seed-generation": "1",
          },
          "name": "policy-pod",
          "namespace": "mcm",
          "resourceVersion": "1257026",
          "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-pod",
        },
        "name": "policy-pod",
        "namespace": "mcm",
        "placementBindings": Array [
          Object {
            "__typename": "PlacementBinding",
            "metadata": Object {
              "__typename": "Metadata",
              "name": "binding-pod",
              "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-pod",
            },
          },
        ],
        "placementPolicies": Array [
          Object {
            "__typename": "PlacementPolicy",
            "metadata": Object {
              "__typename": "Metadata",
              "name": "placement-pod",
              "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-pod",
            },
          },
        ],
        "policyCompliant": "1/2",
        "raw": Object {
          "apiVersion": "policy.open-cluster-management.io/v1",
          "kind": "Policy",
          "metadata": Object {
            "annotations": Object {
              "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
              "policy.open-cluster-management.io/controls": "MutationAdvisor,CertificateManager",
              "policy.open-cluster-management.io/standards": "NIST,HIPAA",
              "seed-generation": "1",
            },
            "creationTimestamp": "2019-07-16T13:16:46Z",
            "finalizers": Array [
              "propagator.finalizer.mcm.ibm.com",
            ],
            "generation": 19,
            "name": "policy-pod",
            "namespace": "mcm",
            "resourceVersion": "1257026",
            "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-pod",
            "uid": "f61a25eb-a7cb-11e9-8a41-005056a061f1",
          },
          "spec": Object {
            "complianceType": "musthave",
            "namespaces": Object {
              "exclude": Array [
                "kube*",
              ],
              "include": Array [
                "default",
              ],
            },
            "object-templates": Array [
              Object {
                "complianceType": "musthave",
                "objectDefinition": Object {
                  "apiVersion": "v1",
                  "kind": "Pod",
                  "metadata": Object {
                    "name": "nginx-pod",
                  },
                  "spec": Object {
                    "containers": Array [
                      Object {
                        "image": "nginx:1.7.9",
                        "name": "nginx",
                        "ports": Array [
                          Object {
                            "containerPort": 80,
                          },
                        ],
                      },
                    ],
                  },
                },
                "status": Object {
                  "Validity": Object {},
                },
              },
            ],
            "remediationAction": "inform",
          },
          "status": Object {
            "placement": Array [
              Object {
                "placementBinding": "binding-pod",
                "placementRule": "placement-pod",
              },
            ],
            "status": Object {
              "cluster1": Object {
                "aggregatePoliciesStatus": Object {
                  "policy-pod": Object {
                    "compliant": "Compliant",
                  },
                },
                "clustername": "cluster1",
                "compliant": "Compliant",
              },
              "clusterhub": Object {
                "aggregatePoliciesStatus": Object {
                  "policy-pod": Object {
                    "compliant": "NonCompliant",
                  },
                },
                "clustername": "clusterhub",
                "compliant": "NonCompliant",
              },
            },
          },
        },
        "remediation": "inform",
      },
      Object {
        "__typename": "Compliance",
        "clusterCompliant": "1/2",
        "metadata": Object {
          "__typename": "Metadata",
          "annotations": Object {
            "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndCommunicationsProtections,SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor,VA\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST,HIPAA\\"},\\"name\\":\\"policy-role\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"namespaces\\":{\\"exclude\\":[\\"kube*\\"],\\"include\\":[\\"default\\"]},\\"remediationAction\\":\\"inform\\",\\"role-templates\\":[{\\"apiVersion\\":\\"roletemplate.mcm.ibm.com/v1alpha1\\",\\"complianceType\\":\\"musthave\\",\\"metadata\\":{\\"name\\":\\"operator-role-policy\\",\\"namespace\\":\\"\\"},\\"rules\\":[{\\"complianceType\\":\\"musthave\\",\\"policyRule\\":{\\"apiGroups\\":[\\"extensions\\",\\"apps\\"],\\"resources\\":[\\"deployments\\"],\\"verbs\\":[\\"get\\",\\"list\\",\\"watch\\",\\"create\\",\\"delete\\",\\"patch\\"]}}],\\"selector\\":{\\"matchLabels\\":{\\"dev\\":\\"true\\"}}}]}}
",
            "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
            "policy.open-cluster-management.io/controls": "MutationAdvisor,VA",
            "policy.open-cluster-management.io/standards": "NIST,HIPAA",
            "seed-generation": "1",
          },
          "name": "policy-role",
          "namespace": "mcm",
          "resourceVersion": "1201118",
          "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-role",
        },
        "name": "policy-role",
        "namespace": "mcm",
        "placementBindings": Array [
          Object {
            "__typename": "PlacementBinding",
            "metadata": Object {
              "__typename": "Metadata",
              "name": "binding-role",
              "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-role",
            },
          },
        ],
        "placementPolicies": Array [
          Object {
            "__typename": "PlacementPolicy",
            "metadata": Object {
              "__typename": "Metadata",
              "name": "placement-role",
              "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-role",
            },
          },
        ],
        "policyCompliant": "1/2",
        "raw": Object {
          "apiVersion": "policy.open-cluster-management.io/v1",
          "kind": "Policy",
          "metadata": Object {
            "annotations": Object {
              "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndCommunicationsProtections,SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor,VA\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST,HIPAA\\"},\\"name\\":\\"policy-role\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"namespaces\\":{\\"exclude\\":[\\"kube*\\"],\\"include\\":[\\"default\\"]},\\"remediationAction\\":\\"inform\\",\\"role-templates\\":[{\\"apiVersion\\":\\"roletemplate.mcm.ibm.com/v1alpha1\\",\\"complianceType\\":\\"musthave\\",\\"metadata\\":{\\"name\\":\\"operator-role-policy\\",\\"namespace\\":\\"\\"},\\"rules\\":[{\\"complianceType\\":\\"musthave\\",\\"policyRule\\":{\\"apiGroups\\":[\\"extensions\\",\\"apps\\"],\\"resources\\":[\\"deployments\\"],\\"verbs\\":[\\"get\\",\\"list\\",\\"watch\\",\\"create\\",\\"delete\\",\\"patch\\"]}}],\\"selector\\":{\\"matchLabels\\":{\\"dev\\":\\"true\\"}}}]}}
",
              "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
              "policy.open-cluster-management.io/controls": "MutationAdvisor,VA",
              "policy.open-cluster-management.io/standards": "NIST,HIPAA",
              "seed-generation": "1",
            },
            "creationTimestamp": "2019-07-16T13:19:03Z",
            "finalizers": Array [
              "propagator.finalizer.mcm.ibm.com",
            ],
            "generation": 16,
            "name": "policy-role",
            "namespace": "mcm",
            "resourceVersion": "1201118",
            "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-role",
            "uid": "47dbc091-a7cc-11e9-8a41-005056a061f1",
          },
          "spec": Object {
            "namespaces": Object {
              "exclude": Array [
                "kube*",
              ],
              "include": Array [
                "default",
              ],
            },
            "remediationAction": "inform",
            "role-templates": Array [
              Object {
                "apiVersion": "roletemplate.mcm.ibm.com/v1alpha1",
                "complianceType": "musthave",
                "metadata": Object {
                  "creationTimestamp": null,
                  "name": "operator-role-policy",
                },
                "rules": Array [
                  Object {
                    "complianceType": "musthave",
                    "policyRule": Object {
                      "apiGroups": Array [
                        "extensions",
                        "apps",
                      ],
                      "resources": Array [
                        "deployments",
                      ],
                      "verbs": Array [
                        "get",
                        "list",
                        "watch",
                        "create",
                        "delete",
                        "patch",
                      ],
                    },
                  },
                ],
                "selector": Object {
                  "matchLabels": Object {
                    "dev": "true",
                  },
                },
                "status": Object {
                  "Validity": Object {},
                },
              },
            ],
          },
          "status": Object {
            "placement": Array [
              Object {
                "placementBinding": "binding-role",
                "placementRule": "placement-role",
              },
            ],
            "status": Object {
              "cluster1": Object {
                "aggregatePoliciesStatus": Object {
                  "policy-role": Object {
                    "compliant": "Compliant",
                  },
                },
                "clustername": "cluster1",
                "compliant": "Compliant",
              },
              "clusterhub": Object {
                "aggregatePoliciesStatus": Object {
                  "policy-role": Object {
                    "compliant": "NonCompliant",
                  },
                },
                "clustername": "clusterhub",
                "compliant": "NonCompliant",
              },
            },
          },
        },
        "remediation": "inform",
      },
    ],
    "grcTabToggleIndex": 0,
    "highLightRowName": "",
    "locale": "en-US",
    "refreshControl": Object {
      "refreshCookie": "grc-refresh-interval-cookie",
      "reloading": false,
      "timestamp": "Tue Jul 23 2019 01:13:42 GMT-0400 (Eastern Daylight Time)",
    },
    "secondaryHeaderProps": Object {
      "information": "grc.header.tooltip",
      "links": Array [
        Object {
          "id": "create-policy",
          "label": "button.create.policy",
          "url": "/multicloud/policies/create",
        },
      ],
      "tabs": Array [
        Object {
          "id": "grc-overview",
          "index": 0,
          "label": "tabs.grc.overview",
          "url": "/multicloud/policies",
        },
        Object {
          "id": "grc-all",
          "index": 1,
          "label": "tabs.grc.all",
          "url": "/multicloud/policies/all",
        },
        Object {
          "id": "grc-findings",
          "index": 2,
          "label": "tabs.grc.findings",
          "url": "/multicloud/policies/findings",
        },
      ],
      "title": "routes.grc",
    },
    "showApplications": false,
    "showGrcTabToggle": false,
    "showSidePanel": false,
  },
  "refs": Object {},
  "setState": [Function],
  "state": null,
  "toggleClick": [Function],
  "updater": Updater {
    "_callbacks": Array [],
    "_renderer": ReactShallowRenderer {
      "_context": Object {},
      "_didScheduleRenderPhaseUpdate": false,
      "_dispatcher": Object {
        "readContext": [Function],
        "useCallback": [Function],
        "useContext": [Function],
        "useDebugValue": [Function],
        "useDeferredValue": [Function],
        "useEffect": [Function],
        "useImperativeHandle": [Function],
        "useLayoutEffect": [Function],
        "useMemo": [Function],
        "useReducer": [Function],
        "useRef": [Function],
        "useResponder": [Function],
        "useState": [Function],
        "useTransition": [Function],
      },
      "_element": <GrcToggleModule
        grcItems={
          Array [
            Object {
              "__typename": "Compliance",
              "clusterCompliant": "0/2",
              "metadata": Object {
                "__typename": "Metadata",
                "annotations": Object {
                  "policy.open-cluster-management.io/categories": "",
                  "policy.open-cluster-management.io/controls": "",
                  "policy.open-cluster-management.io/standards": "",
                  "seed-generation": "1",
                },
                "name": "my-policy",
                "namespace": "mcm",
                "resourceVersion": "1347399",
                "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/my-policy",
              },
              "name": "my-policy",
              "namespace": "mcm",
              "placementBindings": Array [
                Object {
                  "__typename": "PlacementBinding",
                  "metadata": Object {
                    "__typename": "Metadata",
                    "name": "binding-my-policy",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-my-policy",
                  },
                },
              ],
              "placementPolicies": Array [
                Object {
                  "__typename": "PlacementPolicy",
                  "metadata": Object {
                    "__typename": "Metadata",
                    "name": "placement-my-policy",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-my-policy",
                  },
                },
              ],
              "policyCompliant": "0/2",
              "raw": Object {
                "apiVersion": "policy.open-cluster-management.io/v1",
                "kind": "Policy",
                "metadata": Object {
                  "annotations": Object {
                    "policy.open-cluster-management.io/categories": "",
                    "policy.open-cluster-management.io/controls": "",
                    "policy.open-cluster-management.io/standards": "",
                    "seed-generation": "1",
                  },
                  "creationTimestamp": "2019-07-21T15:53:58Z",
                  "finalizers": Array [
                    "propagator.finalizer.mcm.ibm.com",
                  ],
                  "generation": 55,
                  "name": "my-policy",
                  "namespace": "mcm",
                  "resourceVersion": "1347399",
                  "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/my-policy",
                  "uid": "c049ec0d-abcf-11e9-8a41-005056a061f1",
                },
                "spec": Object {
                  "complianceType": "musthave",
                  "namespaces": Object {
                    "exclude": Array [
                      "kube-*",
                    ],
                    "include": Array [
                      "default",
                    ],
                  },
                  "object-templates": Array [
                    Object {
                      "complianceType": "musthave",
                      "objectDefinition": Object {
                        "apiVersion": "rbac.authorization.k8s.io/v1",
                        "kind": "RoleBinding",
                        "metadata": Object {
                          "name": "operate-pods-rolebinding",
                        },
                        "roleRef": Object {
                          "apiGroup": "rbac.authorization.k8s.io",
                          "kind": "Role",
                          "name": "operator",
                        },
                        "subjects": Array [
                          Object {
                            "apiGroup": "rbac.authorization.k8s.io",
                            "kind": "User",
                            "name": "admin",
                          },
                        ],
                      },
                      "status": Object {
                        "Validity": Object {},
                      },
                    },
                  ],
                  "remediationAction": "enforce",
                },
                "status": Object {
                  "placement": Array [
                    Object {
                      "placementBinding": "binding-my-policy",
                      "placementRule": "placement-my-policy",
                    },
                  ],
                  "status": Object {
                    "cluster1": Object {
                      "aggregatePoliciesStatus": Object {
                        "my-policy": Object {
                          "compliant": "Compliant",
                        },
                      },
                      "clustername": "cluster1",
                      "compliant": "Compliant",
                    },
                    "clusterhub": Object {
                      "aggregatePoliciesStatus": Object {
                        "my-policy": Object {
                          "compliant": "Compliant",
                        },
                      },
                      "clustername": "clusterhub",
                      "compliant": "Compliant",
                    },
                  },
                },
              },
              "remediation": "enforce",
            },
            Object {
              "__typename": "Compliance",
              "clusterCompliant": "1/2",
              "metadata": Object {
                "__typename": "Metadata",
                "annotations": Object {
                  "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST\\"},\\"name\\":\\"policy-ma\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"policy-templates\\":[{\\"objectDefinition\\":{\\"apiVersion\\":\\"policies.ibm.com/v1alpha1\\",\\"kind\\":\\"MutationPolicy\\",\\"metadata\\":{\\"label\\":{\\"category\\":\\"System-Integrity\\"},\\"name\\":\\"mutation-policy-example\\"},\\"spec\\":{\\"conditions\\":{\\"ownership\\":[\\"ReplicaSet\\",\\"Deployment\\",\\"DeamonSet\\",\\"ReplicationController\\"]},\\"namespaceSelector\\":{\\"exclude\\":[\\"kube-system\\"],\\"include\\":[\\"default\\",\\"kube-*\\"]},\\"remediationAction\\":\\"enforce\\"}}}],\\"remediationAction\\":\\"enforce\\"}}
",
                  "policy.open-cluster-management.io/categories": "SystemAndInformationIntegrity",
                  "policy.open-cluster-management.io/controls": "MutationAdvisor",
                  "policy.open-cluster-management.io/standards": "NIST",
                  "seed-generation": "1",
                },
                "name": "policy-ma",
                "namespace": "mcm",
                "resourceVersion": "1347579",
                "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-ma",
              },
              "name": "policy-ma",
              "namespace": "mcm",
              "placementBindings": Array [
                Object {
                  "__typename": "PlacementBinding",
                  "metadata": Object {
                    "__typename": "Metadata",
                    "name": "binding-ma",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-ma",
                  },
                },
              ],
              "placementPolicies": Array [
                Object {
                  "__typename": "PlacementPolicy",
                  "metadata": Object {
                    "__typename": "Metadata",
                    "name": "placement-ma",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-ma",
                  },
                },
              ],
              "policyCompliant": "1/2",
              "raw": Object {
                "apiVersion": "policy.open-cluster-management.io/v1",
                "kind": "Policy",
                "metadata": Object {
                  "annotations": Object {
                    "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST\\"},\\"name\\":\\"policy-ma\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"policy-templates\\":[{\\"objectDefinition\\":{\\"apiVersion\\":\\"policies.ibm.com/v1alpha1\\",\\"kind\\":\\"MutationPolicy\\",\\"metadata\\":{\\"label\\":{\\"category\\":\\"System-Integrity\\"},\\"name\\":\\"mutation-policy-example\\"},\\"spec\\":{\\"conditions\\":{\\"ownership\\":[\\"ReplicaSet\\",\\"Deployment\\",\\"DeamonSet\\",\\"ReplicationController\\"]},\\"namespaceSelector\\":{\\"exclude\\":[\\"kube-system\\"],\\"include\\":[\\"default\\",\\"kube-*\\"]},\\"remediationAction\\":\\"enforce\\"}}}],\\"remediationAction\\":\\"enforce\\"}}
",
                    "policy.open-cluster-management.io/categories": "SystemAndInformationIntegrity",
                    "policy.open-cluster-management.io/controls": "MutationAdvisor",
                    "policy.open-cluster-management.io/standards": "NIST",
                    "seed-generation": "1",
                  },
                  "creationTimestamp": "2019-07-16T13:18:48Z",
                  "finalizers": Array [
                    "propagator.finalizer.mcm.ibm.com",
                  ],
                  "generation": 45,
                  "name": "policy-ma",
                  "namespace": "mcm",
                  "resourceVersion": "1347579",
                  "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-ma",
                  "uid": "3f218d45-a7cc-11e9-8a41-005056a061f1",
                },
                "spec": Object {
                  "namespaces": Object {},
                  "policy-templates": Array [
                    Object {
                      "objectDefinition": Object {
                        "apiVersion": "policies.ibm.com/v1alpha1",
                        "kind": "MutationPolicy",
                        "metadata": Object {
                          "label": Object {
                            "category": "System-Integrity",
                          },
                          "name": "mutation-policy-example",
                        },
                        "spec": Object {
                          "conditions": Object {
                            "ownership": Array [
                              "ReplicaSet",
                              "Deployment",
                              "DeamonSet",
                              "ReplicationController",
                            ],
                          },
                          "namespaceSelector": Object {
                            "exclude": Array [
                              "kube-system",
                            ],
                            "include": Array [
                              "default",
                              "kube-*",
                            ],
                          },
                          "remediationAction": "enforce",
                        },
                      },
                      "status": Object {
                        "Validity": Object {},
                      },
                    },
                  ],
                  "remediationAction": "enforce",
                },
                "status": Object {
                  "placement": Array [
                    Object {
                      "placementBinding": "binding-ma",
                      "placementRule": "placement-ma",
                    },
                  ],
                  "status": Object {
                    "cluster1": Object {
                      "aggregatePoliciesStatus": Object {
                        "policy-ma": Object {
                          "compliant": "NonCompliant",
                        },
                      },
                      "clustername": "cluster1",
                      "compliant": "NonCompliant",
                    },
                    "clusterhub": Object {
                      "aggregatePoliciesStatus": Object {
                        "policy-ma": Object {
                          "compliant": "Compliant",
                        },
                      },
                      "clustername": "clusterhub",
                      "compliant": "Compliant",
                    },
                  },
                },
              },
              "remediation": "enforce",
            },
            Object {
              "__typename": "Compliance",
              "clusterCompliant": "1/2",
              "metadata": Object {
                "__typename": "Metadata",
                "annotations": Object {
                  "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
                  "policy.open-cluster-management.io/controls": "MutationAdvisor,CertificateManager",
                  "policy.open-cluster-management.io/standards": "NIST,HIPAA",
                  "seed-generation": "1",
                },
                "name": "policy-pod",
                "namespace": "mcm",
                "resourceVersion": "1257026",
                "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-pod",
              },
              "name": "policy-pod",
              "namespace": "mcm",
              "placementBindings": Array [
                Object {
                  "__typename": "PlacementBinding",
                  "metadata": Object {
                    "__typename": "Metadata",
                    "name": "binding-pod",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-pod",
                  },
                },
              ],
              "placementPolicies": Array [
                Object {
                  "__typename": "PlacementPolicy",
                  "metadata": Object {
                    "__typename": "Metadata",
                    "name": "placement-pod",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-pod",
                  },
                },
              ],
              "policyCompliant": "1/2",
              "raw": Object {
                "apiVersion": "policy.open-cluster-management.io/v1",
                "kind": "Policy",
                "metadata": Object {
                  "annotations": Object {
                    "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
                    "policy.open-cluster-management.io/controls": "MutationAdvisor,CertificateManager",
                    "policy.open-cluster-management.io/standards": "NIST,HIPAA",
                    "seed-generation": "1",
                  },
                  "creationTimestamp": "2019-07-16T13:16:46Z",
                  "finalizers": Array [
                    "propagator.finalizer.mcm.ibm.com",
                  ],
                  "generation": 19,
                  "name": "policy-pod",
                  "namespace": "mcm",
                  "resourceVersion": "1257026",
                  "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-pod",
                  "uid": "f61a25eb-a7cb-11e9-8a41-005056a061f1",
                },
                "spec": Object {
                  "complianceType": "musthave",
                  "namespaces": Object {
                    "exclude": Array [
                      "kube*",
                    ],
                    "include": Array [
                      "default",
                    ],
                  },
                  "object-templates": Array [
                    Object {
                      "complianceType": "musthave",
                      "objectDefinition": Object {
                        "apiVersion": "v1",
                        "kind": "Pod",
                        "metadata": Object {
                          "name": "nginx-pod",
                        },
                        "spec": Object {
                          "containers": Array [
                            Object {
                              "image": "nginx:1.7.9",
                              "name": "nginx",
                              "ports": Array [
                                Object {
                                  "containerPort": 80,
                                },
                              ],
                            },
                          ],
                        },
                      },
                      "status": Object {
                        "Validity": Object {},
                      },
                    },
                  ],
                  "remediationAction": "inform",
                },
                "status": Object {
                  "placement": Array [
                    Object {
                      "placementBinding": "binding-pod",
                      "placementRule": "placement-pod",
                    },
                  ],
                  "status": Object {
                    "cluster1": Object {
                      "aggregatePoliciesStatus": Object {
                        "policy-pod": Object {
                          "compliant": "Compliant",
                        },
                      },
                      "clustername": "cluster1",
                      "compliant": "Compliant",
                    },
                    "clusterhub": Object {
                      "aggregatePoliciesStatus": Object {
                        "policy-pod": Object {
                          "compliant": "NonCompliant",
                        },
                      },
                      "clustername": "clusterhub",
                      "compliant": "NonCompliant",
                    },
                  },
                },
              },
              "remediation": "inform",
            },
            Object {
              "__typename": "Compliance",
              "clusterCompliant": "1/2",
              "metadata": Object {
                "__typename": "Metadata",
                "annotations": Object {
                  "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndCommunicationsProtections,SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor,VA\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST,HIPAA\\"},\\"name\\":\\"policy-role\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"namespaces\\":{\\"exclude\\":[\\"kube*\\"],\\"include\\":[\\"default\\"]},\\"remediationAction\\":\\"inform\\",\\"role-templates\\":[{\\"apiVersion\\":\\"roletemplate.mcm.ibm.com/v1alpha1\\",\\"complianceType\\":\\"musthave\\",\\"metadata\\":{\\"name\\":\\"operator-role-policy\\",\\"namespace\\":\\"\\"},\\"rules\\":[{\\"complianceType\\":\\"musthave\\",\\"policyRule\\":{\\"apiGroups\\":[\\"extensions\\",\\"apps\\"],\\"resources\\":[\\"deployments\\"],\\"verbs\\":[\\"get\\",\\"list\\",\\"watch\\",\\"create\\",\\"delete\\",\\"patch\\"]}}],\\"selector\\":{\\"matchLabels\\":{\\"dev\\":\\"true\\"}}}]}}
",
                  "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
                  "policy.open-cluster-management.io/controls": "MutationAdvisor,VA",
                  "policy.open-cluster-management.io/standards": "NIST,HIPAA",
                  "seed-generation": "1",
                },
                "name": "policy-role",
                "namespace": "mcm",
                "resourceVersion": "1201118",
                "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-role",
              },
              "name": "policy-role",
              "namespace": "mcm",
              "placementBindings": Array [
                Object {
                  "__typename": "PlacementBinding",
                  "metadata": Object {
                    "__typename": "Metadata",
                    "name": "binding-role",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-role",
                  },
                },
              ],
              "placementPolicies": Array [
                Object {
                  "__typename": "PlacementPolicy",
                  "metadata": Object {
                    "__typename": "Metadata",
                    "name": "placement-role",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-role",
                  },
                },
              ],
              "policyCompliant": "1/2",
              "raw": Object {
                "apiVersion": "policy.open-cluster-management.io/v1",
                "kind": "Policy",
                "metadata": Object {
                  "annotations": Object {
                    "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndCommunicationsProtections,SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor,VA\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST,HIPAA\\"},\\"name\\":\\"policy-role\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"namespaces\\":{\\"exclude\\":[\\"kube*\\"],\\"include\\":[\\"default\\"]},\\"remediationAction\\":\\"inform\\",\\"role-templates\\":[{\\"apiVersion\\":\\"roletemplate.mcm.ibm.com/v1alpha1\\",\\"complianceType\\":\\"musthave\\",\\"metadata\\":{\\"name\\":\\"operator-role-policy\\",\\"namespace\\":\\"\\"},\\"rules\\":[{\\"complianceType\\":\\"musthave\\",\\"policyRule\\":{\\"apiGroups\\":[\\"extensions\\",\\"apps\\"],\\"resources\\":[\\"deployments\\"],\\"verbs\\":[\\"get\\",\\"list\\",\\"watch\\",\\"create\\",\\"delete\\",\\"patch\\"]}}],\\"selector\\":{\\"matchLabels\\":{\\"dev\\":\\"true\\"}}}]}}
",
                    "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
                    "policy.open-cluster-management.io/controls": "MutationAdvisor,VA",
                    "policy.open-cluster-management.io/standards": "NIST,HIPAA",
                    "seed-generation": "1",
                  },
                  "creationTimestamp": "2019-07-16T13:19:03Z",
                  "finalizers": Array [
                    "propagator.finalizer.mcm.ibm.com",
                  ],
                  "generation": 16,
                  "name": "policy-role",
                  "namespace": "mcm",
                  "resourceVersion": "1201118",
                  "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-role",
                  "uid": "47dbc091-a7cc-11e9-8a41-005056a061f1",
                },
                "spec": Object {
                  "namespaces": Object {
                    "exclude": Array [
                      "kube*",
                    ],
                    "include": Array [
                      "default",
                    ],
                  },
                  "remediationAction": "inform",
                  "role-templates": Array [
                    Object {
                      "apiVersion": "roletemplate.mcm.ibm.com/v1alpha1",
                      "complianceType": "musthave",
                      "metadata": Object {
                        "creationTimestamp": null,
                        "name": "operator-role-policy",
                      },
                      "rules": Array [
                        Object {
                          "complianceType": "musthave",
                          "policyRule": Object {
                            "apiGroups": Array [
                              "extensions",
                              "apps",
                            ],
                            "resources": Array [
                              "deployments",
                            ],
                            "verbs": Array [
                              "get",
                              "list",
                              "watch",
                              "create",
                              "delete",
                              "patch",
                            ],
                          },
                        },
                      ],
                      "selector": Object {
                        "matchLabels": Object {
                          "dev": "true",
                        },
                      },
                      "status": Object {
                        "Validity": Object {},
                      },
                    },
                  ],
                },
                "status": Object {
                  "placement": Array [
                    Object {
                      "placementBinding": "binding-role",
                      "placementRule": "placement-role",
                    },
                  ],
                  "status": Object {
                    "cluster1": Object {
                      "aggregatePoliciesStatus": Object {
                        "policy-role": Object {
                          "compliant": "Compliant",
                        },
                      },
                      "clustername": "cluster1",
                      "compliant": "Compliant",
                    },
                    "clusterhub": Object {
                      "aggregatePoliciesStatus": Object {
                        "policy-role": Object {
                          "compliant": "NonCompliant",
                        },
                      },
                      "clustername": "clusterhub",
                      "compliant": "NonCompliant",
                    },
                  },
                },
              },
              "remediation": "inform",
            },
          ]
        }
        grcTabToggleIndex={0}
        highLightRowName=""
        locale="en-US"
        refreshControl={
          Object {
            "refreshCookie": "grc-refresh-interval-cookie",
            "reloading": false,
            "timestamp": "Tue Jul 23 2019 01:13:42 GMT-0400 (Eastern Daylight Time)",
          }
        }
        secondaryHeaderProps={
          Object {
            "information": "grc.header.tooltip",
            "links": Array [
              Object {
                "id": "create-policy",
                "label": "button.create.policy",
                "url": "/multicloud/policies/create",
              },
            ],
            "tabs": Array [
              Object {
                "id": "grc-overview",
                "index": 0,
                "label": "tabs.grc.overview",
                "url": "/multicloud/policies",
              },
              Object {
                "id": "grc-all",
                "index": 1,
                "label": "tabs.grc.all",
                "url": "/multicloud/policies/all",
              },
              Object {
                "id": "grc-findings",
                "index": 2,
                "label": "tabs.grc.findings",
                "url": "/multicloud/policies/findings",
              },
            ],
            "title": "routes.grc",
          }
        }
        showApplications={false}
        showGrcTabToggle={false}
        showSidePanel={false}
      />,
      "_firstWorkInProgressHook": null,
      "_forcedUpdate": false,
      "_instance": [Circular],
      "_isReRender": false,
      "_newState": null,
      "_numberOfReRenders": 0,
      "_renderPhaseUpdates": null,
      "_rendered": <div
        className="module-toggle-tab"
      >
        <withRouter(Connect(ResourceList))
          autoAction="table.actions.policy.sidepanel"
          detailsTabs={
            Array [
              "policies",
            ]
          }
          getVisibleResources={[Function]}
          grcItems={
            Array [
              Object {
                "__typename": "Compliance",
                "clusterCompliant": "0/2",
                "metadata": Object {
                  "__typename": "Metadata",
                  "annotations": Object {
                    "policy.open-cluster-management.io/categories": "",
                    "policy.open-cluster-management.io/controls": "",
                    "policy.open-cluster-management.io/standards": "",
                    "seed-generation": "1",
                  },
                  "name": "my-policy",
                  "namespace": "mcm",
                  "resourceVersion": "1347399",
                  "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/my-policy",
                },
                "name": "my-policy",
                "namespace": "mcm",
                "placementBindings": Array [
                  Object {
                    "__typename": "PlacementBinding",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "binding-my-policy",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-my-policy",
                    },
                  },
                ],
                "placementPolicies": Array [
                  Object {
                    "__typename": "PlacementPolicy",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "placement-my-policy",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-my-policy",
                    },
                  },
                ],
                "policyCompliant": "0/2",
                "raw": Object {
                  "apiVersion": "policy.open-cluster-management.io/v1",
                  "kind": "Policy",
                  "metadata": Object {
                    "annotations": Object {
                      "policy.open-cluster-management.io/categories": "",
                      "policy.open-cluster-management.io/controls": "",
                      "policy.open-cluster-management.io/standards": "",
                      "seed-generation": "1",
                    },
                    "creationTimestamp": "2019-07-21T15:53:58Z",
                    "finalizers": Array [
                      "propagator.finalizer.mcm.ibm.com",
                    ],
                    "generation": 55,
                    "name": "my-policy",
                    "namespace": "mcm",
                    "resourceVersion": "1347399",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/my-policy",
                    "uid": "c049ec0d-abcf-11e9-8a41-005056a061f1",
                  },
                  "spec": Object {
                    "complianceType": "musthave",
                    "namespaces": Object {
                      "exclude": Array [
                        "kube-*",
                      ],
                      "include": Array [
                        "default",
                      ],
                    },
                    "object-templates": Array [
                      Object {
                        "complianceType": "musthave",
                        "objectDefinition": Object {
                          "apiVersion": "rbac.authorization.k8s.io/v1",
                          "kind": "RoleBinding",
                          "metadata": Object {
                            "name": "operate-pods-rolebinding",
                          },
                          "roleRef": Object {
                            "apiGroup": "rbac.authorization.k8s.io",
                            "kind": "Role",
                            "name": "operator",
                          },
                          "subjects": Array [
                            Object {
                              "apiGroup": "rbac.authorization.k8s.io",
                              "kind": "User",
                              "name": "admin",
                            },
                          ],
                        },
                        "status": Object {
                          "Validity": Object {},
                        },
                      },
                    ],
                    "remediationAction": "enforce",
                  },
                  "status": Object {
                    "placement": Array [
                      Object {
                        "placementBinding": "binding-my-policy",
                        "placementRule": "placement-my-policy",
                      },
                    ],
                    "status": Object {
                      "cluster1": Object {
                        "aggregatePoliciesStatus": Object {
                          "my-policy": Object {
                            "compliant": "Compliant",
                          },
                        },
                        "clustername": "cluster1",
                        "compliant": "Compliant",
                      },
                      "clusterhub": Object {
                        "aggregatePoliciesStatus": Object {
                          "my-policy": Object {
                            "compliant": "Compliant",
                          },
                        },
                        "clustername": "clusterhub",
                        "compliant": "Compliant",
                      },
                    },
                  },
                },
                "remediation": "enforce",
              },
              Object {
                "__typename": "Compliance",
                "clusterCompliant": "1/2",
                "metadata": Object {
                  "__typename": "Metadata",
                  "annotations": Object {
                    "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST\\"},\\"name\\":\\"policy-ma\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"policy-templates\\":[{\\"objectDefinition\\":{\\"apiVersion\\":\\"policies.ibm.com/v1alpha1\\",\\"kind\\":\\"MutationPolicy\\",\\"metadata\\":{\\"label\\":{\\"category\\":\\"System-Integrity\\"},\\"name\\":\\"mutation-policy-example\\"},\\"spec\\":{\\"conditions\\":{\\"ownership\\":[\\"ReplicaSet\\",\\"Deployment\\",\\"DeamonSet\\",\\"ReplicationController\\"]},\\"namespaceSelector\\":{\\"exclude\\":[\\"kube-system\\"],\\"include\\":[\\"default\\",\\"kube-*\\"]},\\"remediationAction\\":\\"enforce\\"}}}],\\"remediationAction\\":\\"enforce\\"}}
",
                    "policy.open-cluster-management.io/categories": "SystemAndInformationIntegrity",
                    "policy.open-cluster-management.io/controls": "MutationAdvisor",
                    "policy.open-cluster-management.io/standards": "NIST",
                    "seed-generation": "1",
                  },
                  "name": "policy-ma",
                  "namespace": "mcm",
                  "resourceVersion": "1347579",
                  "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-ma",
                },
                "name": "policy-ma",
                "namespace": "mcm",
                "placementBindings": Array [
                  Object {
                    "__typename": "PlacementBinding",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "binding-ma",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-ma",
                    },
                  },
                ],
                "placementPolicies": Array [
                  Object {
                    "__typename": "PlacementPolicy",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "placement-ma",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-ma",
                    },
                  },
                ],
                "policyCompliant": "1/2",
                "raw": Object {
                  "apiVersion": "policy.open-cluster-management.io/v1",
                  "kind": "Policy",
                  "metadata": Object {
                    "annotations": Object {
                      "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST\\"},\\"name\\":\\"policy-ma\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"policy-templates\\":[{\\"objectDefinition\\":{\\"apiVersion\\":\\"policies.ibm.com/v1alpha1\\",\\"kind\\":\\"MutationPolicy\\",\\"metadata\\":{\\"label\\":{\\"category\\":\\"System-Integrity\\"},\\"name\\":\\"mutation-policy-example\\"},\\"spec\\":{\\"conditions\\":{\\"ownership\\":[\\"ReplicaSet\\",\\"Deployment\\",\\"DeamonSet\\",\\"ReplicationController\\"]},\\"namespaceSelector\\":{\\"exclude\\":[\\"kube-system\\"],\\"include\\":[\\"default\\",\\"kube-*\\"]},\\"remediationAction\\":\\"enforce\\"}}}],\\"remediationAction\\":\\"enforce\\"}}
",
                      "policy.open-cluster-management.io/categories": "SystemAndInformationIntegrity",
                      "policy.open-cluster-management.io/controls": "MutationAdvisor",
                      "policy.open-cluster-management.io/standards": "NIST",
                      "seed-generation": "1",
                    },
                    "creationTimestamp": "2019-07-16T13:18:48Z",
                    "finalizers": Array [
                      "propagator.finalizer.mcm.ibm.com",
                    ],
                    "generation": 45,
                    "name": "policy-ma",
                    "namespace": "mcm",
                    "resourceVersion": "1347579",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-ma",
                    "uid": "3f218d45-a7cc-11e9-8a41-005056a061f1",
                  },
                  "spec": Object {
                    "namespaces": Object {},
                    "policy-templates": Array [
                      Object {
                        "objectDefinition": Object {
                          "apiVersion": "policies.ibm.com/v1alpha1",
                          "kind": "MutationPolicy",
                          "metadata": Object {
                            "label": Object {
                              "category": "System-Integrity",
                            },
                            "name": "mutation-policy-example",
                          },
                          "spec": Object {
                            "conditions": Object {
                              "ownership": Array [
                                "ReplicaSet",
                                "Deployment",
                                "DeamonSet",
                                "ReplicationController",
                              ],
                            },
                            "namespaceSelector": Object {
                              "exclude": Array [
                                "kube-system",
                              ],
                              "include": Array [
                                "default",
                                "kube-*",
                              ],
                            },
                            "remediationAction": "enforce",
                          },
                        },
                        "status": Object {
                          "Validity": Object {},
                        },
                      },
                    ],
                    "remediationAction": "enforce",
                  },
                  "status": Object {
                    "placement": Array [
                      Object {
                        "placementBinding": "binding-ma",
                        "placementRule": "placement-ma",
                      },
                    ],
                    "status": Object {
                      "cluster1": Object {
                        "aggregatePoliciesStatus": Object {
                          "policy-ma": Object {
                            "compliant": "NonCompliant",
                          },
                        },
                        "clustername": "cluster1",
                        "compliant": "NonCompliant",
                      },
                      "clusterhub": Object {
                        "aggregatePoliciesStatus": Object {
                          "policy-ma": Object {
                            "compliant": "Compliant",
                          },
                        },
                        "clustername": "clusterhub",
                        "compliant": "Compliant",
                      },
                    },
                  },
                },
                "remediation": "enforce",
              },
              Object {
                "__typename": "Compliance",
                "clusterCompliant": "1/2",
                "metadata": Object {
                  "__typename": "Metadata",
                  "annotations": Object {
                    "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
                    "policy.open-cluster-management.io/controls": "MutationAdvisor,CertificateManager",
                    "policy.open-cluster-management.io/standards": "NIST,HIPAA",
                    "seed-generation": "1",
                  },
                  "name": "policy-pod",
                  "namespace": "mcm",
                  "resourceVersion": "1257026",
                  "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-pod",
                },
                "name": "policy-pod",
                "namespace": "mcm",
                "placementBindings": Array [
                  Object {
                    "__typename": "PlacementBinding",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "binding-pod",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-pod",
                    },
                  },
                ],
                "placementPolicies": Array [
                  Object {
                    "__typename": "PlacementPolicy",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "placement-pod",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-pod",
                    },
                  },
                ],
                "policyCompliant": "1/2",
                "raw": Object {
                  "apiVersion": "policy.open-cluster-management.io/v1",
                  "kind": "Policy",
                  "metadata": Object {
                    "annotations": Object {
                      "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
                      "policy.open-cluster-management.io/controls": "MutationAdvisor,CertificateManager",
                      "policy.open-cluster-management.io/standards": "NIST,HIPAA",
                      "seed-generation": "1",
                    },
                    "creationTimestamp": "2019-07-16T13:16:46Z",
                    "finalizers": Array [
                      "propagator.finalizer.mcm.ibm.com",
                    ],
                    "generation": 19,
                    "name": "policy-pod",
                    "namespace": "mcm",
                    "resourceVersion": "1257026",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-pod",
                    "uid": "f61a25eb-a7cb-11e9-8a41-005056a061f1",
                  },
                  "spec": Object {
                    "complianceType": "musthave",
                    "namespaces": Object {
                      "exclude": Array [
                        "kube*",
                      ],
                      "include": Array [
                        "default",
                      ],
                    },
                    "object-templates": Array [
                      Object {
                        "complianceType": "musthave",
                        "objectDefinition": Object {
                          "apiVersion": "v1",
                          "kind": "Pod",
                          "metadata": Object {
                            "name": "nginx-pod",
                          },
                          "spec": Object {
                            "containers": Array [
                              Object {
                                "image": "nginx:1.7.9",
                                "name": "nginx",
                                "ports": Array [
                                  Object {
                                    "containerPort": 80,
                                  },
                                ],
                              },
                            ],
                          },
                        },
                        "status": Object {
                          "Validity": Object {},
                        },
                      },
                    ],
                    "remediationAction": "inform",
                  },
                  "status": Object {
                    "placement": Array [
                      Object {
                        "placementBinding": "binding-pod",
                        "placementRule": "placement-pod",
                      },
                    ],
                    "status": Object {
                      "cluster1": Object {
                        "aggregatePoliciesStatus": Object {
                          "policy-pod": Object {
                            "compliant": "Compliant",
                          },
                        },
                        "clustername": "cluster1",
                        "compliant": "Compliant",
                      },
                      "clusterhub": Object {
                        "aggregatePoliciesStatus": Object {
                          "policy-pod": Object {
                            "compliant": "NonCompliant",
                          },
                        },
                        "clustername": "clusterhub",
                        "compliant": "NonCompliant",
                      },
                    },
                  },
                },
                "remediation": "inform",
              },
              Object {
                "__typename": "Compliance",
                "clusterCompliant": "1/2",
                "metadata": Object {
                  "__typename": "Metadata",
                  "annotations": Object {
                    "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndCommunicationsProtections,SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor,VA\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST,HIPAA\\"},\\"name\\":\\"policy-role\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"namespaces\\":{\\"exclude\\":[\\"kube*\\"],\\"include\\":[\\"default\\"]},\\"remediationAction\\":\\"inform\\",\\"role-templates\\":[{\\"apiVersion\\":\\"roletemplate.mcm.ibm.com/v1alpha1\\",\\"complianceType\\":\\"musthave\\",\\"metadata\\":{\\"name\\":\\"operator-role-policy\\",\\"namespace\\":\\"\\"},\\"rules\\":[{\\"complianceType\\":\\"musthave\\",\\"policyRule\\":{\\"apiGroups\\":[\\"extensions\\",\\"apps\\"],\\"resources\\":[\\"deployments\\"],\\"verbs\\":[\\"get\\",\\"list\\",\\"watch\\",\\"create\\",\\"delete\\",\\"patch\\"]}}],\\"selector\\":{\\"matchLabels\\":{\\"dev\\":\\"true\\"}}}]}}
",
                    "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
                    "policy.open-cluster-management.io/controls": "MutationAdvisor,VA",
                    "policy.open-cluster-management.io/standards": "NIST,HIPAA",
                    "seed-generation": "1",
                  },
                  "name": "policy-role",
                  "namespace": "mcm",
                  "resourceVersion": "1201118",
                  "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-role",
                },
                "name": "policy-role",
                "namespace": "mcm",
                "placementBindings": Array [
                  Object {
                    "__typename": "PlacementBinding",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "binding-role",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-role",
                    },
                  },
                ],
                "placementPolicies": Array [
                  Object {
                    "__typename": "PlacementPolicy",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "placement-role",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-role",
                    },
                  },
                ],
                "policyCompliant": "1/2",
                "raw": Object {
                  "apiVersion": "policy.open-cluster-management.io/v1",
                  "kind": "Policy",
                  "metadata": Object {
                    "annotations": Object {
                      "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndCommunicationsProtections,SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor,VA\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST,HIPAA\\"},\\"name\\":\\"policy-role\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"namespaces\\":{\\"exclude\\":[\\"kube*\\"],\\"include\\":[\\"default\\"]},\\"remediationAction\\":\\"inform\\",\\"role-templates\\":[{\\"apiVersion\\":\\"roletemplate.mcm.ibm.com/v1alpha1\\",\\"complianceType\\":\\"musthave\\",\\"metadata\\":{\\"name\\":\\"operator-role-policy\\",\\"namespace\\":\\"\\"},\\"rules\\":[{\\"complianceType\\":\\"musthave\\",\\"policyRule\\":{\\"apiGroups\\":[\\"extensions\\",\\"apps\\"],\\"resources\\":[\\"deployments\\"],\\"verbs\\":[\\"get\\",\\"list\\",\\"watch\\",\\"create\\",\\"delete\\",\\"patch\\"]}}],\\"selector\\":{\\"matchLabels\\":{\\"dev\\":\\"true\\"}}}]}}
",
                      "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
                      "policy.open-cluster-management.io/controls": "MutationAdvisor,VA",
                      "policy.open-cluster-management.io/standards": "NIST,HIPAA",
                      "seed-generation": "1",
                    },
                    "creationTimestamp": "2019-07-16T13:19:03Z",
                    "finalizers": Array [
                      "propagator.finalizer.mcm.ibm.com",
                    ],
                    "generation": 16,
                    "name": "policy-role",
                    "namespace": "mcm",
                    "resourceVersion": "1201118",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-role",
                    "uid": "47dbc091-a7cc-11e9-8a41-005056a061f1",
                  },
                  "spec": Object {
                    "namespaces": Object {
                      "exclude": Array [
                        "kube*",
                      ],
                      "include": Array [
                        "default",
                      ],
                    },
                    "remediationAction": "inform",
                    "role-templates": Array [
                      Object {
                        "apiVersion": "roletemplate.mcm.ibm.com/v1alpha1",
                        "complianceType": "musthave",
                        "metadata": Object {
                          "creationTimestamp": null,
                          "name": "operator-role-policy",
                        },
                        "rules": Array [
                          Object {
                            "complianceType": "musthave",
                            "policyRule": Object {
                              "apiGroups": Array [
                                "extensions",
                                "apps",
                              ],
                              "resources": Array [
                                "deployments",
                              ],
                              "verbs": Array [
                                "get",
                                "list",
                                "watch",
                                "create",
                                "delete",
                                "patch",
                              ],
                            },
                          },
                        ],
                        "selector": Object {
                          "matchLabels": Object {
                            "dev": "true",
                          },
                        },
                        "status": Object {
                          "Validity": Object {},
                        },
                      },
                    ],
                  },
                  "status": Object {
                    "placement": Array [
                      Object {
                        "placementBinding": "binding-role",
                        "placementRule": "placement-role",
                      },
                    ],
                    "status": Object {
                      "cluster1": Object {
                        "aggregatePoliciesStatus": Object {
                          "policy-role": Object {
                            "compliant": "Compliant",
                          },
                        },
                        "clustername": "cluster1",
                        "compliant": "Compliant",
                      },
                      "clusterhub": Object {
                        "aggregatePoliciesStatus": Object {
                          "policy-role": Object {
                            "compliant": "NonCompliant",
                          },
                        },
                        "clustername": "clusterhub",
                        "compliant": "NonCompliant",
                      },
                    },
                  },
                },
                "remediation": "inform",
              },
            ]
          }
          grcTabToggleIndex={0}
          highLightRowName=""
          information="grc.header.tooltip"
          links={
            Array [
              Object {
                "id": "create-policy",
                "label": "button.create.policy",
                "url": "/multicloud/policies/create",
              },
            ]
          }
          listData={
            Array [
              Object {
                "__typename": "Compliance",
                "clusterCompliant": "0/2",
                "metadata": Object {
                  "__typename": "Metadata",
                  "annotations": Object {
                    "policy.open-cluster-management.io/categories": "",
                    "policy.open-cluster-management.io/controls": "",
                    "policy.open-cluster-management.io/standards": "",
                    "seed-generation": "1",
                  },
                  "name": "my-policy",
                  "namespace": "mcm",
                  "resourceVersion": "1347399",
                  "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/my-policy",
                },
                "name": "my-policy",
                "namespace": "mcm",
                "placementBindings": Array [
                  Object {
                    "__typename": "PlacementBinding",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "binding-my-policy",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-my-policy",
                    },
                  },
                ],
                "placementPolicies": Array [
                  Object {
                    "__typename": "PlacementPolicy",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "placement-my-policy",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-my-policy",
                    },
                  },
                ],
                "policyCompliant": "0/2",
                "raw": Object {
                  "apiVersion": "policy.open-cluster-management.io/v1",
                  "kind": "Policy",
                  "metadata": Object {
                    "annotations": Object {
                      "policy.open-cluster-management.io/categories": "",
                      "policy.open-cluster-management.io/controls": "",
                      "policy.open-cluster-management.io/standards": "",
                      "seed-generation": "1",
                    },
                    "creationTimestamp": "2019-07-21T15:53:58Z",
                    "finalizers": Array [
                      "propagator.finalizer.mcm.ibm.com",
                    ],
                    "generation": 55,
                    "name": "my-policy",
                    "namespace": "mcm",
                    "resourceVersion": "1347399",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/my-policy",
                    "uid": "c049ec0d-abcf-11e9-8a41-005056a061f1",
                  },
                  "spec": Object {
                    "complianceType": "musthave",
                    "namespaces": Object {
                      "exclude": Array [
                        "kube-*",
                      ],
                      "include": Array [
                        "default",
                      ],
                    },
                    "object-templates": Array [
                      Object {
                        "complianceType": "musthave",
                        "objectDefinition": Object {
                          "apiVersion": "rbac.authorization.k8s.io/v1",
                          "kind": "RoleBinding",
                          "metadata": Object {
                            "name": "operate-pods-rolebinding",
                          },
                          "roleRef": Object {
                            "apiGroup": "rbac.authorization.k8s.io",
                            "kind": "Role",
                            "name": "operator",
                          },
                          "subjects": Array [
                            Object {
                              "apiGroup": "rbac.authorization.k8s.io",
                              "kind": "User",
                              "name": "admin",
                            },
                          ],
                        },
                        "status": Object {
                          "Validity": Object {},
                        },
                      },
                    ],
                    "remediationAction": "enforce",
                  },
                  "status": Object {
                    "placement": Array [
                      Object {
                        "placementBinding": "binding-my-policy",
                        "placementRule": "placement-my-policy",
                      },
                    ],
                    "status": Object {
                      "cluster1": Object {
                        "aggregatePoliciesStatus": Object {
                          "my-policy": Object {
                            "compliant": "Compliant",
                          },
                        },
                        "clustername": "cluster1",
                        "compliant": "Compliant",
                      },
                      "clusterhub": Object {
                        "aggregatePoliciesStatus": Object {
                          "my-policy": Object {
                            "compliant": "Compliant",
                          },
                        },
                        "clustername": "clusterhub",
                        "compliant": "Compliant",
                      },
                    },
                  },
                },
                "remediation": "enforce",
                "subItems": Array [
                  Object {
                    "items": Array [
                      "binding-my-policy",
                    ],
                    "name": "policy.pb",
                  },
                  Object {
                    "items": Array [
                      "placement-my-policy",
                    ],
                    "name": "policy.pp",
                  },
                ],
              },
              Object {
                "__typename": "Compliance",
                "clusterCompliant": "1/2",
                "metadata": Object {
                  "__typename": "Metadata",
                  "annotations": Object {
                    "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST\\"},\\"name\\":\\"policy-ma\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"policy-templates\\":[{\\"objectDefinition\\":{\\"apiVersion\\":\\"policies.ibm.com/v1alpha1\\",\\"kind\\":\\"MutationPolicy\\",\\"metadata\\":{\\"label\\":{\\"category\\":\\"System-Integrity\\"},\\"name\\":\\"mutation-policy-example\\"},\\"spec\\":{\\"conditions\\":{\\"ownership\\":[\\"ReplicaSet\\",\\"Deployment\\",\\"DeamonSet\\",\\"ReplicationController\\"]},\\"namespaceSelector\\":{\\"exclude\\":[\\"kube-system\\"],\\"include\\":[\\"default\\",\\"kube-*\\"]},\\"remediationAction\\":\\"enforce\\"}}}],\\"remediationAction\\":\\"enforce\\"}}
",
                    "policy.open-cluster-management.io/categories": "SystemAndInformationIntegrity",
                    "policy.open-cluster-management.io/controls": "MutationAdvisor",
                    "policy.open-cluster-management.io/standards": "NIST",
                    "seed-generation": "1",
                  },
                  "name": "policy-ma",
                  "namespace": "mcm",
                  "resourceVersion": "1347579",
                  "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-ma",
                },
                "name": "policy-ma",
                "namespace": "mcm",
                "placementBindings": Array [
                  Object {
                    "__typename": "PlacementBinding",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "binding-ma",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-ma",
                    },
                  },
                ],
                "placementPolicies": Array [
                  Object {
                    "__typename": "PlacementPolicy",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "placement-ma",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-ma",
                    },
                  },
                ],
                "policyCompliant": "1/2",
                "raw": Object {
                  "apiVersion": "policy.open-cluster-management.io/v1",
                  "kind": "Policy",
                  "metadata": Object {
                    "annotations": Object {
                      "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST\\"},\\"name\\":\\"policy-ma\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"policy-templates\\":[{\\"objectDefinition\\":{\\"apiVersion\\":\\"policies.ibm.com/v1alpha1\\",\\"kind\\":\\"MutationPolicy\\",\\"metadata\\":{\\"label\\":{\\"category\\":\\"System-Integrity\\"},\\"name\\":\\"mutation-policy-example\\"},\\"spec\\":{\\"conditions\\":{\\"ownership\\":[\\"ReplicaSet\\",\\"Deployment\\",\\"DeamonSet\\",\\"ReplicationController\\"]},\\"namespaceSelector\\":{\\"exclude\\":[\\"kube-system\\"],\\"include\\":[\\"default\\",\\"kube-*\\"]},\\"remediationAction\\":\\"enforce\\"}}}],\\"remediationAction\\":\\"enforce\\"}}
",
                      "policy.open-cluster-management.io/categories": "SystemAndInformationIntegrity",
                      "policy.open-cluster-management.io/controls": "MutationAdvisor",
                      "policy.open-cluster-management.io/standards": "NIST",
                      "seed-generation": "1",
                    },
                    "creationTimestamp": "2019-07-16T13:18:48Z",
                    "finalizers": Array [
                      "propagator.finalizer.mcm.ibm.com",
                    ],
                    "generation": 45,
                    "name": "policy-ma",
                    "namespace": "mcm",
                    "resourceVersion": "1347579",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-ma",
                    "uid": "3f218d45-a7cc-11e9-8a41-005056a061f1",
                  },
                  "spec": Object {
                    "namespaces": Object {},
                    "policy-templates": Array [
                      Object {
                        "objectDefinition": Object {
                          "apiVersion": "policies.ibm.com/v1alpha1",
                          "kind": "MutationPolicy",
                          "metadata": Object {
                            "label": Object {
                              "category": "System-Integrity",
                            },
                            "name": "mutation-policy-example",
                          },
                          "spec": Object {
                            "conditions": Object {
                              "ownership": Array [
                                "ReplicaSet",
                                "Deployment",
                                "DeamonSet",
                                "ReplicationController",
                              ],
                            },
                            "namespaceSelector": Object {
                              "exclude": Array [
                                "kube-system",
                              ],
                              "include": Array [
                                "default",
                                "kube-*",
                              ],
                            },
                            "remediationAction": "enforce",
                          },
                        },
                        "status": Object {
                          "Validity": Object {},
                        },
                      },
                    ],
                    "remediationAction": "enforce",
                  },
                  "status": Object {
                    "placement": Array [
                      Object {
                        "placementBinding": "binding-ma",
                        "placementRule": "placement-ma",
                      },
                    ],
                    "status": Object {
                      "cluster1": Object {
                        "aggregatePoliciesStatus": Object {
                          "policy-ma": Object {
                            "compliant": "NonCompliant",
                          },
                        },
                        "clustername": "cluster1",
                        "compliant": "NonCompliant",
                      },
                      "clusterhub": Object {
                        "aggregatePoliciesStatus": Object {
                          "policy-ma": Object {
                            "compliant": "Compliant",
                          },
                        },
                        "clustername": "clusterhub",
                        "compliant": "Compliant",
                      },
                    },
                  },
                },
                "remediation": "enforce",
                "subItems": Array [
                  Object {
                    "items": Array [
                      "binding-ma",
                    ],
                    "name": "policy.pb",
                  },
                  Object {
                    "items": Array [
                      "placement-ma",
                    ],
                    "name": "policy.pp",
                  },
                ],
              },
              Object {
                "__typename": "Compliance",
                "clusterCompliant": "1/2",
                "metadata": Object {
                  "__typename": "Metadata",
                  "annotations": Object {
                    "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
                    "policy.open-cluster-management.io/controls": "MutationAdvisor,CertificateManager",
                    "policy.open-cluster-management.io/standards": "NIST,HIPAA",
                    "seed-generation": "1",
                  },
                  "name": "policy-pod",
                  "namespace": "mcm",
                  "resourceVersion": "1257026",
                  "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-pod",
                },
                "name": "policy-pod",
                "namespace": "mcm",
                "placementBindings": Array [
                  Object {
                    "__typename": "PlacementBinding",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "binding-pod",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-pod",
                    },
                  },
                ],
                "placementPolicies": Array [
                  Object {
                    "__typename": "PlacementPolicy",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "placement-pod",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-pod",
                    },
                  },
                ],
                "policyCompliant": "1/2",
                "raw": Object {
                  "apiVersion": "policy.open-cluster-management.io/v1",
                  "kind": "Policy",
                  "metadata": Object {
                    "annotations": Object {
                      "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
                      "policy.open-cluster-management.io/controls": "MutationAdvisor,CertificateManager",
                      "policy.open-cluster-management.io/standards": "NIST,HIPAA",
                      "seed-generation": "1",
                    },
                    "creationTimestamp": "2019-07-16T13:16:46Z",
                    "finalizers": Array [
                      "propagator.finalizer.mcm.ibm.com",
                    ],
                    "generation": 19,
                    "name": "policy-pod",
                    "namespace": "mcm",
                    "resourceVersion": "1257026",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-pod",
                    "uid": "f61a25eb-a7cb-11e9-8a41-005056a061f1",
                  },
                  "spec": Object {
                    "complianceType": "musthave",
                    "namespaces": Object {
                      "exclude": Array [
                        "kube*",
                      ],
                      "include": Array [
                        "default",
                      ],
                    },
                    "object-templates": Array [
                      Object {
                        "complianceType": "musthave",
                        "objectDefinition": Object {
                          "apiVersion": "v1",
                          "kind": "Pod",
                          "metadata": Object {
                            "name": "nginx-pod",
                          },
                          "spec": Object {
                            "containers": Array [
                              Object {
                                "image": "nginx:1.7.9",
                                "name": "nginx",
                                "ports": Array [
                                  Object {
                                    "containerPort": 80,
                                  },
                                ],
                              },
                            ],
                          },
                        },
                        "status": Object {
                          "Validity": Object {},
                        },
                      },
                    ],
                    "remediationAction": "inform",
                  },
                  "status": Object {
                    "placement": Array [
                      Object {
                        "placementBinding": "binding-pod",
                        "placementRule": "placement-pod",
                      },
                    ],
                    "status": Object {
                      "cluster1": Object {
                        "aggregatePoliciesStatus": Object {
                          "policy-pod": Object {
                            "compliant": "Compliant",
                          },
                        },
                        "clustername": "cluster1",
                        "compliant": "Compliant",
                      },
                      "clusterhub": Object {
                        "aggregatePoliciesStatus": Object {
                          "policy-pod": Object {
                            "compliant": "NonCompliant",
                          },
                        },
                        "clustername": "clusterhub",
                        "compliant": "NonCompliant",
                      },
                    },
                  },
                },
                "remediation": "inform",
                "subItems": Array [
                  Object {
                    "items": Array [
                      "binding-pod",
                    ],
                    "name": "policy.pb",
                  },
                  Object {
                    "items": Array [
                      "placement-pod",
                    ],
                    "name": "policy.pp",
                  },
                ],
              },
              Object {
                "__typename": "Compliance",
                "clusterCompliant": "1/2",
                "metadata": Object {
                  "__typename": "Metadata",
                  "annotations": Object {
                    "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndCommunicationsProtections,SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor,VA\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST,HIPAA\\"},\\"name\\":\\"policy-role\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"namespaces\\":{\\"exclude\\":[\\"kube*\\"],\\"include\\":[\\"default\\"]},\\"remediationAction\\":\\"inform\\",\\"role-templates\\":[{\\"apiVersion\\":\\"roletemplate.mcm.ibm.com/v1alpha1\\",\\"complianceType\\":\\"musthave\\",\\"metadata\\":{\\"name\\":\\"operator-role-policy\\",\\"namespace\\":\\"\\"},\\"rules\\":[{\\"complianceType\\":\\"musthave\\",\\"policyRule\\":{\\"apiGroups\\":[\\"extensions\\",\\"apps\\"],\\"resources\\":[\\"deployments\\"],\\"verbs\\":[\\"get\\",\\"list\\",\\"watch\\",\\"create\\",\\"delete\\",\\"patch\\"]}}],\\"selector\\":{\\"matchLabels\\":{\\"dev\\":\\"true\\"}}}]}}
",
                    "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
                    "policy.open-cluster-management.io/controls": "MutationAdvisor,VA",
                    "policy.open-cluster-management.io/standards": "NIST,HIPAA",
                    "seed-generation": "1",
                  },
                  "name": "policy-role",
                  "namespace": "mcm",
                  "resourceVersion": "1201118",
                  "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-role",
                },
                "name": "policy-role",
                "namespace": "mcm",
                "placementBindings": Array [
                  Object {
                    "__typename": "PlacementBinding",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "binding-role",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementbindings/binding-role",
                    },
                  },
                ],
                "placementPolicies": Array [
                  Object {
                    "__typename": "PlacementPolicy",
                    "metadata": Object {
                      "__typename": "Metadata",
                      "name": "placement-role",
                      "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/placementpolicies/placement-role",
                    },
                  },
                ],
                "policyCompliant": "1/2",
                "raw": Object {
                  "apiVersion": "policy.open-cluster-management.io/v1",
                  "kind": "Policy",
                  "metadata": Object {
                    "annotations": Object {
                      "kubectl.kubernetes.io/last-applied-configuration": "{\\"apiVersion\\":\\"policy.open-cluster-management.io/v1\\",\\"kind\\":\\"Policy\\",\\"metadata\\":{\\"annotations\\":{\\"policy.open-cluster-management.io/categories\\":\\"SystemAndCommunicationsProtections,SystemAndInformationIntegrity\\",\\"policy.open-cluster-management.io/controls\\":\\"MutationAdvisor,VA\\",\\"policy.open-cluster-management.io/standards\\":\\"NIST,HIPAA\\"},\\"name\\":\\"policy-role\\",\\"namespace\\":\\"mcm\\"},\\"spec\\":{\\"namespaces\\":{\\"exclude\\":[\\"kube*\\"],\\"include\\":[\\"default\\"]},\\"remediationAction\\":\\"inform\\",\\"role-templates\\":[{\\"apiVersion\\":\\"roletemplate.mcm.ibm.com/v1alpha1\\",\\"complianceType\\":\\"musthave\\",\\"metadata\\":{\\"name\\":\\"operator-role-policy\\",\\"namespace\\":\\"\\"},\\"rules\\":[{\\"complianceType\\":\\"musthave\\",\\"policyRule\\":{\\"apiGroups\\":[\\"extensions\\",\\"apps\\"],\\"resources\\":[\\"deployments\\"],\\"verbs\\":[\\"get\\",\\"list\\",\\"watch\\",\\"create\\",\\"delete\\",\\"patch\\"]}}],\\"selector\\":{\\"matchLabels\\":{\\"dev\\":\\"true\\"}}}]}}
",
                      "policy.open-cluster-management.io/categories": "SystemAndCommunicationsProtections,SystemAndInformationIntegrity",
                      "policy.open-cluster-management.io/controls": "MutationAdvisor,VA",
                      "policy.open-cluster-management.io/standards": "NIST,HIPAA",
                      "seed-generation": "1",
                    },
                    "creationTimestamp": "2019-07-16T13:19:03Z",
                    "finalizers": Array [
                      "propagator.finalizer.mcm.ibm.com",
                    ],
                    "generation": 16,
                    "name": "policy-role",
                    "namespace": "mcm",
                    "resourceVersion": "1201118",
                    "selfLink": "/apis/policy.open-cluster-management.io/v1/namespaces/mcm/policies/policy-role",
                    "uid": "47dbc091-a7cc-11e9-8a41-005056a061f1",
                  },
                  "spec": Object {
                    "namespaces": Object {
                      "exclude": Array [
                        "kube*",
                      ],
                      "include": Array [
                        "default",
                      ],
                    },
                    "remediationAction": "inform",
                    "role-templates": Array [
                      Object {
                        "apiVersion": "roletemplate.mcm.ibm.com/v1alpha1",
                        "complianceType": "musthave",
                        "metadata": Object {
                          "creationTimestamp": null,
                          "name": "operator-role-policy",
                        },
                        "rules": Array [
                          Object {
                            "complianceType": "musthave",
                            "policyRule": Object {
                              "apiGroups": Array [
                                "extensions",
                                "apps",
                              ],
                              "resources": Array [
                                "deployments",
                              ],
                              "verbs": Array [
                                "get",
                                "list",
                                "watch",
                                "create",
                                "delete",
                                "patch",
                              ],
                            },
                          },
                        ],
                        "selector": Object {
                          "matchLabels": Object {
                            "dev": "true",
                          },
                        },
                        "status": Object {
                          "Validity": Object {},
                        },
                      },
                    ],
                  },
                  "status": Object {
                    "placement": Array [
                      Object {
                        "placementBinding": "binding-role",
                        "placementRule": "placement-role",
                      },
                    ],
                    "status": Object {
                      "cluster1": Object {
                        "aggregatePoliciesStatus": Object {
                          "policy-role": Object {
                            "compliant": "Compliant",
                          },
                        },
                        "clustername": "cluster1",
                        "compliant": "Compliant",
                      },
                      "clusterhub": Object {
                        "aggregatePoliciesStatus": Object {
                          "policy-role": Object {
                            "compliant": "NonCompliant",
                          },
                        },
                        "clustername": "clusterhub",
                        "compliant": "NonCompliant",
                      },
                    },
                  },
                },
                "remediation": "inform",
                "subItems": Array [
                  Object {
                    "items": Array [
                      "binding-role",
                    ],
                    "name": "policy.pb",
                  },
                  Object {
                    "items": Array [
                      "placement-role",
                    ],
                    "name": "policy.pp",
                  },
                ],
              },
            ]
          }
          locale="en-US"
          placeHolderText="Find policies"
          refreshControl={
            Object {
              "refreshCookie": "grc-refresh-interval-cookie",
              "reloading": false,
              "timestamp": "Tue Jul 23 2019 01:13:42 GMT-0400 (Eastern Daylight Time)",
            }
          }
          resourceType={
            Object {
              "list": "HCMPolicyPolicyList",
              "name": "HCMPolicyPolicy",
            }
          }
          secondaryHeaderProps={
            Object {
              "information": "grc.header.tooltip",
              "links": Array [
                Object {
                  "id": "create-policy",
                  "label": "button.create.policy",
                  "url": "/multicloud/policies/create",
                },
              ],
              "tabs": Array [
                Object {
                  "id": "grc-overview",
                  "index": 0,
                  "label": "tabs.grc.overview",
                  "url": "/multicloud/policies",
                },
                Object {
                  "id": "grc-all",
                  "index": 1,
                  "label": "tabs.grc.all",
                  "url": "/multicloud/policies/all",
                },
                Object {
                  "id": "grc-findings",
                  "index": 2,
                  "label": "tabs.grc.findings",
                  "url": "/multicloud/policies/findings",
                },
              ],
              "title": "routes.grc",
            }
          }
          showApplications={false}
          showGrcTabToggle={false}
          showSidePanel={false}
          staticResourceData={
            Object {
              "defaultSortField": "metadata.name",
              "policyViolatedSidePanel": Object {
                "headerRows": Array [
                  "",
                  "table.header.cluster.name",
                  "table.header.rule.violation",
                  "",
                ],
                "rows": Array [
                  Object {
                    "cells": Array [
                      Object {
                        "resourceKey": "metadata.name",
                      },
                      Object {
                        "resourceKey": "violated",
                      },
                      Object {
                        "resourceKey": "status.consoleURL",
                        "transformFunction": [Function],
                      },
                    ],
                  },
                ],
                "subHeaders": Array [
                  "table.header.name",
                  "table.header.message",
                  "table.header.timestamp",
                ],
              },
              "primaryKey": "metadata.name",
              "secondaryKey": "metadata.namespace",
              "tableActions": Array [
                "table.actions.edit",
                "table.actions.disable",
                "table.actions.enforce",
                "table.actions.remove",
              ],
              "tableKeys": Array [
                Object {
                  "msgKey": "table.header.policy.name",
                  "resourceKey": "metadata.name",
                  "transformFunction": [Function],
                },
                Object {
                  "msgKey": "table.header.namespace",
                  "resourceKey": "namespace",
                },
                Object {
                  "information": "grc.remediation.tooltip",
                  "msgKey": "table.header.remediation",
                  "resourceKey": "remediation",
                },
                Object {
                  "msgKey": "table.header.cluster.violation",
                  "resourceKey": "clusterCompliant",
                  "transformFunction": [Function],
                },
                Object {
                  "msgKey": "table.header.standards",
                  "resourceKey": "metadata.annotations[\\"policy.open-cluster-management.io/standards\\"]",
                  "transformFunction": [Function],
                },
                Object {
                  "msgKey": "table.header.categories",
                  "resourceKey": "metadata.annotations[\\"policy.open-cluster-management.io/categories\\"]",
                  "transformFunction": [Function],
                },
                Object {
                  "msgKey": "table.header.controls",
                  "resourceKey": "metadata.annotations[\\"policy.open-cluster-management.io/controls\\"]",
                  "transformFunction": [Function],
                },
              ],
            }
          }
          tabs={
            Array [
              Object {
                "id": "grc-overview",
                "index": 0,
                "label": "tabs.grc.overview",
                "url": "/multicloud/policies",
              },
              Object {
                "id": "grc-all",
                "index": 1,
                "label": "tabs.grc.all",
                "url": "/multicloud/policies/all",
              },
              Object {
                "id": "grc-findings",
                "index": 2,
                "label": "tabs.grc.findings",
                "url": "/multicloud/policies/findings",
              },
            ]
          }
          title="routes.grc"
          topButton={Array []}
        />
      </div>,
      "_rendering": false,
      "_updater": [Circular],
      "_workInProgressHook": null,
    },
  },
}
`;

exports[`GrcView toggleClick renders as expected 1`] = `
<div
  className="module-toggle-tab-switch-strip"
>
  <div
    className="module-toggle-tab-switch-makeup"
  />
  <div
    className="module-toggle-tab-switch"
  >
    <ToggleGroup
      variant="light"
    >
      <ToggleGroupItem
        buttonId="policies-0"
        isSelected={true}
        onChange={[Function]}
      >
        Policies
      </ToggleGroupItem>
      <ToggleGroupItem
        buttonId="cluster-violations-1"
        isSelected={false}
        onChange={[Function]}
      >
        Cluster violations
      </ToggleGroupItem>
      <ToggleGroupItem
        buttonId="applications-2"
        isSelected={false}
        onChange={[Function]}
      >
        Applications
      </ToggleGroupItem>
    </ToggleGroup>
  </div>
</div>
`;

exports[`GrcView toggleClick renders as expected 2`] = `
<div
  className="module-toggle-tab-switch-strip"
>
  <div
    className="module-toggle-tab-switch-makeup"
  />
  <div
    className="module-toggle-tab-switch"
  >
    <ToggleGroup
      variant="light"
    >
      <ToggleGroupItem
        buttonId="policies-0"
        isSelected={false}
        onChange={[Function]}
      >
        Policies
      </ToggleGroupItem>
      <ToggleGroupItem
        buttonId="cluster-violations-1"
        isSelected={true}
        onChange={[Function]}
      >
        Cluster violations
      </ToggleGroupItem>
      <ToggleGroupItem
        buttonId="applications-2"
        isSelected={false}
        onChange={[Function]}
      >
        Applications
      </ToggleGroupItem>
    </ToggleGroup>
  </div>
</div>
`;

exports[`GrcView toggleClick renders as expected 3`] = `
<div
  className="module-toggle-tab-switch-strip"
>
  <div
    className="module-toggle-tab-switch-makeup"
  />
  <div
    className="module-toggle-tab-switch"
  />
</div>
`;

exports[`GrcView toggleClick renders as expected 4`] = `
<div
  className="module-toggle-tab-switch-strip"
>
  <div
    className="module-toggle-tab-switch-makeup"
  />
  <div
    className="module-toggle-tab-switch"
  />
</div>
`;
