Skip to content

[client] Missing the X509V3ExtensionsType fields on X509Certificate #1023

@pdamoune

Description

@pdamoune

Add the missing fields on x509certificate creation

Source: V6.8.8

Problem to Solve

When creating the observable entity X509Certificate, the fields coming from X509V3ExtensionsType are not mapped.

https://github.com/OpenCTI-Platform/opencti/blob/6.8.8/opencti-platform/opencti-graphql/config/schema/opencti.graphql#L9445-L9476

https://github.com/OpenCTI-Platform/client-python/blob/6.8.8/pycti/entities/opencti_stix_cyber_observable.py#L657-L715

entity fields mapped in pycti
basic_constraints
name_constraints
policy_constraints
key_usage
extended_key_usage
subject_key_identifier
authority_key_identifier
subject_alternative_name
issuer_alternative_name
subject_directory_attributes
crl_distribution_points
inhibit_any_policy
private_key_usage_period_not_before
private_key_usage_period_not_after
certificate_policies
policy_mappings

Current Workaround

Create the entity without this fields

Proposed Solution

Add the fields' mapping

Metadata

Metadata

Assignees

Labels

featureuse for describing a new feature to developneeds triageuse to identify issue needing triage from Filigran Product team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions