Skip to content

Commit 0ce0f48

Browse files
authored
remove commands used from report (#629)
1 parent 65942db commit 0ce0f48

24 files changed

Lines changed: 1 addition & 100 deletions

File tree

codebundles/aws-cloudwatch-overused-ec2/runbook.robot

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ Check For Overutilized Ec2 Instances
3636
... The following EC2 instances in ${AWS_DEFAULT_REGION} are classified as over-utilized according to the threshold: ${UTILIZATION_THRESHOLD}:\n\n
3737
RW.Core.Add Pre To Report ${util_metrics.stdout}
3838
${history}= RW.CLI.Pop Shell History
39-
RW.Core.Add Pre To Report Commands Used: ${history}
4039

4140

4241
*** Keywords ***

codebundles/azure-loadbalancer-triage/runbook.robot

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ Check Activity Logs for Azure Load Balancer `${AZ_LB_NAME}`
4141
END
4242
${history}= RW.CLI.Pop Shell History
4343
RW.Core.Add Pre To Report ${activity_logs_report}
44-
RW.Core.Add Pre To Report Commands Used: ${history}
4544

4645

4746
*** Keywords ***

codebundles/curl-gmp-kong-ingress-inspection/runbook.robot

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ Check If Kong Ingress HTTP Error Rate Violates HTTP Error Threshold in GCP Proje
4747
... env=${env}
4848
... secret_file__gcp_credentials=${gcp_credentials}
4949
${history}= RW.CLI.Pop Shell History
50-
RW.Core.Add Pre To Report Commands Used: ${history}
5150
RW.Core.Add Pre To Report HTTP Error Violation & Details:\n${gmp_rsp.stdout}
5251
RW.Core.Add Pre To Report GMP Json Data:\n${gmp_json.stdout}
5352

@@ -82,7 +81,6 @@ Check If Kong Ingress HTTP Request Latency Violates Threshold in GCP Project `${
8281
... next_steps=Troubleshoot Namespace `${namespace_name.stdout}` Services and Application Workloads for HTTP-related errors.
8382
END
8483
${history}= RW.CLI.Pop Shell History
85-
RW.Core.Add Pre To Report Commands Used: ${history}
8684
RW.Core.Add Pre To Report HTTP Request Latency Within Acceptable Parameters:\n${gmp_rsp.stdout}
8785

8886
Check If Kong Ingress Controller Reports Upstream Errors in GCP Project `${GCP_PROJECT_ID}`
@@ -126,7 +124,6 @@ Check If Kong Ingress Controller Reports Upstream Errors in GCP Project `${GCP_P
126124
... next_steps=Investigate upstream service health and Kong ingress controller configuration
127125
END
128126
${history}= RW.CLI.Pop Shell History
129-
RW.Core.Add Pre To Report Commands Used: ${history}
130127
RW.Core.Add Pre To Report Kong Upstream Healthchecks Enabled:\n${gmp_healthchecks_off_rsp.stdout}
131128
RW.Core.Add Pre To Report Kong Upstream Healthcheck Issues:\n${gmp_healthchecks_rsp.stdout}
132129

codebundles/curl-gmp-nginx-ingress-inspection/runbook.robot

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ Fetch Nginx HTTP Errors From GMP for Ingress `${INGRESS_OBJECT_NAME}`
6868
... Kubernetes Ingress Details include: \n${k8s_ingress_details.stdout}
6969
END
7070
${history}= RW.CLI.Pop Shell History
71-
RW.Core.Add Pre To Report Commands Used: ${history}
7271
RW.Core.Add Pre To Report Ingress Info:\n${ingress_info} Ingress Owner:${ingress_owner.stdout}
7372
RW.Core.Add Pre To Report GMP Json Data:\n${gmp_json.stdout}
7473

@@ -82,7 +81,6 @@ Find Owner and Service Health for Ingress `${INGRESS_OBJECT_NAME}`
8281
... show_in_rwl_cheatsheet=true
8382
... render_in_commandlist=true
8483
${history}= RW.CLI.Pop Shell History
85-
RW.Core.Add Pre To Report Commands Used: ${history}
8684
RW.Core.Add Pre To Report Ingress Info:\n${k8s_ingress_details.stdout}
8785

8886
*** Keywords ***

codebundles/curl-http-ok/runbook.robot

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ Check Single HTTP URL
111111
END
112112
END
113113
${history}= RW.CLI.Pop Shell History
114-
RW.Core.Add Pre To Report Commands Used: ${history}
115114

116115
# Add reporting with safe defaults for failed curl commands
117116
IF ${curl_rsp.returncode} == 0

codebundles/dns-health/runbook.robot

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ Check DNS Zone Records
8787
${history}= RW.CLI.Pop Shell History
8888
RW.Core.Add Pre To Report === Task Summary ===
8989
RW.Core.Add Pre To Report DNS zone health check completed for all specified zones.
90-
RW.Core.Add Pre To Report Commands Used: ${history}
9190

9291
Detect Broken Record Resolution
9392
[Documentation] Implements repeated DNS checks for multiple FQDNs to detect resolution failures
@@ -148,7 +147,6 @@ Detect Broken Record Resolution
148147
END
149148

150149
${history}= RW.CLI.Pop Shell History
151-
RW.Core.Add Pre To Report Commands Used: ${history}
152150

153151
Test Forward Lookup Zones
154152
[Documentation] Tests forward lookup zones and conditional forwarders for proper resolution
@@ -219,7 +217,6 @@ Test Forward Lookup Zones
219217
END
220218

221219
${history}= RW.CLI.Pop Shell History
222-
RW.Core.Add Pre To Report Commands Used: ${history}
223220

224221
External Resolution Validation
225222
[Documentation] Tests resolution of multiple public domains through multiple resolvers
@@ -314,7 +311,6 @@ External Resolution Validation
314311
END
315312

316313
${history}= RW.CLI.Pop Shell History
317-
RW.Core.Add Pre To Report Commands Used: ${history}
318314

319315
DNS Latency Check
320316
[Documentation] Tests DNS query latency for configured zones
@@ -401,7 +397,6 @@ DNS Latency Check
401397
END
402398

403399
${history}= RW.CLI.Pop Shell History
404-
RW.Core.Add Pre To Report Commands Used: ${history}
405400

406401
*** Keywords ***
407402
Suite Initialization

codebundles/gcloud-log-inspection/runbook.robot

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,5 +103,4 @@ Inspect GCP Logs For Common Errors in GCP Project `${GCP_PROJECT_ID}`
103103
RW.Core.Add Pre To Report \n\n
104104
RW.Core.Add Pre To Report Full Logs:\n ${rsp.stdout}
105105
${history}= RW.CLI.Pop Shell History
106-
RW.Core.Add Pre To Report Commands Used: ${history}
107106

codebundles/gh-actions-health/runbook.robot

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ Check Recent Workflow Failures Across Specified Repositories
6161
END
6262
${history}= RW.CLI.Pop Shell History
6363
RW.Core.Add Pre To Report Recent Workflow Failures Analysis:\n${workflow_failures.stdout}
64-
RW.Core.Add Pre To Report Commands Used: ${history}
6564

6665
Check Long Running Workflows Across Specified Repositories
6766
[Documentation] Identifies workflows that have been running longer than expected thresholds across the specified repositories
@@ -106,7 +105,6 @@ Check Long Running Workflows Across Specified Repositories
106105
END
107106
${history}= RW.CLI.Pop Shell History
108107
RW.Core.Add Pre To Report Long Running Workflows Analysis:\n${long_running_analysis.stdout}
109-
RW.Core.Add Pre To Report Commands Used: ${history}
110108

111109
Check Repository Health Summary for Specified Repositories
112110
[Documentation] Provides a comprehensive health summary across the specified repositories
@@ -148,7 +146,6 @@ Check Repository Health Summary for Specified Repositories
148146
END
149147
${history}= RW.CLI.Pop Shell History
150148
RW.Core.Add Pre To Report Repository Health Summary:\n${repo_health.stdout}
151-
RW.Core.Add Pre To Report Commands Used: ${history}
152149

153150
Check GitHub Actions Runner Health Across Specified Organizations
154151
[Documentation] Monitors the health and availability of GitHub Actions runners across the specified organizations
@@ -205,7 +202,6 @@ Check GitHub Actions Runner Health Across Specified Organizations
205202
END
206203
${history}= RW.CLI.Pop Shell History
207204
RW.Core.Add Pre To Report Runner Health Analysis:\n${runner_health.stdout}
208-
RW.Core.Add Pre To Report Commands Used: ${history}
209205

210206
Check Security Workflow Status Across Specified Repositories
211207
[Documentation] Monitors security-related workflows and dependency scanning results across the specified repositories
@@ -261,7 +257,6 @@ Check Security Workflow Status Across Specified Repositories
261257
END
262258
${history}= RW.CLI.Pop Shell History
263259
RW.Core.Add Pre To Report Security Workflow Analysis:\n${security_analysis.stdout}
264-
RW.Core.Add Pre To Report Commands Used: ${history}
265260

266261
Check GitHub Actions Billing and Usage Across Specified Organizations
267262
[Documentation] Monitors GitHub Actions usage patterns and potential billing concerns across the specified organizations
@@ -302,7 +297,6 @@ Check GitHub Actions Billing and Usage Across Specified Organizations
302297
END
303298
${history}= RW.CLI.Pop Shell History
304299
RW.Core.Add Pre To Report Billing and Usage Analysis:\n${billing_analysis.stdout}
305-
RW.Core.Add Pre To Report Commands Used: ${history}
306300

307301
Check GitHub API Rate Limits
308302
[Documentation] Monitors GitHub API rate limit usage to prevent throttling during health checks
@@ -342,7 +336,6 @@ Check GitHub API Rate Limits
342336
END
343337
${history}= RW.CLI.Pop Shell History
344338
RW.Core.Add Pre To Report GitHub API Rate Limit Status:\n${rate_limit_check.stdout}
345-
RW.Core.Add Pre To Report Commands Used: ${history}
346339

347340

348341
*** Keywords ***

codebundles/k8s-app-troubleshoot/runbook.robot

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ Get `${CONTAINER_NAME}` Application Logs from Workload `${WORKLOAD_NAME}` in Nam
2828
... secret_file__kubeconfig=${kubeconfig}
2929
RW.Core.Add Pre To Report Workload Logs:\n\n${logs.stdout}
3030
${history}= RW.CLI.Pop Shell History
31-
RW.Core.Add Pre To Report Commands Used: ${history}
3231

3332
Scan `${CONTAINER_NAME}` Application For Misconfigured Environment
3433
[Documentation] Compares codebase to configured infra environment variables and attempts to report missing environment variables in the app
@@ -40,7 +39,6 @@ Scan `${CONTAINER_NAME}` Application For Misconfigured Environment
4039
... secret_file__kubeconfig=${kubeconfig}
4140
${history}= RW.CLI.Pop Shell History
4241
RW.Core.Add Pre To Report Stdout:\n\n${script_run.stdout}
43-
RW.Core.Add Pre To Report Commands Used: ${history}
4442

4543
Tail `${CONTAINER_NAME}` Application Logs For Stacktraces in Workload `${WORKLOAD_NAME}`
4644
[Documentation] Performs an inspection on container logs for exceptions/stacktraces, parsing them and attempts to find relevant source code information

codebundles/k8s-daemonset-healthcheck/runbook.robot

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,6 @@ Inspect DaemonSet Warning Events for `${DAEMONSET_NAME}` in Namespace `${NAMESPA
530530
... observed_at=${issue_timestamp}
531531
${history}= RW.CLI.Pop Shell History
532532
RW.Core.Add Pre To Report Failed to retrieve events:\n\n${events.stderr}
533-
RW.Core.Add Pre To Report Commands Used: ${history}
534533
ELSE
535534
${k8s_daemonset_details}= RW.CLI.Run Cli
536535
... cmd=${KUBERNETES_DISTRIBUTION_BINARY} get daemonset ${DAEMONSET_NAME} -n ${NAMESPACE} --context ${CONTEXT} -o json
@@ -550,7 +549,6 @@ Inspect DaemonSet Warning Events for `${DAEMONSET_NAME}` in Namespace `${NAMESPA
550549
... observed_at=${issue_timestamp}
551550
${history}= RW.CLI.Pop Shell History
552551
RW.Core.Add Pre To Report Failed to retrieve DaemonSet details:\n\n${k8s_daemonset_details.stderr}
553-
RW.Core.Add Pre To Report Commands Used: ${history}
554552
ELSE
555553
${related_resource_recommendations}= RW.K8sHelper.Get Related Resource Recommendations
556554
... k8s_object=${k8s_daemonset_details.stdout}
@@ -671,7 +669,6 @@ Inspect DaemonSet Warning Events for `${DAEMONSET_NAME}` in Namespace `${NAMESPA
671669

672670
${history}= RW.CLI.Pop Shell History
673671
RW.Core.Add Pre To Report ${events.stdout}
674-
RW.Core.Add Pre To Report Commands Used: ${history}
675672
END
676673
END
677674

@@ -698,11 +695,9 @@ Fetch DaemonSet Workload Details For `${DAEMONSET_NAME}` in Namespace `${NAMESPA
698695
... observed_at=${issue_timestamp}
699696
${history}= RW.CLI.Pop Shell History
700697
RW.Core.Add Pre To Report Failed to retrieve DaemonSet manifest:\n\n${daemonset.stderr}
701-
RW.Core.Add Pre To Report Commands Used: ${history}
702698
ELSE
703699
${history}= RW.CLI.Pop Shell History
704700
RW.Core.Add Pre To Report Snapshot of DaemonSet state:\n\n${daemonset.stdout}
705-
RW.Core.Add Pre To Report Commands Used: ${history}
706701
END
707702

708703
Inspect DaemonSet Status for `${DAEMONSET_NAME}` in namespace `${NAMESPACE}`
@@ -739,7 +734,6 @@ Inspect DaemonSet Status for `${DAEMONSET_NAME}` in namespace `${NAMESPACE}`
739734
... observed_at=${issue_timestamp}
740735
${history}= RW.CLI.Pop Shell History
741736
RW.Core.Add Pre To Report Failed to retrieve DaemonSet status:\n\n${daemonset_status.stderr}
742-
RW.Core.Add Pre To Report Commands Used: ${history}
743737
ELSE
744738
TRY
745739
${ds_status}= Evaluate json.loads(r'''${daemonset_status.stdout}''') if r'''${daemonset_status.stdout}'''.strip() else {} json
@@ -804,7 +798,6 @@ Inspect DaemonSet Status for `${DAEMONSET_NAME}` in namespace `${NAMESPACE}`
804798

805799
${history}= RW.CLI.Pop Shell History
806800
RW.Core.Add Pre To Report DaemonSet Status: Ready=${number_ready}/${desired_scheduled}, Unavailable=${number_unavailable}, Misscheduled=${number_misscheduled}
807-
RW.Core.Add Pre To Report Commands Used: ${history}
808801
END
809802

810803
Check Node Affinity and Tolerations for DaemonSet `${DAEMONSET_NAME}` in Namespace `${NAMESPACE}`
@@ -838,7 +831,6 @@ Check Node Affinity and Tolerations for DaemonSet `${DAEMONSET_NAME}` in Namespa
838831
... observed_at=${issue_timestamp}
839832
${history}= RW.CLI.Pop Shell History
840833
RW.Core.Add Pre To Report Failed to retrieve node constraints:\n\n${node_constraints.stderr}
841-
RW.Core.Add Pre To Report Commands Used: ${history}
842834
ELSE
843835
TRY
844836
${constraints}= Evaluate json.loads(r'''${node_constraints.stdout}''') if r'''${node_constraints.stdout}'''.strip() else {} json
@@ -877,7 +869,6 @@ Check Node Affinity and Tolerations for DaemonSet `${DAEMONSET_NAME}` in Namespa
877869

878870
${history}= RW.CLI.Pop Shell History
879871
RW.Core.Add Pre To Report Node Constraints:\n${node_constraints.stdout}
880-
RW.Core.Add Pre To Report Commands Used: ${history}
881872
END
882873

883874

0 commit comments

Comments
 (0)