Skip to content

Commit

Permalink
Update SOFA feed URL (fixes #9)
Browse files Browse the repository at this point in the history
  • Loading branch information
jc0b committed Jul 23, 2024
1 parent 9008420 commit cf506f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nudge-auto-updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
CISA_URL = "https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json"
DEFAULT_CONFIG_FILE_NAME = "configuration.yml"
DEFAULT_NUDGE_FILENAME = "nudge-config.json"
DEFAULT_SOFA_FEED = "https://sofa.macadmins.io/v1/macos_data_feed.json"
DEFAULT_SOFA_FEED = "https://sofafeed.macadmins.io/v1/macos_data_feed.json"
DATE_FORMAT = "%Y-%m-%dT%H:%M:%SZ"

HEADERS = {'accept': 'application/json', 'User-Agent': 'nudge-auto-updater/1.0'}
Expand Down Expand Up @@ -711,7 +711,7 @@ def process_options():
parser = optparse.OptionParser()
parser.set_usage('Usage: %prog [options]')
parser.add_option('--sofa-url', '-s', dest='sofa_url', default=DEFAULT_SOFA_FEED,
help="Custom SOFA feed URL. Should include the path to macos_data_feed.json.\nDefaults to https://sofa.macadmins.io/v1/macos_data_feed.json")
help="Custom SOFA feed URL. Should include the path to macos_data_feed.json.\nDefaults to https://sofafeed.macadmins.io/v1/macos_data_feed.json")
parser.add_option('--nudge-file', '-n', dest='nudge_file', default = DEFAULT_NUDGE_FILENAME,
help="The Nudge JSON config file to update.\nDefaults to nudge-config.json")
parser.add_option('--api-key', dest='api_key',
Expand Down

0 comments on commit cf506f5

Please sign in to comment.