Package ai.attackframework.tools.burp.utils.config
package ai.attackframework.tools.burp.utils.config
Utilities for serializing and deserializing the extension's configuration.
Includes JSON mapping helpers (ConfigJsonMapper),
config key constants, and state holders. These classes are pure data/IO helpers with no Swing
dependencies and are safe to use from background threads. Filesystem concerns remain in
FileUtil to keep boundaries clear.
-
ClassDescriptionMapper between the typed
ConfigState.Stateand the JSON produced/parsed byJson.Shared string keys for sources and scope types used across UI and config mapping.Typed configuration model for import/export and UI binding.Scope kind forConfigState.ScopeEntry.Top-level state.Ordered custom-scope entry.Sinks selection and values.Persisted UI preferences that should survive save/export/import.Filters a document map to only include keys allowed for export for the given index.Canonical list of export fields per index for the Fields panel and document filtering.JSON marshaling for config import/export.Dedicated runtime exception for config JSON errors.Parsed config projection used by the UI and tests.Holds the current runtime configuration for export pipelines.Stores OpenSearch credentials in memory for the current Burp session only.Immutable API key credentials pair read from session memory.Immutable basic credentials pair read from session memory.Immutable certificate credentials read from session memory.Immutable JWT token credentials read from session memory.Immutable imported TLS pin material read from session memory.