Skip to content
Snippets Groups Projects
Select Git revision
  • 784f6409dff4d725d0c54780c5e70d7406cc7796
  • main default protected
2 results

ERFormatConstants.py

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    ERFormatConstants.py 2.65 KiB
    #File contains constants from the CSV export format of the entity relationship tool
    
    #Generic fields for all rows in the CSV file  
    componentID = "Id"              # LucidChart ID 
    Id = "Id"                       # The id of the entity 
    
    textArea1 = "Text Area 1"
    textArea2 = "Text Area 2"
    textArea3 = "Text Area 3"
    textArea4 = "Text Area 4"
    textArea5 = "Text Area 5"
    textArea6 = "Text Area 6"
    textArea7 = "Text Area 7"
    textArea8 = "Text Area 8"
    textArea9 = "Text Area 9"
    textArea10 = "Text Area 10"
    textArea11 = "Text Area 11"
    textArea12 = "Text Area 12"
    textArea13 = "Text Area 13"
    textArea14 = "Text Area 14"
    textArea15 = "Text Area 15"
    textArea16 = "Text Area 16"
    
    
    #Mapped fields for Threat component 
    Threat = "Threat"               # The threat
    ThreatValue = textArea1                  # The threat
    
    ThreatID = textArea2            # The id of the threat
    ThreatIDValue = textArea3       # Value
    
    ThreatSource = textArea4        # The threat source
    ThreatSourceValue = textArea5        # Value
    
    Likelihood = textArea6          # The likelihood of the threat
    LikelihoodValue = textArea7     # Value
    
    ThreatDescription = textArea8         # The description of the threat
    ThreatDescriptionValue = textArea9    # Value
    
    Vulnerability = textArea10      # The vulnerability
    VulnerabilityValue = textArea11 # Value
    
    #Consequence
    Consequence = "Consequence"                 # The consequence score of the area -> Text area 6
    ConsequenceValue = textArea1            # The consequence
    
    ConsequenceID = textArea2                # The id of the consequence
    ConsequenceIDValue = textArea3           # Value
    
    ConsequenceDescription = textArea4                   # The description of the consequence
    ConsequenceDescriptionValue = textArea5              # Value
    
    ConsequenceScore = textArea6             # The consequence score of the area
    ConsequenceScoreValue = textArea7        # Value
    
    AffectedComponent = textArea8            # The affected component
    AffectedComponentValue = textArea9       # Value
    
    #Attack
    Attack = "Attack"                       # The attack
    AttackValue = textArea1                       # The attack
    
    AttackType = textArea2                   # The type of attack
    AttackTypeValue = textArea3              # Value
    
    AttackedComponent = textArea4            # The attacked component
    AttackedComponentValue = textArea5       # Value
    
    AttackDescription = textArea6            # The description of the attack
    AttackDescriptionValue = textArea7       # Value
    
    #Dynamics
    ThreatDynamic = "Threat Dynamics"        # The dynamics
    
    ConsequenceDynamic = "Consequence Dynamics" # The dynamics
    
    AttackDynamic = "Attack Dynamics"        # The dynamics
    
    Dynamics = "Dynamics"                    # The dynamics