emc-openstack / storops

Python storage management library for VNX and Unity.
Apache License 2.0
54 stars 29 forks source link

[#264] PyYAML load warning #296

Closed Murray-LIANG closed 4 years ago

Murray-LIANG commented 4 years ago

Use SafeLoader instead. FullLoader (default loader) has exploit issue. https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load(input)-Deprecation

codecov[bot] commented 4 years ago

Codecov Report

Merging #296 into master will increase coverage by <.01%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #296      +/-   ##
==========================================
+ Coverage   91.57%   91.57%   +<.01%     
==========================================
  Files          89       89              
  Lines       13159    13161       +2     
  Branches     1580     1580              
==========================================
+ Hits        12050    12052       +2     
  Misses        711      711              
  Partials      398      398
Impacted Files Coverage Δ
storops/lib/metric.py 87.43% <100%> (+0.06%) :arrow_up:
storops/lib/parser.py 89.09% <100%> (+0.03%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 8dc3462...7bb63f6. Read the comment docs.