Skip to content

Doc schema remove obsolete 5267 v1#14736

Closed
catenacyber wants to merge 3 commits intoOISF:mainfrom
catenacyber:doc-schema-remove-obsolete-5267-v1
Closed

Doc schema remove obsolete 5267 v1#14736
catenacyber wants to merge 3 commits intoOISF:mainfrom
catenacyber:doc-schema-remove-obsolete-5267-v1

Conversation

@catenacyber
Copy link
Contributor

Link to ticket: https://redmine.openinfosecfoundation.org/issues/
https://redmine.openinfosecfoundation.org/issues/5267 + extended cleanup

Describe changes:

  • doc/jsonschema: remove inexistent fields from jsonschema

@jufajardini I would also remove extra_float_digits and every property in pgsql optional_parameters as we have "additionalProperties": true, and we accept arbitrary strings as keys

Command used :
jq '.. | keys? | .[]' etc/schema.json | sort | uniq | grep '"' | cut -d'"' -f2 | while read i; do echo -n $i; git grep $i | wc -l; done | awk '$2 == 1'

@catenacyber catenacyber requested a review from a team as a code owner February 2, 2026 15:29
@catenacyber catenacyber added typo/doc update No code change : only doc or typo fixes skip qa labels Feb 2, 2026
@suricata-qa
Copy link

Information: QA skipped due to tag. Set to force a run.

Pipeline = skip

"from": {
"type": "string"
},
"has_exe_url": {
Copy link
Member

Choose a reason for hiding this comment

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

The support for this was quietly removed in #11225

I did not find any mention of it in the commits or upgrade docs.. we really need to do better here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

And #11225 was adding this do the json schema !..

"insert_data_overlap_fail": {
"type": "integer"
},
"insert_list_fail": {
Copy link
Member

Choose a reason for hiding this comment

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

should have been removed together with f348458, but really as part of 13554f7

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks, I did not git bisect

Copy link
Member

@victorjulien victorjulien left a comment

Choose a reason for hiding this comment

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

Much sloppiness exposed here, we need to do better.

@victorjulien victorjulien added this to the 9.0 milestone Feb 4, 2026
@catenacyber
Copy link
Contributor Author

Much sloppiness exposed here

Sorry :-/

@victorjulien
Copy link
Member

Merged in #14750, thanks!

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

Labels

skip qa typo/doc update No code change : only doc or typo fixes

Development

Successfully merging this pull request may close these issues.

3 participants