Class ExportFieldRegistry
java.lang.Object
ai.attackframework.tools.burp.utils.config.ExportFieldRegistry
Canonical list of export fields per index for the Fields panel and document filtering.
"Is required" column: toggleable = No or No*, required = Yes.
Keep this class as the single source of truth when adding or changing index fields.
-
Field Summary
FieldsModifier and TypeFieldDescriptionIndex short names in display order (tool, traffic, settings, sitemap, findings).Indexes shown in the Fields panel (excludes tool, which is administrative and not user-toggleable). -
Method Summary
Modifier and TypeMethodDescriptiongetAllowedKeys(String indexShortName, Set<String> enabledToggleable) Returns the set of field keys that may be included in documents for this index: required + (enabledToggleable if provided, else all toggleable).getRequiredFields(String indexShortName) Returns an unmodifiable list of required top-level keys for the index (Yes in REFERENCE).getToggleableFields(String indexShortName) Returns an unmodifiable list of toggleable field keys for the index (No / No* in REFERENCE).
-
Field Details
-
INDEX_ORDER
Index short names in display order (tool, traffic, settings, sitemap, findings). -
INDEX_ORDER_FOR_FIELDS_PANEL
Indexes shown in the Fields panel (excludes tool, which is administrative and not user-toggleable). Order matches ConfigSourcesPanel: Settings, Sitemap, Findings, Traffic.
-
-
Method Details
-
getToggleableFields
Returns an unmodifiable list of toggleable field keys for the index (No / No* in REFERENCE). -
getRequiredFields
Returns an unmodifiable list of required top-level keys for the index (Yes in REFERENCE). -
getAllowedKeys
Returns the set of field keys that may be included in documents for this index: required + (enabledToggleable if provided, else all toggleable). Used for document filtering (which fields to include in pushed documents).
-