aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorAdam Janovsky2025-01-27 15:45:12 +0100
committerJ08nY2025-02-01 22:57:31 +0100
commit45a4ca6d0eda120671da1ceef95f056197ef552f (patch)
treee91524efb6ca0965f97af2fe7fbb60a11beda6ec /src
parent2e9108c5addc875ad881951853a7b66d63cd6858 (diff)
downloadsec-certs-45a4ca6d0eda120671da1ceef95f056197ef552f.tar.gz
sec-certs-45a4ca6d0eda120671da1ceef95f056197ef552f.tar.zst
sec-certs-45a4ca6d0eda120671da1ceef95f056197ef552f.zip
CCDataset, serialize PP links to dataframe
Diffstat (limited to 'src')
-rw-r--r--src/sec_certs/sample/cc.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sec_certs/sample/cc.py b/src/sec_certs/sample/cc.py
index 3069ae6a..ca096a6c 100644
--- a/src/sec_certs/sample/cc.py
+++ b/src/sec_certs/sample/cc.py
@@ -316,6 +316,7 @@ class CCCertificate(
"directly_referencing",
"indirectly_referencing",
"extracted_sars",
+ "protection_profile_links",
"protection_profiles",
"cert_lab",
]
@@ -448,6 +449,7 @@ class CCCertificate(
self.heuristics.report_references.directly_referencing,
self.heuristics.report_references.indirectly_referencing,
self.heuristics.extracted_sars,
+ self.protection_profile_links if self.protection_profile_links else np.nan,
self.heuristics.protection_profiles if self.heuristics.protection_profiles else np.nan,
self.heuristics.cert_lab[0] if (self.heuristics.cert_lab and self.heuristics.cert_lab[0]) else np.nan,
)