cisagov / cyhy-core

Core code for Cyber Hygiene (CyHy)
Other
8 stars 10 forks source link

Check for Acronym when on-boarding a new stakeholder #84

Open jeffkause opened 11 months ago

jeffkause commented 11 months ago

🐛 Summary

When importing a new stakeholder, cyhy-simple and cyhy-import does not check for a blank id or acronym.

To reproduce

Steps to reproduce the behavior:

If the Service Support team leaves the id "blank" during request template creation, the imported JSON file will have a no information for the stakeholder id or acronym field.

Expected behavior

During the importing of the JSON file into the database, an error should be generated if the id and acronym are a blank value.

Any helpful log output or screenshots

cyhy-ip check AlXXXXX. enter (): 1 XX.XX.XX.1/32