-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
issue 424 : textual output small fix (#426)
* adding new line to textual outputs that did not have (connlist + diff); tests of list with exposure-analysis had new line at the end * add new line if the test was running with --exposure but its result is empty * fix1 * fix2 * md + fixes
- Loading branch information
1 parent
8662620
commit 8cfc3d2
Showing
105 changed files
with
118 additions
and
102 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
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
2 changes: 1 addition & 1 deletion
2
test_outputs/cli/acs-security-demos_focus_workload_ingress-controller_connlist_output.txt
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,2 +1,2 @@ | ||
{ingress-controller} => frontend/asset-cache[Deployment] : TCP 8080 | ||
{ingress-controller} => frontend/webapp[Deployment] : TCP 8080 | ||
{ingress-controller} => frontend/webapp[Deployment] : TCP 8080 |
2 changes: 1 addition & 1 deletion
2
test_outputs/cli/diff_between_onlineboutique_with_pods_severe_error_and_onlineboutique.txt
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,2 +1,2 @@ | ||
Connectivity diff: | ||
diff-type: changed, source: default/frontend-99684f7f8[ReplicaSet], destination: default/adservice-77d5cd745d[ReplicaSet], dir1: TCP 9555, dir2: TCP 8080 | ||
diff-type: changed, source: default/frontend-99684f7f8[ReplicaSet], destination: default/adservice-77d5cd745d[ReplicaSet], dir1: TCP 9555, dir2: TCP 8080 |
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
2 changes: 1 addition & 1 deletion
2
...puts/cli/onlineboutique_workloads_focus_workload_default_emailservice_connlist_output.txt
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 @@ | ||
default/checkoutservice[Deployment] => default/emailservice[Deployment] : TCP 8080 | ||
default/checkoutservice[Deployment] => default/emailservice[Deployment] : TCP 8080 |
2 changes: 1 addition & 1 deletion
2
...uts/cli/onlineboutique_workloads_focus_workload_emailservice_connlist_output.md
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,3 +1,3 @@ | ||
| src | dst | conn | | ||
|-----|-----|------| | ||
| default/checkoutservice[Deployment] | default/emailservice[Deployment] | TCP 8080 | | ||
| default/checkoutservice[Deployment] | default/emailservice[Deployment] | TCP 8080 | |
2 changes: 1 addition & 1 deletion
2
test_outputs/cli/onlineboutique_workloads_focus_workload_emailservice_connlist_output.txt
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 @@ | ||
default/checkoutservice[Deployment] => default/emailservice[Deployment] : TCP 8080 | ||
default/checkoutservice[Deployment] => default/emailservice[Deployment] : TCP 8080 |
2 changes: 1 addition & 1 deletion
2
...onnlist/acs-security-demos-added-workloads_focus_workload_asset-cache_connlist_output.txt
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 @@ | ||
{ingress-controller} => frontend/asset-cache[Deployment] : TCP 8080 | ||
{ingress-controller} => frontend/asset-cache[Deployment] : TCP 8080 |
2 changes: 1 addition & 1 deletion
2
...-security-demos-added-workloads_focus_workload_backend_recommendation_connlist_output.txt
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,4 +1,4 @@ | ||
backend/checkout[Deployment] => backend/recommendation[Deployment] : TCP 8080 | ||
backend/recommendation[Deployment] => backend/catalog[Deployment] : TCP 8080 | ||
backend/reports[Deployment] => backend/recommendation[Deployment] : TCP 8080 | ||
frontend/webapp[Deployment] => backend/recommendation[Deployment] : TCP 8080 | ||
frontend/webapp[Deployment] => backend/recommendation[Deployment] : TCP 8080 |
2 changes: 1 addition & 1 deletion
2
...cs-security-demos-added-workloads_focus_workload_frontend_asset-cache_connlist_output.txt
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 @@ | ||
{ingress-controller} => frontend/asset-cache[Deployment] : TCP 8080 | ||
{ingress-controller} => frontend/asset-cache[Deployment] : TCP 8080 |
2 changes: 1 addition & 1 deletion
2
.../acs-security-demos-added-workloads_focus_workload_ingress-controller_connlist_output.txt
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,4 +1,4 @@ | ||
{ingress-controller} => frontend/asset-cache[Deployment] : TCP 8080 | ||
{ingress-controller} => frontend/blog[Deployment] : TCP 8080 | ||
{ingress-controller} => frontend/webapp[Deployment] : TCP 8080 | ||
{ingress-controller} => zeroday/zeroday[Deployment] : TCP 8080 | ||
{ingress-controller} => zeroday/zeroday[Deployment] : TCP 8080 |
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
2 changes: 1 addition & 1 deletion
2
test_outputs/connlist/acs-security-demos_focus_workload_backend_catalog_exposure_output.txt
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,4 +1,4 @@ | ||
backend/recommendation[Deployment] => backend/catalog[Deployment] : TCP 8080 | ||
backend/reports[Deployment] => backend/catalog[Deployment] : TCP 8080 | ||
|
||
Exposure Analysis Result: | ||
Exposure Analysis Result: |
2 changes: 1 addition & 1 deletion
2
test_outputs/connlist/acs_security_frontend_demos_connlist_output.md
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,2 +1,2 @@ | ||
| src | dst | conn | | ||
|-----|-----|------| | ||
|-----|-----|------| |
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 @@ | ||
|
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
1 change: 1 addition & 0 deletions
1
test_outputs/connlist/exposure_allow_all_in_cluster_test_exposure_output.txt
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
1 change: 1 addition & 0 deletions
1
...tputs/connlist/exposure_test_conn_entire_cluster_with_empty_selectors_exposure_output.txt
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
1 change: 1 addition & 0 deletions
1
test_outputs/connlist/exposure_test_conn_to_all_pods_in_a_new_ns_exposure_output.txt
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
1 change: 1 addition & 0 deletions
1
test_outputs/connlist/exposure_test_different_but_equiv_rules_exposure_output.txt
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
1 change: 1 addition & 0 deletions
1
test_outputs/connlist/exposure_test_egress_with_named_port_exposure_output.txt
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
2 changes: 1 addition & 1 deletion
2
...tputs/connlist/exposure_test_pod_exposed_only_to_representative_peers_connlist_output.txt
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,2 +1,2 @@ | ||
0.0.0.0-255.255.255.255 => hello-world/workload-a[Deployment] : All Connections | ||
hello-world/workload-a[Deployment] => 0.0.0.0-255.255.255.255 : All Connections | ||
hello-world/workload-a[Deployment] => 0.0.0.0-255.255.255.255 : All Connections |
1 change: 1 addition & 0 deletions
1
test_outputs/connlist/exposure_test_real_namespace_without_real_pod_exposure_output.txt
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
1 change: 1 addition & 0 deletions
1
..._outputs/connlist/exposure_test_same_unmatched_rule_in_ingress_egress_exposure_output.txt
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
1 change: 1 addition & 0 deletions
1
test_outputs/connlist/exposure_test_with_multiple_policies_1_exposure_output.txt
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,3 +1,4 @@ | ||
|
||
Exposure Analysis Result: | ||
Ingress Exposure: | ||
hello-world/workload-a[Deployment] <= [namespace with {{Key:env,Operator:In,Values:[env-1 env-2],},{Key:tier,Operator:Exists,Values:[],}}]/[all pods] : All Connections |
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
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
2 changes: 1 addition & 1 deletion
2
test_outputs/connlist/multiple_ingress_objects_with_different_ports_connlist_output.txt
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,3 +1,3 @@ | ||
0.0.0.0-255.255.255.255 => ingressworld/ingress-world-multiple-ports[Deployment] : All Connections | ||
ingressworld/ingress-world-multiple-ports[Deployment] => 0.0.0.0-255.255.255.255 : All Connections | ||
{ingress-controller} => ingressworld/ingress-world-multiple-ports[Deployment] : TCP 8050,8090 | ||
{ingress-controller} => ingressworld/ingress-world-multiple-ports[Deployment] : TCP 8050,8090 |
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.