FLOWCHART
+---------------------+
| Start of Program |
+---------------------+
|
v
+---------------------+
| Define Functions |
+---------------------+
|
v
+---------------------+
| Define Vendors |
+---------------------+
|
v
+---------------------+
| Loop over each |
| vendor |
+---------------------+
|
v
+---------------------+
| Convert vendor |
| to lowercase |
+---------------------+
|
v
+---------------------+
| Get current date |
| in YYYYMMDD format|
+---------------------+
|
v
+---------------------+
| Create directory |
| for current date |
+---------------------+
|
v
+---------------------+
| Check directory |
| existence and |
| create if needed |
+---------------------+
|
v
+---------------------+
| Define JSON file |
| name with full |
| path |
+---------------------+
|
v
+---------------------+
| Execute command |
| to retrieve CVEs |
| for the vendor |
+---------------------+
|
v
+---------------------+
| Concatenate all |
| JSON files into |
| a single file |
+---------------------+
|
v
+---------------------+
| Send email with |
| JSON file as |
| attachment |
+---------------------+
|
v
+---------------------+
| Display |
| confirmation |
| message for email |
+---------------------+
|
v
+---------------------+
| End of Program |
+---------------------+
Last updated