mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-18 23:44:13 +02:00
Add description to disclose_security_emails script
This commit is contained in:
parent
273d457ac6
commit
4ddf96aed4
1 changed files with 8 additions and 4 deletions
|
@ -1,4 +1,8 @@
|
||||||
""""Script description"""
|
""""
|
||||||
|
Converts all ready and DNS needed domains with a non-default public contact
|
||||||
|
to disclose their public contact. Created for Issue#1535 to resolve
|
||||||
|
disclose issue of domains with missing security emails.
|
||||||
|
"""
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
import copy
|
import copy
|
||||||
|
@ -9,8 +13,7 @@ from registrar.models import Domain
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
class Command(BaseCommand):
|
class Command(BaseCommand):
|
||||||
# TODO: write script description here
|
help = "Disclose all nondefault domain security emails."
|
||||||
help = "Description"
|
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
"""Sets global variables for code tidyness"""
|
"""Sets global variables for code tidyness"""
|
||||||
|
@ -26,7 +29,8 @@ class Command(BaseCommand):
|
||||||
|
|
||||||
def handle(self, **options):
|
def handle(self, **options):
|
||||||
"""
|
"""
|
||||||
Description for what update_security_email_disclose does
|
Converts all ready and DNS needed domains with a non-default public contact
|
||||||
|
to disclose their public contact.
|
||||||
"""
|
"""
|
||||||
logger.info("Updating security emails to public")
|
logger.info("Updating security emails to public")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue