This index is designed for fast onboarding by maintainers:
- Comprehensive function inventory across primary runtime files.
- Organized by file + subsystem
Indexed files:
index.htmlexplorer.htmlstix-builder.htmlconfig.jsstix-config.js
Out of scope for this index:
- Generated data in
resources/ - Legacy snapshots in
old/ - Python extraction scripts
When implementing changes, use this order:
- Read subsystem summary in
DOCUMENTATION.md. - Jump to the relevant file section in this index.
- Use function families (security, import/export, render, IPC) to scope edits.
- Validate side effects (
renderAll(),renderKillChain(), cache/IPC broadcasts) before finalizing.
This index intentionally avoids fixed line ranges. It is curated and should be kept in sync with the generated inventory.
Generate the machine index:
python3 scripts/generate-function-index.pyGenerated output:
docs/FUNCTION_INDEX.generated.md
To refresh function discovery manually after major refactors:
grep -nE "^[[:space:]]*function[[:space:]]+[A-Za-z0-9_]+[[:space:]]*\(" index.html
grep -nE "^[[:space:]]*function[[:space:]]+[A-Za-z0-9_]+[[:space:]]*\(" explorer.html
grep -nE "^[[:space:]]*function[[:space:]]+[A-Za-z0-9_]+[[:space:]]*\(" stix-builder.html
grep -nE "^[[:space:]]*function[[:space:]]+[A-Za-z0-9_]+[[:space:]]*\(" config.js
grep -nE "^[[:space:]]*function[[:space:]]+[A-Za-z0-9_]+[[:space:]]*\(" stix-config.jsUpdate strategy:
- Regenerate
docs/FUNCTION_INDEX.generated.mdfirst. - Add/remove only changed function names in the relevant subsection.
- Keep subsystem grouping stable; avoid churn from small reordering.
- Theme resolution and application:
resolveTheme,applyConfigColors
- STIX definition helpers:
getStixFieldsForType,getStixTypeKeys,getStixTypeLabel,getStixVocabulary
isTextInputElementnormalizeUserInputsanitizeUserInputTextsanitizeForStoragetruncateAtBoundaryapplyInputGuardsisDangerousObjectKeycreateSafeObjecthasOwnparseJsonSafestripAngleBracketsFromJson
createDefaultMetadatagetCveEntriesgetCveListnormalizeCveMetadatagetConfidenceLabelgetConfidenceClasscreateAssignmentInstanceIdmigrateAssignmentgetAssignmentIdgetAssignmentMetadatagetAssignmentInstanceIdgenerateUUIDgenerateStixIduuidv5sha1BytesmitigationStixIdtechniqueStixIdgetPhaseUngroupedItemsgetPhaseGroupedItemsgetAllPhaseItemsByTypeensurePhaseLayout
generateGroupIdcreateGrouptoggleGroupCollapsestartRenameGroupcommitRenameGroupremoveGroupextractAssignmentInstancemoveGroupBetweenPhasesfindAssignmentupdateAssignmentMetadata
formatPhaseNameinitAssignmentscommitKillChainTitlesyncTitleToDOMcommitKillChainDescriptionsyncDescriptionToDOMtoggleDescriptionPanelupdateDescriptionHintupdateDescriptionCounter
isFileProtocolRuntimegetFileNameFromPathcloneJsonDatareadLocalFileTextenableOfflineResourceSelectionUIhideLoadingOverlaygetSharedDataCache
isLocalIframeIPCEnabledupdateLoadingContextInfoisLocalIframeIPCTraceEnabledlogLocalIframeIPCSplashlogLocalIframeIPCTracegetLocalIframeIPCRateLimitConfiggetLocalIframeIPCBootstrapConfigisIPCRequestRateAllowedisPlainObjecthasOnlyAllowedKeysdeepFreezecreateLocalIPCNonceisKnownIPCSourceWindowgetIPCFrameStateclearIPCFrameBootstrapTimerclearIPCFrameChannelscheduleIPCChannelBootstrapRetrysendIPCMessageViaChannelsetupIPCChannelForFramebuildImmutableSharedDataPayloadvalidateSharedDatasetShapeestimateJsonByteSizeenforceSharedDatasetLimitsgetExplorerFrameElgetStixBuilderFrameElbroadcastSharedDataToExplorerbroadcastThemeToEmbeddedViewsinitEmbeddedMessageBridge
parseTechniqueIdInputopenCsvImportModalcloseCsvImportModalimportNavigatordetectDomaingetTechniqueName
getPreferredThemeModenormalizeThemeModenormalizeThemeSchemeapplyThemeupdateThemeControlstoggleThemeModeinitThemeControlssyncThemeFromStorageisStixBuilderEnabledsetViewapplyNavigationConfigtoggleSidebartoggleLayerupdateHideEmptyControlupdateCompactControlssetCompactModetoggleCompactModeupdateCommentsControlstoggleItemCommenttoggleAllCommentsinitCompactModeapplyCompactLayouttoggleHideEmptyopenMitigationExploreropenEntityExplorer
switchTabsetFiltersetGlobalSearchopenGlobalSearchcloseGlobalSearchtoggleGlobalSearchExpandedsetGlobalSearchStickyupdateGlobalSearchUIinitGlobalSearchrankGlobalEntitybuildGlobalSearchResultsrenderGlobalSearchResultsopenGlobalSearchResultmatchesGlobalSearchparseCommaIdListfilterEntitiesisEntityAssigned
importStixBundleclearStixLibrarysanitizeStixBundleObjectpopulateStixTypeDropdowntoggleCustomTypeNameopenCreateCustomModalcloseCreateCustomModalcreateCustomItemdeleteCustomItemopenStixEditorcloseStixEditorsaveStixEditorbuildStixReadonlyFieldbuildStixTextFieldbuildStixTextareaFieldbuildStixFieldFromSpecgetEntityName
renderDescriptionWithBadgesselectEntityisSafeHttpUrlisValidEntityIdbuildEntityDetailbuildStixPropertySummarybuildMetadataSummaryopenEntityModalcloseEntityModalshowDetailcloseDetailfindEntityPhase
handleDragStarthandleDragEndhandleDragOverhandleDragLeavehandleDrophandleAssignmentDragStarthandleGroupDragStarthandleGroupDrop
renderKillChainrenderEntityTaggetRelationshipChainIdrenderRelationshipViewexpandRelationshipMitigationsgetAverageScoreLabelbuildPhaseDetailsgetPhaseItemRelationshipsgetPhaseAveragesbuildPhaseCveEntriesbuildPhaseMitigationsrenderPhaseMitigationSectionrenderPhaseCveSectionrenderPhaseDetailsSectionopenPhaseDetailsclosePhaseDetailsrenderStatstogglePhaseremoveAssignmentexpandAllcollapseAllclearAssignments
exportJSONbuildSTIXBundleaddRelationshipexportSTIXBundletriggerImportKillChainensureAssignmentShapeensureLibraryFallbacksvalidateKillChainImportsanitizeImportedStringsanitizeImportedAssignmentsanitizeImportedCustomAssignmentsanitizeAssignmentMetadatasanitizeImportedDataimportKillChainexportCSV
toggleDropdowncloseDropdownsopenMetadataEditorcloseMetadataEditorselectScoreupdateConfidenceLabeladdCveRowaddHyperlinkRowaddObservableRowsaveMetadatashowUsageGuidecloseUsageGuidecloseChangelogshowToastrenderAllenableLeaveSiteConfirmation
getPreferredThemeModenormalizeThemeModenormalizeThemeSchemeapplyThemeupdateThemeControlstoggleThemeModeinitThemeControlssyncThemeFromStorageisLocalIframeIPCEnabledisLocalIframeIPCTraceEnabledlogLocalIframeIPCSplashlogLocalIframeIPCTraceisPlainObjecthasOnlyAllowedKeysdeepFreezehasActiveParentIPCChannelsetParentIPCChannelclearParentIPCWaitTimergetLocalIframeIPCBootstrapConfigestimateBootstrapFailureWindowMsscheduleParentIPCBootstrapFailureWatchsendParentIPCRequestvalidateAndFreezeSharedDataPayloadrequestParentBridgeDatainitParentBridgeHandlers
isFileProtocolRuntimecloneJsonDataparseJsonSafereadLocalFileTextenableOfflineSelectionUIsetStatusnormalizeescapeHtmlescapeAttrisSafeHttpUrlrenderDescriptionWithBadgesuniquebuildSearchIndexgetBadgeClassrenderSuggestionsbuildIndicescreateTabsrenderTabsrenderListselectEntitygetMitreTechniqueUrlgetCapecUrlgetCweUrlgetMitigationUrlbuildRelatedForAttackbuildRelatedForCapecbuildRelatedForCwebuildRelatedForMitigationrenderGraphColumnrenderGraphrenderDetailsinitEventsgetParentSharedDataLoaderenableLeaveSiteConfirmation
showToastgetPreferredThemeModenormalizeThemeModenormalizeThemeSchemeapplyThemeupdateThemeControlstoggleThemeModeinitThemeControlssyncThemeFromStorageisLocalIframeIPCEnabledisLocalIframeIPCTraceEnabledlogLocalIframeIPCSplashlogLocalIframeIPCTraceisPlainObjecthasOnlyAllowedKeyshasActiveParentIPCChannelsetParentIPCChannelclearParentIPCWaitTimergetLocalIframeIPCBootstrapConfigestimateBootstrapFailureWindowMsscheduleParentIPCBootstrapFailureWatchrequestParentThemeinitParentThemeBridgegenerateUUIDisDangerousObjectKeycreateSafeObjecthasOwnparseJsonSafestripAngleBracketsFromJsonsanitizeUserInputTextsanitizeImportedStringapplyInputGuardsisTextInputElementisSafeHttpUrl
getObjectCategorygetObjectDisplayNamebuildAddTypeOptionssetActiveTabrenderTabsrenderObjectListselectObjectgetActiveObjectcreateDefaultObjectgetDefaultForFieldaddObjectdeleteActiveObjectrenderEditorsetCenterModerenderCenterModeisRequiredFieldrenderFieldrenderFieldInputrenderEnumFieldrenderOpenVocabFieldrenderListFieldrenderObjectRefsFieldrenderKillChainFieldrenderExternalReferencesFieldrenderReferenceHashesFieldrenderGranularMarkingsFieldrenderDictionaryFieldrenderHashesFieldrenderExtensionsFieldrenderMarkingDefinitionField
updateBundlePreviewrenderBundleSummaryrenderBundlePreviewsetVisualizerButtonStateupdateStatusopenBundleIssuescloseBundleIssuesclearBundlesanitizeDictionarysanitizeExtensionssanitizeImportedFieldValuesanitizeImportedObjectsanitizeBundleForVisualizerrenderVisualizervalidateBundlehasValuevalidateObjectFieldssanitizeValuehandleEditorInputcollectDictionarycollectExtensionshandleEditorClickexportBundleimportBundlecopyActiveJsoninitEventsenableLeaveSiteConfirmation
Last refreshed for v2.9.0 code layout. This file is intentionally line-agnostic to reduce churn while preserving maintainability.