Skip to content

Commit

Permalink
Update create-jira-tickets.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
jca27 authored Jan 13, 2025
1 parent b259411 commit 9990af5
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions create-jira-tickets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,9 @@ echo "Found $todays_alert_count vulnerabilities from today."

# # Iterate through each group and create a Jira ticket
jq -c '.[]' grouped_alerts.json | while read -r group; do
echo "$group"
exit 1
# severity=$(echo "$group" | jq -r '.severity' | tr '[:lower:]' '[:upper:]')
# severity_alerts=$(echo "$group" | jq -c '.alerts')
severity=$(echo "$group" | jq -r '.severity' | tr '[:lower:]' '[:upper:]')
echo $severity
severity_alerts=$(echo "$group" | jq -c '.alerts')
# priority="None"
# sla_days=0

Expand Down

0 comments on commit 9990af5

Please sign in to comment.