Fix for platfrom detection and refactoring #20
3 new alerts including 2 high severity security vulnerabilities
New alerts in code changed by this pull request
Security Alerts:
- 2 high
- 1 medium
See annotations below for details.
Annotations
Check failure on line 56 in lib/train-k8s-container/kubectl_exec_client.rb
Code scanning / CodeQL
Polynomial regular expression used on uncontrolled data High
that depends on a may run slow on strings starting with 'e]0;' and with many repetitions of 'e]0;'.
Check failure on line 56 in lib/train-k8s-container/kubectl_exec_client.rb
Code scanning / CodeQL
Polynomial regular expression used on uncontrolled data High
that depends on a may run slow on strings starting with 'e[' and with many repetitions of 'e['.
Check warning on line 29 in lib/train-k8s-container/kubectl_exec_client.rb
Code scanning / CodeQL
Unsafe shell command constructed from library input Medium
is later used in a .