mirror of
https://github.com/OMGeeky/advisory-db.git
synced 2025-12-31 08:40:26 +01:00
README.md: Documented affected_arch and affected_os
These are new attributes as of `rustsec` crate v0.9.0 which use enums from the `platforms` crate to represent CPU architectures and operating systems. This replaces the previous `affected_platforms` attribute (only used in one advisory)
This commit is contained in:
12
README.md
12
README.md
@@ -73,9 +73,15 @@ patched_versions = [">= 1.2.0"]
|
||||
# Versions which were never vulnerable (optional)
|
||||
unaffected_versions = ["< 1.1.0"]
|
||||
|
||||
# Platforms this vulnerability specifically affects (optional)
|
||||
# See: https://docs.rs/rustsec/latest/rustsec/advisory/struct.PlatformReq.html
|
||||
#affected_platforms = ["*windows*"]
|
||||
# CPU architectures impacted by this vulnerability (optional)
|
||||
# For a list of CPU architecture strings, see the "platforms" crate:
|
||||
# <https://docs.rs/platforms/latest/platforms/target/enum.Arch.html>
|
||||
#affected_arch = ["x86", "x86_64"]
|
||||
|
||||
# Operating systems impacted by this vulnerability (optional)
|
||||
# For a list of OS strings, see the "platforms" crate:
|
||||
# <https://docs.rs/platforms/latest/platforms/target/enum.OS.html>
|
||||
#affected_os = ["windows"]
|
||||
|
||||
# Vulnerability aliases, e.g. CVE IDs (optional but recommended)
|
||||
# Request a CVE for your RustSec vulns: https://iwantacve.org/
|
||||
|
||||
Reference in New Issue
Block a user