Class ExportFieldRegistry
java.lang.Object
ai.attackframework.tools.burp.utils.config.ExportFieldRegistry
Defines the canonical export fields for each index.
This registry backs both the Fields panel and document filtering. Fields marked required in the reference documentation always remain enabled; toggleable fields map to the optional checkboxes shown in the UI.
-
Field Summary
FieldsModifier and TypeFieldDescriptionIndex short names in internal display order.Index order shown in the Fields panel. -
Method Summary
Modifier and TypeMethodDescriptiongetAllowedKeys(String indexShortName, Set<String> enabledToggleable) Returns the field keys allowed for documents written to the index.getRequiredFields(String indexShortName) Returns the required top-level field keys for the index as an unmodifiable list.getToggleableFields(String indexShortName) Returns the toggleable field keys for the index as an unmodifiable list.
-
Field Details
-
INDEX_ORDER
Index short names in internal display order. -
INDEX_ORDER_FOR_FIELDS_PANEL
Index order shown in the Fields panel.
-
-
Method Details
-
getToggleableFields
Returns the toggleable field keys for the index as an unmodifiable list. -
getRequiredFields
Returns the required top-level field keys for the index as an unmodifiable list. -
getAllowedKeys
Returns the field keys allowed for documents written to the index.The result always contains the required keys. When
enabledToggleableis null or empty, all toggleable keys are included. Otherwise only the selected toggleable keys are added.
-