Skip to content

Latest commit

 

History

History
441 lines (426 loc) · 37.3 KB

File metadata and controls

441 lines (426 loc) · 37.3 KB

AttackFlow — Generated Function Index

This file is auto-generated by scripts/generate-function-index.py. Do not edit manually.

Generated: 2026-02-28 00:24:47 UTC

Coverage

  • index.html: 247 functions
  • explorer.html: 63 functions
  • stix-builder.html: 94 functions
  • config.js: 2 functions
  • stix-config.js: 4 functions
  • Total: 410 functions

index.html

  • L4057 loadVersion (async-declaration) — async function loadVersion() {
  • L4200 esc (arrow-function) — const esc = (str) => InputSecurity.escapeHtml(str);
  • L4201 escAttr (arrow-function) — const escAttr = (str) => InputSecurity.sanitizeAttr(str);
  • L4205 isTextInputElement (declaration) — function isTextInputElement(el) {
  • L4209 normalizeUserInput (declaration) — function normalizeUserInput(text, maxLength = 10000, allowNewlines = false) {
  • L4219 sanitizeUserInputText (declaration) — function sanitizeUserInputText(text, allowNewlines = false) {
  • L4226 sanitizeForStorage (declaration) — function sanitizeForStorage(text, maxLength = 1000) {
  • L4233 truncateAtBoundary (declaration) — function truncateAtBoundary(text, maxLen = 500) {
  • L4246 applyInputGuards (declaration) — function applyInputGuards() {
  • L4344 isDangerousObjectKey (declaration) — function isDangerousObjectKey(key) {
  • L4348 createSafeObject (declaration) — function createSafeObject() {
  • L4352 hasOwn (declaration) — function hasOwn(obj, key) {
  • L4356 parseJsonSafe (declaration) — function parseJsonSafe(text) {
  • L4363 stripAngleBracketsFromJson (declaration) — function stripAngleBracketsFromJson(value) {
  • L4385 createDefaultMetadata (declaration) — function createDefaultMetadata() {
  • L4398 getCveEntries (declaration) — function getCveEntries(metadata) {
  • L4400 pushEntry (arrow-function) — const pushEntry = (entry) => {
  • L4433 getCveList (declaration) — function getCveList(metadata) {
  • L4439 normalizeCveMetadata (declaration) — function normalizeCveMetadata(metadata) {
  • L4449 getConfidenceLabel (declaration) — function getConfidenceLabel(value) {
  • L4457 getConfidenceClass (declaration) — function getConfidenceClass(value) {
  • L4466 createAssignmentInstanceId (declaration) — function createAssignmentInstanceId() {
  • L4472 migrateAssignment (declaration) — function migrateAssignment(idOrObj) {
  • L4488 getAssignmentId (declaration) — function getAssignmentId(assignment) {
  • L4493 getAssignmentMetadata (declaration) — function getAssignmentMetadata(assignment) {
  • L4498 getAssignmentInstanceId (declaration) — function getAssignmentInstanceId(assignment) {
  • L4562 generateUUID (declaration) — function generateUUID() {
  • L4570 generateStixId (declaration) — function generateStixId(stixType) {
  • L4579 uuidv5 (declaration) — function uuidv5(namespace, name) {
  • L4594 sha1Bytes (declaration) — function sha1Bytes(msgBytes) {
  • L4625 mitigationStixId (declaration) — function mitigationStixId(mitreId) {
  • L4629 techniqueStixId (declaration) — function techniqueStixId(techId) {
  • L4633 getPhaseUngroupedItems (declaration) — function getPhaseUngroupedItems(phaseData, type) {
  • L4639 getPhaseGroupedItems (declaration) — function getPhaseGroupedItems(phaseData, type) {
  • L4644 getAllPhaseItemsByType (declaration) — function getAllPhaseItemsByType(phaseData, type) {
  • L4648 ensurePhaseLayout (declaration) — function ensurePhaseLayout(phaseKey, phaseData) {
  • L4691 generateGroupId (declaration) — function generateGroupId() {
  • L4695 createGroup (declaration) — function createGroup(phaseKey) {
  • L4711 toggleGroupCollapse (declaration) — function toggleGroupCollapse(phaseKey, groupId) {
  • L4726 startRenameGroup (declaration) — function startRenameGroup(phaseKey, groupId) {
  • L4742 commitRenameGroup (declaration) — function commitRenameGroup(phaseKey, groupId, value, cancel = false) {
  • L4755 removeGroup (declaration) — function removeGroup(phaseKey, groupId) {
  • L4780 extractAssignmentInstance (declaration) — function extractAssignmentInstance(phaseKey, type, instanceId) {
  • L4805 moveGroupBetweenPhases (declaration) — function moveGroupBetweenPhases(fromPhase, toPhase, groupId) {
  • L4822 findAssignment (declaration) — function findAssignment(phaseKey, entityType, id, instanceId = null) {
  • L4847 updateAssignmentMetadata (declaration) — function updateAssignmentMetadata(phaseKey, entityType, id, newMetadata, instanceId = null) {
  • L4966 formatPhaseName (declaration) — function formatPhaseName(id) {
  • L4971 initAssignments (declaration) — function initAssignments() {
  • L4989 commitKillChainTitle (declaration) — function commitKillChainTitle(el) {
  • L4997 syncTitleToDOM (declaration) — function syncTitleToDOM() {
  • L5003 commitKillChainDescription (declaration) — function commitKillChainDescription(el) {
  • L5013 syncDescriptionToDOM (declaration) — function syncDescriptionToDOM() {
  • L5023 toggleDescriptionPanel (declaration) — function toggleDescriptionPanel() {
  • L5028 updateDescriptionHint (declaration) — function updateDescriptionHint() {
  • L5040 updateDescriptionCounter (declaration) — function updateDescriptionCounter() {
  • L5067 isFileProtocolRuntime (declaration) — function isFileProtocolRuntime() {
  • L5071 getFileNameFromPath (declaration) — function getFileNameFromPath(path) {
  • L5077 cloneJsonData (declaration) — function cloneJsonData(data) {
  • L5084 readLocalFileText (declaration) — function readLocalFileText(file) {
  • L5093 promptOfflineResourceFiles (async-declaration) — async function promptOfflineResourceFiles(requiredFileNames = []) {
  • L5108 cleanup (arrow-function) — const cleanup = () => {
  • L5154 fetchJsonResource (async-declaration) — async function fetchJsonResource(resourcePath) {
  • L5176 enableOfflineResourceSelectionUI (declaration) — function enableOfflineResourceSelectionUI(message) {
  • L5214 hideLoadingOverlay (declaration) — function hideLoadingOverlay() {
  • L5220 getSharedDataCache (declaration) — function getSharedDataCache() {
  • L5231 isLocalIframeIPCEnabled (declaration) — function isLocalIframeIPCEnabled() {
  • L5236 updateLoadingContextInfo (declaration) — function updateLoadingContextInfo() {
  • L5251 isLocalIframeIPCTraceEnabled (declaration) — function isLocalIframeIPCTraceEnabled() {
  • L5308 logLocalIframeIPCSplash (declaration) — function logLocalIframeIPCSplash(context) {
  • L5321 logLocalIframeIPCTrace (declaration) — function logLocalIframeIPCTrace(context, message, details) {
  • L5330 getLocalIframeIPCRateLimitConfig (declaration) — function getLocalIframeIPCRateLimitConfig() {
  • L5348 getLocalIframeIPCBootstrapConfig (declaration) — function getLocalIframeIPCBootstrapConfig() {
  • L5376 isIPCRequestRateAllowed (declaration) — function isIPCRequestRateAllowed(frameKey, messageType, transport) {
  • L5422 isPlainObject (declaration) — function isPlainObject(value) {
  • L5426 hasOnlyAllowedKeys (declaration) — function hasOnlyAllowedKeys(value, allowedKeys, contextLabel) {
  • L5441 deepFreeze (declaration) — function deepFreeze(value) {
  • L5450 createLocalIPCNonce (declaration) — function createLocalIPCNonce() {
  • L5455 randomPart (arrow-function) — const randomPart = (() => {
  • L5474 isKnownIPCSourceWindow (declaration) — function isKnownIPCSourceWindow(sourceWindow) {
  • L5481 getIPCFrameState (declaration) — function getIPCFrameState(frameKey) {
  • L5485 clearIPCFrameBootstrapTimer (declaration) — function clearIPCFrameBootstrapTimer(frameState) {
  • L5491 clearIPCFrameChannel (declaration) — function clearIPCFrameChannel(frameKey, options = {}) {
  • L5513 scheduleIPCChannelBootstrapRetry (declaration) — function scheduleIPCChannelBootstrapRetry(frameKey, reason) {
  • L5548 sendIPCMessageViaChannel (declaration) — function sendIPCMessageViaChannel(frameKey, message) {
  • L5561 setupIPCChannelForFrame (declaration) — function setupIPCChannelForFrame(frameKey, options = {}) {
  • L5687 buildImmutableSharedDataPayload (declaration) — function buildImmutableSharedDataPayload(rawData) {
  • L5710 validateSharedDatasetShape (declaration) — function validateSharedDatasetShape(rawData) {
  • L5727 estimateJsonByteSize (declaration) — function estimateJsonByteSize(value) {
  • L5741 enforceSharedDatasetLimits (declaration) — function enforceSharedDatasetLimits(rawData) {
  • L5785 getExplorerFrameEl (declaration) — function getExplorerFrameEl() {
  • L5789 getStixBuilderFrameEl (declaration) — function getStixBuilderFrameEl() {
  • L5793 broadcastSharedDataToExplorer (declaration) — function broadcastSharedDataToExplorer() {
  • L5818 broadcastThemeToEmbeddedViews (declaration) — function broadcastThemeToEmbeddedViews() {
  • L5838 initEmbeddedMessageBridge (declaration) — function initEmbeddedMessageBridge() {
  • L5877 loadSharedLibraryData (async-declaration) — async function loadSharedLibraryData(forceReload = false) {
  • L5946 loadData (async-declaration) — async function loadData() {
  • L5995 loadNavigator (async-declaration) — async function loadNavigator(domain) {
  • L6033 ensureBaseTechniquesLoaded (async-declaration) — async function ensureBaseTechniquesLoaded() {
  • L6042 parseTechniqueIdInput (declaration) — function parseTechniqueIdInput(raw) {
  • L6058 applyTechniqueList (async-declaration) — async function applyTechniqueList(ids) {
  • L6075 openCsvImportModal (declaration) — function openCsvImportModal() {
  • L6083 closeCsvImportModal (declaration) — function closeCsvImportModal(event) {
  • L6088 submitCsvImport (async-declaration) — async function submitCsvImport() {
  • L6111 resetAttackTechniques (async-declaration) — async function resetAttackTechniques() {
  • L6123 importNavigator (declaration) — function importNavigator(event) {
  • L6200 detectDomain (declaration) — function detectDomain(techId) {
  • L6208 getTechniqueName (declaration) — function getTechniqueName(techId) {
  • L6231 getPreferredThemeMode (declaration) — function getPreferredThemeMode() {
  • L6241 normalizeThemeMode (declaration) — function normalizeThemeMode(mode) {
  • L6245 normalizeThemeScheme (declaration) — function normalizeThemeScheme(mode, scheme) {
  • L6253 applyTheme (declaration) — function applyTheme(mode, scheme, persist = true) {
  • L6275 updateThemeControls (declaration) — function updateThemeControls() {
  • L6284 toggleThemeMode (declaration) — function toggleThemeMode() {
  • L6290 initThemeControls (declaration) — function initThemeControls() {
  • L6302 syncThemeFromStorage (declaration) — function syncThemeFromStorage() {
  • L6316 isStixBuilderEnabled (declaration) — function isStixBuilderEnabled() {
  • L6320 setView (declaration) — function setView(view) {
  • L6374 applyNavigationConfig (declaration) — function applyNavigationConfig() {
  • L6399 toggleSidebar (declaration) — function toggleSidebar() {
  • L6406 toggleLayer (declaration) — function toggleLayer(layer) {
  • L6414 updateHideEmptyControl (declaration) — function updateHideEmptyControl() {
  • L6421 updateCompactControls (declaration) — function updateCompactControls() {
  • L6428 setCompactMode (declaration) — function setCompactMode(enabled, persist = true) {
  • L6457 toggleCompactMode (declaration) — function toggleCompactMode() {
  • L6461 updateCommentsControls (declaration) — function updateCommentsControls() {
  • L6468 toggleItemComment (declaration) — function toggleItemComment(el) {
  • L6474 toggleAllComments (declaration) — function toggleAllComments() {
  • L6487 initCompactMode (declaration) — function initCompactMode() {
  • L6505 applyCompactLayout (declaration) — function applyCompactLayout() {
  • L6520 toggleHideEmpty (declaration) — function toggleHideEmpty() {
  • L6530 openMitigationExplorer (declaration) — function openMitigationExplorer(mitigationId) {
  • L6546 openEntityExplorer (declaration) — function openEntityExplorer(type, id) {
  • L6560 switchTab (declaration) — function switchTab(tab) {
  • L6568 setFilter (declaration) — function setFilter(type, filter) {
  • L6576 setGlobalSearch (declaration) — function setGlobalSearch(value) {
  • L6587 openGlobalSearch (declaration) — function openGlobalSearch() {
  • L6593 closeGlobalSearch (declaration) — function closeGlobalSearch(force = false) {
  • L6602 toggleGlobalSearchExpanded (declaration) — function toggleGlobalSearchExpanded(event) {
  • L6617 setGlobalSearchSticky (declaration) — function setGlobalSearchSticky(enabled) {
  • L6622 updateGlobalSearchUI (declaration) — function updateGlobalSearchUI() {
  • L6638 initGlobalSearch (declaration) — function initGlobalSearch() {
  • L6659 rankGlobalEntity (declaration) — function rankGlobalEntity(entity, type, term, tokens) {
  • L6693 buildGlobalSearchResults (declaration) — function buildGlobalSearchResults(term) {
  • L6715 renderGlobalSearchResults (declaration) — function renderGlobalSearchResults() {
  • L6751 openGlobalSearchResult (declaration) — function openGlobalSearchResult(type, id) {
  • L6760 matchesGlobalSearch (declaration) — function matchesGlobalSearch(entity, type, term) {
  • L6771 parseCommaIdList (declaration) — function parseCommaIdList(raw, pattern, prefix = '') {
  • L6794 filterEntities (declaration) — function filterEntities(type) {
  • L6946 isEntityAssigned (declaration) — function isEntityAssigned(type, id) {
  • L6968 importStixBundle (declaration) — function importStixBundle(event) {
  • L7088 clearStixLibrary (declaration) — function clearStixLibrary() {
  • L7114 sanitizeStixBundleObject (declaration) — function sanitizeStixBundleObject(obj, stixType, stixId) {
  • L7185 populateStixTypeDropdown (declaration) — function populateStixTypeDropdown() {
  • L7206 toggleCustomTypeName (declaration) — function toggleCustomTypeName() {
  • L7212 openCreateCustomModal (declaration) — function openCreateCustomModal() {
  • L7223 closeCreateCustomModal (declaration) — function closeCreateCustomModal(event) {
  • L7228 createCustomItem (declaration) — function createCustomItem() {
  • L7291 deleteCustomItem (declaration) — function deleteCustomItem(id) {
  • L7317 openStixEditor (declaration) — function openStixEditor(id, phaseKey, instanceId) {
  • L7378 closeStixEditor (declaration) — function closeStixEditor(event) {
  • L7384 saveStixEditor (declaration) — function saveStixEditor() {
  • L7451 buildStixReadonlyField (declaration) — function buildStixReadonlyField(label, value) {
  • L7458 buildStixTextField (declaration) — function buildStixTextField(id, label, value, required, maxLen, placeholder) {
  • L7466 buildStixTextareaField (declaration) — function buildStixTextareaField(id, label, value, required, maxLen, placeholder) {
  • L7474 buildStixFieldFromSpec (declaration) — function buildStixFieldFromSpec(field, item, required) {
  • L7580 getEntityName (declaration) — function getEntityName(type, id) {
  • L7598 renderDescriptionWithBadges (declaration) — function renderDescriptionWithBadges(escapedText) {
  • L7611 selectEntity (declaration) — function selectEntity(type, id) {
  • L7621 isSafeHttpUrl (declaration) — function isSafeHttpUrl(url) {
  • L7634 isValidEntityId (declaration) — function isValidEntityId(type, id) {
  • L7647 buildEntityDetail (declaration) — function buildEntityDetail(type, id) {
  • L7862 buildStixPropertySummary (declaration) — function buildStixPropertySummary(id) {
  • L7903 buildMetadataSummary (declaration) — function buildMetadataSummary(type, id, phaseKey, instanceId) {
  • L7972 openEntityModal (declaration) — function openEntityModal(type, id, phaseKey, instanceId) {
  • L7990 closeEntityModal (declaration) — function closeEntityModal(event) {
  • L7995 showDetail (declaration) — function showDetail(type, id) {
  • L8012 closeDetail (declaration) — function closeDetail() {
  • L8018 findEntityPhase (declaration) — function findEntityPhase(type, id) {
  • L8031 handleDragStart (declaration) — function handleDragStart(event, type, id) {
  • L8043 handleDragEnd (declaration) — function handleDragEnd(event) {
  • L8053 handleDragOver (declaration) — function handleDragOver(event) {
  • L8059 handleDragLeave (declaration) — function handleDragLeave(event) {
  • L8063 handleDrop (declaration) — function handleDrop(event, phaseKey) {
  • L8116 handleAssignmentDragStart (declaration) — function handleAssignmentDragStart(event, type, id, phaseKey, instanceId, sourceGroupId) {
  • L8127 handleGroupDragStart (declaration) — function handleGroupDragStart(event, phaseKey, groupId) {
  • L8138 handleGroupDrop (declaration) — function handleGroupDrop(event, phaseKey, groupId) {
  • L8178 renderKillChain (declaration) — function renderKillChain() {
  • L8309 renderEntityTag (declaration) — function renderEntityTag(type, id, name, metadata, phaseKey, instanceId, sourceGroupId = null) {
  • L8450 getRelationshipChainId (declaration) — function getRelationshipChainId(chain) {
  • L8457 renderRelationshipView (declaration) — function renderRelationshipView() {
  • L8463 collectMitigations (arrow-function) — const collectMitigations = (techIds) => {
  • L8605 expandRelationshipMitigations (declaration) — function expandRelationshipMitigations(chainId) {
  • L8619 getAverageScoreLabel (declaration) — function getAverageScoreLabel(avg) {
  • L8627 buildPhaseDetails (declaration) — function buildPhaseDetails(phaseKey) {
  • L8639 collectItems (arrow-function) — const collectItems = (type) => getAllPhaseItemsByType(phaseData, type).map((assignment) => {
  • L8663 getPhaseItemRelationships (declaration) — function getPhaseItemRelationships(type, id) {
  • L8696 getPhaseAverages (declaration) — function getPhaseAverages(itemsByType) {
  • L8726 buildPhaseCveEntries (declaration) — function buildPhaseCveEntries(itemsByType) {
  • L8743 buildPhaseMitigations (declaration) — function buildPhaseMitigations(itemsByType) {
  • L8779 renderPhaseMitigationSection (declaration) — function renderPhaseMitigationSection(itemsByType) {
  • L8819 renderPhaseCveSection (declaration) — function renderPhaseCveSection(itemsByType) {
  • L8851 renderPhaseDetailsSection (declaration) — function renderPhaseDetailsSection(title, items, phaseKey) {
  • L8878 addRelation (arrow-function) — const addRelation = (label, values) => {
  • L8891 encodeInlineJsArg (arrow-function) — const encodeInlineJsArg = (value) => InputSecurity.encodeHtmlEntities(JSON.stringify(String(value ?? '')));
  • L8920 openPhaseDetails (declaration) — function openPhaseDetails(phaseKey) {
  • L8958 closePhaseDetails (declaration) — function closePhaseDetails(event) {
  • L8963 renderStats (declaration) — function renderStats() {
  • L8991 togglePhase (declaration) — function togglePhase(header) {
  • L8995 removeAssignment (declaration) — function removeAssignment(type, id, phaseKey, instanceId) {
  • L9035 expandAll (declaration) — function expandAll() {
  • L9039 collapseAll (declaration) — function collapseAll() {
  • L9043 clearAssignments (declaration) — function clearAssignments() {
  • L9054 exportJSON (declaration) — function exportJSON() {
  • L9089 buildSTIXBundle (declaration) — function buildSTIXBundle() {
  • L9239 addRelationship (declaration) — function addRelationship(objects, seen, sourceId, targetId, phaseKey, timestamp) {
  • L9264 exportSTIXBundle (declaration) — function exportSTIXBundle() {
  • L9285 triggerImportKillChain (declaration) — function triggerImportKillChain() {
  • L9290 ensureAssignmentShape (declaration) — function ensureAssignmentShape(assignments) {
  • L9319 ensureLibraryFallbacks (declaration) — function ensureLibraryFallbacks(assignments) {
  • L9374 validateKillChainImport (declaration) — function validateKillChainImport(data) {
  • L9427 sanitizeImportedString (declaration) — function sanitizeImportedString(str, maxLength = KILLCHAIN_IMPORT_LIMITS.maxStringLength) {
  • L9440 sanitizeImportedAssignment (declaration) — function sanitizeImportedAssignment(assignment) {
  • L9458 sanitizeImportedCustomAssignment (declaration) — function sanitizeImportedCustomAssignment(assignment) {
  • L9477 sanitizeAssignmentMetadata (declaration) — function sanitizeAssignmentMetadata(assignment) {
  • L9595 sanitizeImportedData (declaration) — function sanitizeImportedData(data) {
  • L9760 importKillChain (declaration) — function importKillChain(event) {
  • L9846 exportCSV (declaration) — function exportCSV() {
  • L9899 formatConfidence (arrow-function) — const formatConfidence = (meta) => {
  • L9904 formatCveList (arrow-function) — const formatCveList = (meta) => {
  • L10027 sanitizeForCsv (arrow-function) — const sanitizeForCsv = (value) => {
  • L10061 toggleDropdown (declaration) — function toggleDropdown(id) {
  • L10070 closeDropdowns (declaration) — function closeDropdowns() {
  • L10096 openMetadataEditor (declaration) — function openMetadataEditor(type, id, phaseKey, instanceId) {
  • L10149 closeMetadataEditor (declaration) — function closeMetadataEditor(event) {
  • L10155 selectScore (declaration) — function selectScore(value) {
  • L10161 updateConfidenceLabel (declaration) — function updateConfidenceLabel(value) {
  • L10169 addCveRow (declaration) — function addCveRow(id = '', score = '', vector = '') {
  • L10204 addHyperlinkRow (declaration) — function addHyperlinkRow(label = '', url = '') {
  • L10231 addObservableRow (declaration) — function addObservableRow(type = 'ipv4-addr', value = '') {
  • L10262 saveMetadata (declaration) — function saveMetadata() {
  • L10403 showUsageGuide (declaration) — function showUsageGuide() {
  • L10407 closeUsageGuide (declaration) — function closeUsageGuide(event) {
  • L10416 showChangelog (async-declaration) — async function showChangelog() {
  • L10434 closeChangelog (declaration) — function closeChangelog(event) {
  • L10449 showToast (declaration) — function showToast(message) {
  • L10456 renderAll (declaration) — function renderAll() {
  • L10469 enableLeaveSiteConfirmation (declaration) — function enableLeaveSiteConfirmation() {

explorer.html

  • L499 getPreferredThemeMode (declaration) — function getPreferredThemeMode() {
  • L509 normalizeThemeMode (declaration) — function normalizeThemeMode(mode) {
  • L513 normalizeThemeScheme (declaration) — function normalizeThemeScheme(mode, scheme) {
  • L521 applyTheme (declaration) — function applyTheme(mode, scheme, persist = true) {
  • L542 updateThemeControls (declaration) — function updateThemeControls() {
  • L551 toggleThemeMode (declaration) — function toggleThemeMode() {
  • L557 initThemeControls (declaration) — function initThemeControls() {
  • L569 syncThemeFromStorage (declaration) — function syncThemeFromStorage() {
  • L583 isLocalIframeIPCEnabled (declaration) — function isLocalIframeIPCEnabled() {
  • L588 isLocalIframeIPCTraceEnabled (declaration) — function isLocalIframeIPCTraceEnabled() {
  • L613 logLocalIframeIPCSplash (declaration) — function logLocalIframeIPCSplash(context) {
  • L625 logLocalIframeIPCTrace (declaration) — function logLocalIframeIPCTrace(context, message, details) {
  • L634 isPlainObject (declaration) — function isPlainObject(value) {
  • L638 hasOnlyAllowedKeys (declaration) — function hasOnlyAllowedKeys(value, allowedKeys, contextLabel) {
  • L653 deepFreeze (declaration) — function deepFreeze(value) {
  • L669 hasActiveParentIPCChannel (declaration) — function hasActiveParentIPCChannel() {
  • L673 setParentIPCChannel (declaration) — function setParentIPCChannel(port, nonce) {
  • L686 clearParentIPCWaitTimer (declaration) — function clearParentIPCWaitTimer() {
  • L692 getLocalIframeIPCBootstrapConfig (declaration) — function getLocalIframeIPCBootstrapConfig() {
  • L724 estimateBootstrapFailureWindowMs (declaration) — function estimateBootstrapFailureWindowMs() {
  • L735 scheduleParentIPCBootstrapFailureWatch (declaration) — function scheduleParentIPCBootstrapFailureWatch() {
  • L755 sendParentIPCRequest (declaration) — function sendParentIPCRequest(type) {
  • L769 validateAndFreezeSharedDataPayload (declaration) — function validateAndFreezeSharedDataPayload(rawData) {
  • L789 requestParentBridgeData (declaration) — function requestParentBridgeData() {
  • L804 initParentBridgeHandlers (declaration) — function initParentBridgeHandlers() {
  • L811 handleChannelMessage (arrow-function) — const handleChannelMessage = (event) => {
  • L920 isFileProtocolRuntime (declaration) — function isFileProtocolRuntime() {
  • L924 cloneJsonData (declaration) — function cloneJsonData(data) {
  • L931 parseJsonSafe (declaration) — function parseJsonSafe(text) {
  • L938 readLocalFileText (declaration) — function readLocalFileText(file) {
  • L947 promptOfflineResourceFiles (async-declaration) — async function promptOfflineResourceFiles(requiredFileNames = OFFLINE_RESOURCE_FILES) {
  • L962 cleanup (arrow-function) — const cleanup = () => {
  • L1001 enableOfflineSelectionUI (declaration) — function enableOfflineSelectionUI() {
  • L1031 setStatus (declaration) — function setStatus(text) {
  • L1035 normalize (declaration) — function normalize(text) {
  • L1047 escapeHtml (declaration) — function escapeHtml(str) {
  • L1053 escapeAttr (declaration) — function escapeAttr(str) {
  • L1058 isSafeHttpUrl (declaration) — function isSafeHttpUrl(url) {
  • L1076 renderDescriptionWithBadges (declaration) — function renderDescriptionWithBadges(escapedText) {
  • L1090 unique (declaration) — function unique(arr) {
  • L1094 buildSearchIndex (declaration) — function buildSearchIndex() {
  • L1139 getBadgeClass (declaration) — function getBadgeClass(type) {
  • L1143 renderSuggestions (declaration) — function renderSuggestions(query) {
  • L1192 buildIndices (declaration) — function buildIndices() {
  • L1242 createTabs (declaration) — function createTabs() {
  • L1258 renderTabs (declaration) — function renderTabs() {
  • L1262 renderList (declaration) — function renderList() {
  • L1307 selectEntity (declaration) — function selectEntity(type, id) {
  • L1314 getMitreTechniqueUrl (declaration) — function getMitreTechniqueUrl(tech) {
  • L1324 getCapecUrl (declaration) — function getCapecUrl(id) {
  • L1330 getCweUrl (declaration) — function getCweUrl(id) {
  • L1336 getMitigationUrl (declaration) — function getMitigationUrl(id) {
  • L1341 buildRelatedForAttack (declaration) — function buildRelatedForAttack(techId) {
  • L1348 buildRelatedForCapec (declaration) — function buildRelatedForCapec(capecId) {
  • L1356 buildRelatedForCwe (declaration) — function buildRelatedForCwe(cweId) {
  • L1363 buildRelatedForMitigation (declaration) — function buildRelatedForMitigation(mitId) {
  • L1370 renderGraphColumn (declaration) — function renderGraphColumn(title, items, type) {
  • L1412 renderGraph (declaration) — function renderGraph() {
  • L1447 renderDetails (declaration) — function renderDetails() {
  • L1603 initEvents (declaration) — function initEvents() {
  • L1641 getParentSharedDataLoader (declaration) — function getParentSharedDataLoader() {
  • L1647 enableLeaveSiteConfirmation (declaration) — function enableLeaveSiteConfirmation() {
  • L1655 loadData (async-declaration) — async function loadData() {

stix-builder.html

  • L931 esc (arrow-function) — const esc = (str) => InputSecurity.escapeHtml(str);
  • L932 escAttr (arrow-function) — const escAttr = (str) => InputSecurity.sanitizeAttr(str);
  • L936 showToast (declaration) — function showToast(message) {
  • L943 getPreferredThemeMode (declaration) — function getPreferredThemeMode() {
  • L951 normalizeThemeMode (declaration) — function normalizeThemeMode(mode) {
  • L955 normalizeThemeScheme (declaration) — function normalizeThemeScheme(mode, scheme) {
  • L963 applyTheme (declaration) — function applyTheme(mode, scheme, persist = true) {
  • L979 updateThemeControls (declaration) — function updateThemeControls() {
  • L988 toggleThemeMode (declaration) — function toggleThemeMode() {
  • L994 initThemeControls (declaration) — function initThemeControls() {
  • L1001 syncThemeFromStorage (declaration) — function syncThemeFromStorage() {
  • L1010 isLocalIframeIPCEnabled (declaration) — function isLocalIframeIPCEnabled() {
  • L1015 isLocalIframeIPCTraceEnabled (declaration) — function isLocalIframeIPCTraceEnabled() {
  • L1034 logLocalIframeIPCSplash (declaration) — function logLocalIframeIPCSplash(context) {
  • L1046 logLocalIframeIPCTrace (declaration) — function logLocalIframeIPCTrace(context, message, details) {
  • L1055 isPlainObject (declaration) — function isPlainObject(value) {
  • L1059 hasOnlyAllowedKeys (declaration) — function hasOnlyAllowedKeys(value, allowedKeys, contextLabel) {
  • L1080 hasActiveParentIPCChannel (declaration) — function hasActiveParentIPCChannel() {
  • L1084 setParentIPCChannel (declaration) — function setParentIPCChannel(port, nonce) {
  • L1097 clearParentIPCWaitTimer (declaration) — function clearParentIPCWaitTimer() {
  • L1103 getLocalIframeIPCBootstrapConfig (declaration) — function getLocalIframeIPCBootstrapConfig() {
  • L1135 estimateBootstrapFailureWindowMs (declaration) — function estimateBootstrapFailureWindowMs() {
  • L1146 scheduleParentIPCBootstrapFailureWatch (declaration) — function scheduleParentIPCBootstrapFailureWatch() {
  • L1159 requestParentTheme (declaration) — function requestParentTheme() {
  • L1178 initParentThemeBridge (declaration) — function initParentThemeBridge() {
  • L1185 handleChannelMessage (arrow-function) — const handleChannelMessage = (event) => {
  • L1248 generateUUID (declaration) — function generateUUID() {
  • L1258 isDangerousObjectKey (declaration) — function isDangerousObjectKey(key) {
  • L1262 createSafeObject (declaration) — function createSafeObject() {
  • L1266 hasOwn (declaration) — function hasOwn(obj, key) {
  • L1270 parseJsonSafe (declaration) — function parseJsonSafe(text) {
  • L1277 stripAngleBracketsFromJson (declaration) — function stripAngleBracketsFromJson(obj) {
  • L1291 sanitizeUserInputText (declaration) — function sanitizeUserInputText(text) {
  • L1297 sanitizeImportedString (declaration) — function sanitizeImportedString(str, maxLength = INPUT_LIMITS.maxStringLength) {
  • L1308 applyInputGuards (declaration) — function applyInputGuards() {
  • L1334 isTextInputElement (declaration) — function isTextInputElement(el) {
  • L1338 isSafeHttpUrl (declaration) — function isSafeHttpUrl(url) {
  • L1425 getObjectCategory (declaration) — function getObjectCategory(type) {
  • L1430 getObjectDisplayName (declaration) — function getObjectDisplayName(obj) {
  • L1434 buildAddTypeOptions (declaration) — function buildAddTypeOptions() {
  • L1446 setActiveTab (declaration) — function setActiveTab(tabKey) {
  • L1452 renderTabs (declaration) — function renderTabs() {
  • L1464 renderObjectList (declaration) — function renderObjectList() {
  • L1511 selectObject (declaration) — function selectObject(id) {
  • L1520 getActiveObject (declaration) — function getActiveObject() {
  • L1524 createDefaultObject (declaration) — function createDefaultObject(type) {
  • L1545 getDefaultForField (declaration) — function getDefaultForField(field) {
  • L1569 addObject (declaration) — function addObject(type) {
  • L1587 deleteActiveObject (declaration) — function deleteActiveObject() {
  • L1599 renderEditor (declaration) — function renderEditor() {
  • L1630 setCenterMode (declaration) — function setCenterMode(mode) {
  • L1641 renderCenterMode (declaration) — function renderCenterMode() {
  • L1666 isRequiredField (declaration) — function isRequiredField(field, def, isCommon) {
  • L1671 renderField (declaration) — function renderField(obj, field, required) {
  • L1686 renderFieldInput (declaration) — function renderFieldInput(obj, field, value) {
  • L1735 renderEnumField (declaration) — function renderEnumField(field, key, value) {
  • L1745 renderOpenVocabField (declaration) — function renderOpenVocabField(field, key, value) {
  • L1756 renderListField (declaration) — function renderListField(field, key, values) {
  • L1780 renderObjectRefsField (declaration) — function renderObjectRefsField(field, key, values) {
  • L1800 renderKillChainField (declaration) — function renderKillChainField(key, values) {
  • L1826 renderExternalReferencesField (declaration) — function renderExternalReferencesField(key, values) {
  • L1847 renderReferenceHashesField (declaration) — function renderReferenceHashesField(refKey, index, hashes) {
  • L1867 renderGranularMarkingsField (declaration) — function renderGranularMarkingsField(key, values) {
  • L1890 renderDictionaryField (declaration) — function renderDictionaryField(key, values, prefix = 'dict', meta = {}) {
  • L1909 renderHashesField (declaration) — function renderHashesField(key, values, inline, prefix = 'hash') {
  • L1929 renderExtensionsField (declaration) — function renderExtensionsField(key, values) {
  • L1948 renderMarkingDefinitionField (declaration) — function renderMarkingDefinitionField(obj, key, value) {
  • L1965 updateBundlePreview (declaration) — function updateBundlePreview() {
  • L1969 renderBundleSummary (declaration) — function renderBundleSummary() {
  • L1978 renderBundlePreview (declaration) — function renderBundlePreview() {
  • L1984 setVisualizerButtonState (declaration) — function setVisualizerButtonState() {
  • L1991 updateStatus (declaration) — function updateStatus(ok, message) {
  • L2006 openBundleIssues (declaration) — function openBundleIssues() {
  • L2033 closeBundleIssues (declaration) — function closeBundleIssues(event) {
  • L2038 clearBundle (declaration) — function clearBundle() {
  • L2064 sanitizeDictionary (declaration) — function sanitizeDictionary(raw, maxItems = INPUT_LIMITS.maxListItems) {
  • L2076 sanitizeExtensions (declaration) — function sanitizeExtensions(raw, maxItems = INPUT_LIMITS.maxListItems) {
  • L2088 sanitizeImportedFieldValue (declaration) — function sanitizeImportedFieldValue(field, raw) {
  • L2147 sanitizeImportedObject (declaration) — function sanitizeImportedObject(obj) {
  • L2181 sanitizeBundleForVisualizer (declaration) — function sanitizeBundleForVisualizer(bundle) {
  • L2196 renderVisualizer (declaration) — function renderVisualizer() {
  • L2230 validateBundle (declaration) — function validateBundle() {
  • L2275 hasValue (declaration) — function hasValue(value, type) {
  • L2283 validateObjectFields (declaration) — function validateObjectFields(obj, def, issues) {
  • L2354 sanitizeValue (declaration) — function sanitizeValue(value) {
  • L2359 handleEditorInput (declaration) — function handleEditorInput(event) {
  • L2477 collectDictionary (declaration) — function collectDictionary(fieldKey, prefix) {
  • L2489 collectExtensions (declaration) — function collectExtensions(fieldKey) {
  • L2501 handleEditorClick (declaration) — function handleEditorClick(event) {
  • L2682 exportBundle (declaration) — function exportBundle() {
  • L2696 importBundle (declaration) — function importBundle(file) {
  • L2749 copyActiveJson (declaration) — function copyActiveJson() {
  • L2756 initEvents (declaration) — function initEvents() {
  • L2797 enableLeaveSiteConfirmation (declaration) — function enableLeaveSiteConfirmation() {

config.js

  • L233 resolveTheme (declaration) — function resolveTheme(mode = CONFIG.themeDefaults?.mode, scheme = CONFIG.themeDefaults?.scheme) {
  • L246 applyConfigColors (declaration) — function applyConfigColors(theme) {

stix-config.js

  • L548 getStixFieldsForType (declaration) — function getStixFieldsForType(stixType) {
  • L558 getStixTypeKeys (declaration) — function getStixTypeKeys() {
  • L563 getStixTypeLabel (declaration) — function getStixTypeLabel(stixType) {
  • L568 getStixVocabulary (declaration) — function getStixVocabulary(vocabKey) {