Skip to content
This repository was archived by the owner on Dec 5, 2025. It is now read-only.
This repository was archived by the owner on Dec 5, 2025. It is now read-only.

[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 developsolveduse to identify issue that has been solved (must be linked to the solving PR)

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions