06e1a0bc14
Dependency: [PR (#12065)](https://github.com/sonic-net/sonic-buildimage/pull/12065) needs to merge first. #### Why I did it `commands` module is not protected against malicious input `getstatusoutput` is detected without a static string, uses `shell=True` #### How I did it Eliminate the use of `commands` Use `subprocess.run()`, commands in `subprorcess.run()` are totally static Fix indentation #### How to verify it Tested on DUT [dell_log.txt](https://github.com/sonic-net/sonic-buildimage/files/9561332/dell_log.txt) |
||
---|---|---|
.. | ||
DellEMC-Z9332f-C32 | ||
DellEMC-Z9332f-M-O16C64 | ||
DellEMC-Z9332f-O32 | ||
plugins | ||
default_sku | ||
installer.conf | ||
led_proc_init.soc | ||
media_settings.json | ||
pcie.yaml | ||
platform_asic | ||
platform.json | ||
pmon_daemon_control.json | ||
system_health_monitoring_config.json |