-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(dpp): adds rules API data to policies tab
Adds rules from the inspect API to the policies tab. Reworks layout for policies tab content to be grouped by policy type. Signed-off-by: Philipp Rudloff <philipp.rudloff@konghq.com>
- Loading branch information
Philipp Rudloff
committed
Dec 6, 2022
1 parent
9caaedb
commit 3ef5519
Showing
51 changed files
with
1,994 additions
and
1,092 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
# VITE_FAKE_MULTIZONE=true | ||
VITE_FAKE_MULTIZONE=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
{ | ||
"total": 3, | ||
"items": [ | ||
{ | ||
"type": "clientSubset", | ||
"name": "192.168.0.1:80", | ||
"service": "backend", | ||
"policyType": "MeshTrafficPermission", | ||
"subset": { | ||
"kuma.io/service": "client", | ||
"kuma.io/zone": "east" | ||
}, | ||
"conf": { | ||
"action": "DENY" | ||
}, | ||
"origins": [ | ||
{ | ||
"mesh": "default", | ||
"name": "mtp-1" | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "clientSubset", | ||
"name": "192.168.0.1:80", | ||
"service": "backend", | ||
"policyType": "MeshTrafficPermission", | ||
"subset": {}, | ||
"conf": { | ||
"action": "DENY" | ||
}, | ||
"origins": [ | ||
{ | ||
"mesh": "default", | ||
"name": "default" | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "clientSubset", | ||
"name": "192.168.0.1:80", | ||
"service": "backend", | ||
"policyType": "MeshTrafficPermission", | ||
"subset": { | ||
"kuma.io/service": "client", | ||
"kuma.io/zone": "west" | ||
}, | ||
"conf": { | ||
"action": "ALLOW" | ||
}, | ||
"origins": [ | ||
{ | ||
"mesh": "default", | ||
"name": "mtp-1" | ||
}, | ||
{ | ||
"mesh": "default", | ||
"name": "mtp-2" | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "destinationSubset", | ||
"name": "192.168.0.2:8080", | ||
"service": "redis", | ||
"policyType": "MeshAccessLog", | ||
"subset": {}, | ||
"conf": { | ||
"backends": [ | ||
{ | ||
"file": { | ||
"path": "/tmp/access.logs" | ||
} | ||
} | ||
] | ||
}, | ||
"origins": [ | ||
{ | ||
"mesh": "default", | ||
"name": "mal-1" | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "singleItem", | ||
"name": "dataplane", | ||
"service": "", | ||
"policyType": "MeshTrace", | ||
"subset": {}, | ||
"conf": { | ||
"backends": [ | ||
{ | ||
"zipkin": { | ||
"url": "http://zipkin.internal/api/v2/spans" | ||
} | ||
} | ||
], | ||
"tags": null | ||
}, | ||
"origins": [ | ||
{ | ||
"mesh": "default", | ||
"name": "mal-1" | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.