Skip to content

Commit

Permalink
Merge pull request #111 from jeffkause/CyHyMessage.py-update
Browse files Browse the repository at this point in the history
Update CyhyMessage.py
  • Loading branch information
jsf9k authored Sep 3, 2024
2 parents 8a80b70 + 491a189 commit a8db690
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 1 deletion.
4 changes: 4 additions & 0 deletions cyhy/mailer/CyhyMessage.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ class CyhyMessage(ReportMessage):
The Cyber Hygiene scan results are attached for your review. Same password as before. (If this is your first report and you have yet to receive a password, please let us know.)
Additional details regarding findings, hosts, mitigated vulnerabilities, potentially risky services, etc., can be found under Appendix G: Attachments. To access the attachments embedded within the report, open the report with a dedicated PDF reader (such as Adobe Acrobat), and click on the paper clip icon to the left of the attachment name.
{{#has_tech_pocs}}
Note: CISA has the following information listed as the Technical Points of Contact for {{acronym}}:
Expand Down Expand Up @@ -61,6 +63,8 @@ class CyhyMessage(ReportMessage):
<p>The Cyber Hygiene scan results are attached for your review. Same password as before. (If this is your first report and you have yet to receive a password, please let us know.)</p>
<p><b>Additional details regarding findings, hosts, mitigated vulnerabilities, potentially risky services, etc., can be found under Appendix G: Attachments.</b> To access the attachments embedded within the report, open the report with a dedicated PDF reader (such as Adobe Acrobat), and click on the paper clip icon to the left of the attachment name.</p>
{{#has_tech_pocs}}
<p>Note: CISA has the following information listed as the Technical Points of Contact for {{acronym}}:</p>
Expand Down
2 changes: 1 addition & 1 deletion cyhy/mailer/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""This package contains the cyhy-mailer code."""

__version__ = "1.7.1"
__version__ = "1.7.2"
20 changes: 20 additions & 0 deletions tests/test_cyhymessage.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ def test_four_params_single_recipient_no_pocs(self):
The Cyber Hygiene scan results are attached for your review. Same password as before. (If this is your first report and you have yet to receive a password, please let us know.)
Additional details regarding findings, hosts, mitigated vulnerabilities, potentially risky services, etc., can be found under Appendix G: Attachments. To access the attachments embedded within the report, open the report with a dedicated PDF reader (such as Adobe Acrobat), and click on the paper clip icon to the left of the attachment name.
If you have any questions, please contact our office.
Cheers,
Expand All @@ -64,6 +66,8 @@ def test_four_params_single_recipient_no_pocs(self):
<p>The Cyber Hygiene scan results are attached for your review. Same password as before. (If this is your first report and you have yet to receive a password, please let us know.)</p>
<p><b>Additional details regarding findings, hosts, mitigated vulnerabilities, potentially risky services, etc., can be found under Appendix G: Attachments.</b> To access the attachments embedded within the report, open the report with a dedicated PDF reader (such as Adobe Acrobat), and click on the paper clip icon to the left of the attachment name.</p>
<p>If you have any questions, please contact our office.</p>
<p>Cheers,<br>
Expand Down Expand Up @@ -116,6 +120,8 @@ def test_four_params_single_recipient_multiple_pocs(self):
The Cyber Hygiene scan results are attached for your review. Same password as before. (If this is your first report and you have yet to receive a password, please let us know.)
Additional details regarding findings, hosts, mitigated vulnerabilities, potentially risky services, etc., can be found under Appendix G: Attachments. To access the attachments embedded within the report, open the report with a dedicated PDF reader (such as Adobe Acrobat), and click on the paper clip icon to the left of the attachment name.
Note: CISA has the following information listed as the Technical Points of Contact for CLARKE:
Name: Cixin Liu
Expand Down Expand Up @@ -144,6 +150,8 @@ def test_four_params_single_recipient_multiple_pocs(self):
<p>The Cyber Hygiene scan results are attached for your review. Same password as before. (If this is your first report and you have yet to receive a password, please let us know.)</p>
<p><b>Additional details regarding findings, hosts, mitigated vulnerabilities, potentially risky services, etc., can be found under Appendix G: Attachments.</b> To access the attachments embedded within the report, open the report with a dedicated PDF reader (such as Adobe Acrobat), and click on the paper clip icon to the left of the attachment name.</p>
<p>Note: CISA has the following information listed as the Technical Points of Contact for CLARKE:</p>
<p>
Expand Down Expand Up @@ -206,6 +214,8 @@ def test_four_params_multiple_recipients_one_poc(self):
The Cyber Hygiene scan results are attached for your review. Same password as before. (If this is your first report and you have yet to receive a password, please let us know.)
Additional details regarding findings, hosts, mitigated vulnerabilities, potentially risky services, etc., can be found under Appendix G: Attachments. To access the attachments embedded within the report, open the report with a dedicated PDF reader (such as Adobe Acrobat), and click on the paper clip icon to the left of the attachment name.
Note: CISA has the following information listed as the Technical Points of Contact for CLARKE:
Name: Cixin Liu
Expand All @@ -231,6 +241,8 @@ def test_four_params_multiple_recipients_one_poc(self):
<p>The Cyber Hygiene scan results are attached for your review. Same password as before. (If this is your first report and you have yet to receive a password, please let us know.)</p>
<p><b>Additional details regarding findings, hosts, mitigated vulnerabilities, potentially risky services, etc., can be found under Appendix G: Attachments.</b> To access the attachments embedded within the report, open the report with a dedicated PDF reader (such as Adobe Acrobat), and click on the paper clip icon to the left of the attachment name.</p>
<p>Note: CISA has the following information listed as the Technical Points of Contact for CLARKE:</p>
<p>
Expand Down Expand Up @@ -300,6 +312,8 @@ def test_six_params_single_cc_one_poc(self):
The Cyber Hygiene scan results are attached for your review. Same password as before. (If this is your first report and you have yet to receive a password, please let us know.)
Additional details regarding findings, hosts, mitigated vulnerabilities, potentially risky services, etc., can be found under Appendix G: Attachments. To access the attachments embedded within the report, open the report with a dedicated PDF reader (such as Adobe Acrobat), and click on the paper clip icon to the left of the attachment name.
Note: CISA has the following information listed as the Technical Points of Contact for CLARKE:
Name: Cixin Liu
Expand All @@ -325,6 +339,8 @@ def test_six_params_single_cc_one_poc(self):
<p>The Cyber Hygiene scan results are attached for your review. Same password as before. (If this is your first report and you have yet to receive a password, please let us know.)</p>
<p><b>Additional details regarding findings, hosts, mitigated vulnerabilities, potentially risky services, etc., can be found under Appendix G: Attachments.</b> To access the attachments embedded within the report, open the report with a dedicated PDF reader (such as Adobe Acrobat), and click on the paper clip icon to the left of the attachment name.</p>
<p>Note: CISA has the following information listed as the Technical Points of Contact for CLARKE:</p>
<p>
Expand Down Expand Up @@ -394,6 +410,8 @@ def test_six_params_multiple_cc_one_poc(self):
The Cyber Hygiene scan results are attached for your review. Same password as before. (If this is your first report and you have yet to receive a password, please let us know.)
Additional details regarding findings, hosts, mitigated vulnerabilities, potentially risky services, etc., can be found under Appendix G: Attachments. To access the attachments embedded within the report, open the report with a dedicated PDF reader (such as Adobe Acrobat), and click on the paper clip icon to the left of the attachment name.
Note: CISA has the following information listed as the Technical Points of Contact for CLARKE:
Name: Cixin Liu
Expand All @@ -419,6 +437,8 @@ def test_six_params_multiple_cc_one_poc(self):
<p>The Cyber Hygiene scan results are attached for your review. Same password as before. (If this is your first report and you have yet to receive a password, please let us know.)</p>
<p><b>Additional details regarding findings, hosts, mitigated vulnerabilities, potentially risky services, etc., can be found under Appendix G: Attachments.</b> To access the attachments embedded within the report, open the report with a dedicated PDF reader (such as Adobe Acrobat), and click on the paper clip icon to the left of the attachment name.</p>
<p>Note: CISA has the following information listed as the Technical Points of Contact for CLARKE:</p>
<p>
Expand Down

0 comments on commit a8db690

Please sign in to comment.