Skip to content

dns: add missing dns keywords to schema.json v3#10429

Closed
hadiqaalamdar wants to merge 1 commit intoOISF:masterfrom
hadiqaalamdar:dns-schema-5642-v3
Closed

dns: add missing dns keywords to schema.json v3#10429
hadiqaalamdar wants to merge 1 commit intoOISF:masterfrom
hadiqaalamdar:dns-schema-5642-v3

Conversation

@hadiqaalamdar
Copy link
Contributor

Feature #5642

Link to redmine ticket: https://redmine.openinfosecfoundation.org/issues/5642

Previous PR: #10401

Describe changes:

  • Added tc boolean field to dns object in schema.json file
  • Added sshfp field in dns.answers and dns.grouped in schema.json
  • Added description for these fields as suggested in the last PR
  • SV tests are passing:
===> dns/dns-sshfp: OK

PASSED:  1
FAILED:  0
SKIPPED: 0

SV_BRANCH=OISF/suricata-verify#1588

Found and added missing dns fields in schema.json after manual code review.
Added description to these newly added dns fields.
Feature OISF#5642
"type": "integer"
},
"tc": {
"description": "A 1-bit subfield that specifies if the length of the message exceeds the allowed length",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is an abbreviation for "truncated", right ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, I'll add that.

},
"sshfp": {
"type": "object",
"description": "A Secure Shell fingerprint is used to verify the system’s authenticity",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

description and type are a bit inconsistently ordered here. I learned from the reviews on my such PR that it is preferred to have description as the first item.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

got it, I'll reorder and submit a new PR

@hadiqaalamdar
Copy link
Contributor Author

New PR: #10432

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants