chg: [x509] improve X.509 certificate description to match required ones

from LIEF (as discussed in #180).
pull/187/head
Alexandre Dulaunoy 2019-05-05 12:31:41 +02:00
parent 79ab435903
commit cce77727d6
No known key found for this signature in database
GPG Key ID: 09E2CD4944E6CBCD
1 changed files with 25 additions and 10 deletions

View File

@ -15,12 +15,14 @@
"pubkey-info-algorithm": { "pubkey-info-algorithm": {
"description": "Algorithm of the public key", "description": "Algorithm of the public key",
"ui-priority": 0, "ui-priority": 0,
"misp-attribute": "text" "misp-attribute": "text",
"disable_correlation": true
}, },
"pubkey-info-size": { "pubkey-info-size": {
"description": "Length of the public key (in bits)", "description": "Length of the public key (in bits)",
"ui-priority": 0, "ui-priority": 0,
"misp-attribute": "text" "misp-attribute": "text",
"disable_correlation": true
}, },
"pubkey-info-exponent": { "pubkey-info-exponent": {
"description": "Exponent of the public key", "description": "Exponent of the public key",
@ -60,24 +62,27 @@
"misp-attribute": "text" "misp-attribute": "text"
}, },
"text": { "text": {
"description": "Free text description of hte certificate", "description": "Free text description of the certificate",
"ui-priority": 1, "ui-priority": 1,
"misp-attribute": "text" "misp-attribute": "text"
}, },
"validity-not-before": { "validity-not-before": {
"description": "Certificate invalid before that date", "description": "Certificate invalid before that date",
"ui-priority": 0, "ui-priority": 0,
"misp-attribute": "datetime" "misp-attribute": "datetime",
"disable_correlation": true
}, },
"validity-not-after": { "validity-not-after": {
"description": "Certificate invalid after that date", "description": "Certificate invalid after that date",
"ui-priority": 0, "ui-priority": 0,
"misp-attribute": "datetime" "misp-attribute": "datetime",
"disable_correlation": true
}, },
"issuer": { "issuer": {
"description": "Issuer of the certificate", "description": "Issuer of the certificate",
"ui-priority": 0, "ui-priority": 0,
"misp-attribute": "text" "misp-attribute": "text",
"disable_correlation": true
}, },
"serial-number": { "serial-number": {
"description": "Serial number of the certificate", "description": "Serial number of the certificate",
@ -87,26 +92,36 @@
"version": { "version": {
"description": "Version of the certificate", "description": "Version of the certificate",
"ui-priority": 0, "ui-priority": 0,
"misp-attribute": "text" "misp-attribute": "text",
"disable_correlation": true
}, },
"self_signed": { "self_signed": {
"description": "Self-signed certificate", "description": "Self-signed certificate",
"ui-priority": 0, "ui-priority": 0,
"misp-attribute": "boolean" "misp-attribute": "boolean",
"disable_correlation": true
}, },
"is_ca": { "is_ca": {
"description": "CA certificate", "description": "CA certificate",
"ui-priority": 0, "ui-priority": 0,
"misp-attribute": "boolean" "misp-attribute": "boolean",
"disable_correlation": true
}, },
"dns_names": { "dns_names": {
"description": "DNS names", "description": "DNS names",
"multiple": true, "multiple": true,
"misp-attribute": "text", "misp-attribute": "text",
"ui-priority": 0 "ui-priority": 0
},
"signature_algorithm": {
"description": "Signature algorithm",
"misp-attribute": "text",
"ui-priority": 0,
"disable_correlation": true,
"sane_default": ["SHA1_WITH_RSA_ENCRYPTION","SHA256_WITH_RSA_ENCRYPTION"]
} }
}, },
"version": 8, "version": 9,
"description": "x509 object describing a X.509 certificate", "description": "x509 object describing a X.509 certificate",
"meta-category": "network", "meta-category": "network",
"uuid": "d1ab756a-26b5-4349-9f43-765630f0911c", "uuid": "d1ab756a-26b5-4349-9f43-765630f0911c",