sonic-buildimage/src/sonic-yang-mgmt
Mai Bui a0055abb5d
[sonic-yang-mgmt] Replace subprocess using with shell=True (#12537)
Signed-off-by: maipbui <maibui@microsoft.com>
#### Why I did it
`subprocess` is used with `shell=True`, which is very dangerous for shell injection.
#### How I did it
remove `shell=True`, use `shell=False`
#### How to verify it
Pass UT
2022-10-31 10:44:54 -04:00
..
tests [sonic-yang-mgmt] Replace subprocess using with shell=True (#12537) 2022-10-31 10:44:54 -04:00
.gitignore Reorganize .gitignore files (#4707) 2020-06-09 21:04:55 -07:00
AUTHORS.rst [sonic-yang-mgmt]: sonic-yang-mgmt package for configuration validation. (#3861) 2020-05-21 16:27:57 -07:00
LICENSE [sonic-yang-mgmt]: sonic-yang-mgmt package for configuration validation. (#3861) 2020-05-21 16:27:57 -07:00
README.rst [sonic-yang-mgmt]: sonic-yang-mgmt package for configuration validation. (#3861) 2020-05-21 16:27:57 -07:00
setup.cfg [sonic-yang-mgmt] Build PY3 & PY2 packages (#5559) 2020-11-07 13:03:41 -08:00
setup.py [yang] Adding a tool for generating documentation based on yang model (#11291) 2022-07-05 09:36:12 -07:00
sonic_yang_ext.py [sonic-mpls-tc-map.yang]: yang model for mpls_tc_to_tc_map table. (#12176) 2022-10-13 10:12:35 -07:00
sonic_yang.py [YANG] Fix issue: Non compliant leaf list in config_db schema (#10291) 2022-05-05 10:11:35 -07:00
sonic-cfg-help [yang] Adding a tool for generating documentation based on yang model (#11291) 2022-07-05 09:36:12 -07:00

"
This package includes python yang libraries which will be used with sonic utilities
pacakge to validate the config. This python libraries are written on top of libyang
and also provides functionality to translate the config from SONiC ConfigDB to SONiC
YANG and vice-versa.
"