Created
April 29, 2023 18:45
-
-
Save wheel5up/a269926ead3d9eff40253643ab2d40d6 to your computer and use it in GitHub Desktop.
State diagram of Security Hub findings integration with Jira
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@startuml | |
!include <awslib/AWSCommon> | |
!include <awslib/AWSSimplified> | |
!include <awslib/Groups/StepFunctionsWorkflow> | |
state seachForJiraIssue:Search for Jira issue \nby finding ID | |
state createJiraIssue:Create Jira issue from finding | |
state createOrUpdateJiraIssue <<choice>> | |
state transitionOrUpdateJiraIssue <<choice>> | |
state moreThanOneJiraIssue: finding ID's should be unique | |
state transitionJiraIssue: Reopen issue before update | |
state updateJiraIssue: Update Jira Issue | |
[*] --> seachForJiraIssue | |
seachForJiraIssue-[#green,thickness=5]-> createOrUpdateJiraIssue | |
createOrUpdateJiraIssue -[#green,thickness=5]-> createJiraIssue: Issue not found | |
createOrUpdateJiraIssue -[#green,thickness=5]-> transitionOrUpdateJiraIssue: Issue Found | |
createOrUpdateJiraIssue -[#red,thickness=5]-> moreThanOneJiraIssue: Multiple Issues | |
transitionOrUpdateJiraIssue -[#green,thickness=5]-> transitionJiraIssue: Reopen | |
transitionOrUpdateJiraIssue -[#green,thickness=5]-> updateJiraIssue: Update | |
transitionJiraIssue -[#green,thickness=5]-> updateJiraIssue: Update | |
createJiraIssue -[#green,thickness=5]-> [*] | |
updateJiraIssue -[#green,thickness=5]-> [*] | |
@enduml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment