]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
dns: add missing dns keywords to schema.json
authorHadiqa Alamdar Bukhari <hadiqaalamdar@gmail.com>
Tue, 13 Feb 2024 12:55:38 +0000 (17:55 +0500)
committerVictor Julien <victor@inliniac.net>
Thu, 22 Feb 2024 09:02:47 +0000 (10:02 +0100)
Found and added missing dns fields in schema.json after manual code review.
Added description to these newly added dns fields.
Feature #5642

etc/schema.json

index 502888feb02533e25349fd2b458d2191d886107f..ec8b915bb5adc2957ee9a3caa4ad3c0fd88fded7 100644 (file)
                     "description": "DNS opcode as an integer",
                     "type": "integer"
                 },
+                "tc": {
+                    "description": "DNS truncation flag",
+                    "type": "boolean"
+                },
                 "answers": {
                     "type": "array",
                     "minItems": 1,
                                     }
                                 },
                                 "additionalProperties": false
+                            },
+                            "sshfp": {
+                                "description": "A Secure Shell fingerprint, used to verify the system’s authenticity",
+                                "type": "object",
+                                "properties": {
+                                    "fingerprint": {
+                                        "type": "string"
+                                    },
+                                    "algo": {
+                                        "type": "integer"
+                                    },
+                                    "type": {
+                                        "type": "integer"
+                                    }
+                                },
+                                "additionalProperties": false
                             }
                         },
                         "additionalProperties": false
                             "items": {
                                 "type": "string"
                             }
+                        },
+                        "SSHFP": {
+                            "description": "A Secure Shell fingerprint is used to verify the system’s authenticity",
+                            "type": "array",
+                            "minItems": 1,
+                            "items": {
+                                "type": "object",
+                                "properties": {
+                                    "fingerprint": {
+                                        "type": "string"
+                                    },
+                                    "algo": {
+                                        "type": "integer"
+                                    },
+                                    "type": {
+                                        "type": "integer"
+                                    }
+                                },
+                                "additionalProperties": false
+                            }
                         }
                     },
                     "additionalProperties": false