{"action":"created","comment":{"url":"https://api.github.com/repos/OISF/suricata-update/pulls/comments/294046172","pull_request_review_id":250191774,"id":294046172,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI5NDA0NjE3Mg==","diff_hunk":"@@ -0,0 +1,250 @@\n+# Copyright (C) 2017 Open Information Security Foundation\n+# Copyright (c) 2015-2017 Jason Ish\n+#\n+# You can copy, redistribute or modify this Program under the terms of\n+# the GNU General Public License version 2 as published by the Free\n+# Software Foundation.\n+#\n+# This program is distributed in the hope that it will be useful,\n+# but WITHOUT ANY WARRANTY; without even the implied warranty of\n+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n+# GNU General Public License for more details.\n+#\n+# You should have received a copy of the GNU General Public License\n+# version 2 along with this program; if not, write to the Free Software\n+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA\n+# 02110-1301, USA.\n+\n+# This module contains functions for command line parsers for\n+# suricata-update\n+\n+import sys\n+import argparse\n+import logging\n+from suricata.update import commands, config\n+\n+from suricata.update.version import version\n+try:\n+    from suricata.update.revision import revision\n+except:\n+    revision = None\n+\n+logger = logging.getLogger()\n+\n+\n+def parse_global(arguments):\n+    global_parser = argparse.ArgumentParser(add_help=False)\n+\n+    for arg, opts in arguments:\n+        global_parser.add_argument(*arg, **opts)\n+\n+    return global_parser\n+\n+\n+def parse_update(subparsers, global_parser, arguments):\n+    # The \"update\" (default) sub-command parser.\n+    update_parser = subparsers.add_parser(\n+        \"update\", add_help=True, parents=[global_parser],\n+        formatter_class=argparse.RawDescriptionHelpFormatter)\n+\n+    for arg, opts in arguments:\n+        update_parser.add_argument(*arg, **opts)\n+\n+    return update_parser\n+\n+\n+def parse_commands(subparsers, global_parser):\n+    commands.listsources.register(subparsers.add_parser(\n+        \"list-sources\", parents=[global_parser]))\n+    commands.listenabledsources.register(subparsers.add_parser(\n+        \"list-enabled-sources\", parents=[global_parser]))\n+    commands.addsource.register(subparsers.add_parser(\n+        \"add-source\", parents=[global_parser]))\n+    commands.updatesources.register(subparsers.add_parser(\n+        \"update-sources\", parents=[global_parser]))\n+    commands.enablesource.register(subparsers.add_parser(\n+        \"enable-source\", parents=[global_parser]))\n+    commands.disablesource.register(subparsers.add_parser(\n+        \"disable-source\", parents=[global_parser]))\n+    commands.removesource.register(subparsers.add_parser(\n+        \"remove-source\", parents=[global_parser]))\n+\n+\n+def parse_arg():\n+    default_update_yaml = config.DEFAULT_UPDATE_YAML_PATH\n+\n+    arguments = [\n+        ((\"-v\", \"--verbose\"),\n+            {'action': 'store_true', 'default': None,\n+                'help': \"Be more verbose\"}),\n+        ((\"-q\", \"--quiet\"),\n+            {'action': 'store_true', 'default': None,\n+                'help': \"Be quiet, warning and error messages only\"}),\n+        ((\"-D\", \"--data-dir\"),\n+            {'metavar': '<directory>', 'dest': 'data_dir',\n+                'help': \"Data directory (default: /var/lib/suricata)\"}),\n+        ((\"-c\", \"--config\"),\n+            {'metavar': '<filename>',\n+                'help': \"configuration file (default: %s)\"\n+                % (default_update_yaml)}),\n+        ((\"--suricata-conf\",),\n+            {'metavar': '<filename>',\n+                'help': \"configuration file \"\n+                \"(default: /etc/suricata/suricata.yaml)\"}),\n+        ((\"--suricata\",),\n+            {'metavar': '<path>',\n+                'help': \"Path to Suricata program\"}),\n+        ((\"--suricata-version\",),\n+            {'metavar': '<version>',\n+                'help': \"Override Suricata version\"}),\n+        ((\"--user-agent\",),\n+            {'metavar': '<user-agent>',\n+                'help': \"Set custom user-agent string\"}),\n+        ((\"--no-check-certificate\",),\n+            {'action': 'store_true', 'default': None,\n+                'help': \"Disable server SSL/TLS certificate verification\"}),\n+        ((\"-V\", \"--version\"),\n+            {'action': 'store_true', 'default': False,\n+                'help': \"Display version\"})\n+    ]","path":"suricata/update/parsers.py","position":109,"original_position":109,"commit_id":"4e93e7fb8f444e95da005048bb9cfd82b21c9a12","original_commit_id":"4e93e7fb8f444e95da005048bb9cfd82b21c9a12","user":{"login":"vagishagupta23","id":13084869,"node_id":"MDQ6VXNlcjEzMDg0ODY5","avatar_url":"https://avatars3.githubusercontent.com/u/13084869?v=4","gravatar_id":"","url":"https://api.github.com/users/vagishagupta23","html_url":"https://github.com/vagishagupta23","followers_url":"https://api.github.com/users/vagishagupta23/followers","following_url":"https://api.github.com/users/vagishagupta23/following{/other_user}","gists_url":"https://api.github.com/users/vagishagupta23/gists{/gist_id}","starred_url":"https://api.github.com/users/vagishagupta23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vagishagupta23/subscriptions","organizations_url":"https://api.github.com/users/vagishagupta23/orgs","repos_url":"https://api.github.com/users/vagishagupta23/repos","events_url":"https://api.github.com/users/vagishagupta23/events{/privacy}","received_events_url":"https://api.github.com/users/vagishagupta23/received_events","type":"User","site_admin":false},"body":"@shivan1b I did move the argument list out of the `parse_global` and `parse_update` functions. It's unclear which function here are you referring to? And where should I move these lists? ","created_at":"2019-06-15T12:55:17Z","updated_at":"2019-06-15T12:55:18Z","html_url":"https://github.com/OISF/suricata-update/pull/167#discussion_r294046172","pull_request_url":"https://api.github.com/repos/OISF/suricata-update/pulls/167","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/OISF/suricata-update/pulls/comments/294046172"},"html":{"href":"https://github.com/OISF/suricata-update/pull/167#discussion_r294046172"},"pull_request":{"href":"https://api.github.com/repos/OISF/suricata-update/pulls/167"}},"in_reply_to_id":294042493},"pull_request":{"url":"https://api.github.com/repos/OISF/suricata-update/pulls/167","id":287872182,"node_id":"MDExOlB1bGxSZXF1ZXN0Mjg3ODcyMTgy","html_url":"https://github.com/OISF/suricata-update/pull/167","diff_url":"https://github.com/OISF/suricata-update/pull/167.diff","patch_url":"https://github.com/OISF/suricata-update/pull/167.patch","issue_url":"https://api.github.com/repos/OISF/suricata-update/issues/167","number":167,"state":"open","locked":false,"title":"Separate out parsers","user":{"login":"vagishagupta23","id":13084869,"node_id":"MDQ6VXNlcjEzMDg0ODY5","avatar_url":"https://avatars3.githubusercontent.com/u/13084869?v=4","gravatar_id":"","url":"https://api.github.com/users/vagishagupta23","html_url":"https://github.com/vagishagupta23","followers_url":"https://api.github.com/users/vagishagupta23/followers","following_url":"https://api.github.com/users/vagishagupta23/following{/other_user}","gists_url":"https://api.github.com/users/vagishagupta23/gists{/gist_id}","starred_url":"https://api.github.com/users/vagishagupta23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vagishagupta23/subscriptions","organizations_url":"https://api.github.com/users/vagishagupta23/orgs","repos_url":"https://api.github.com/users/vagishagupta23/repos","events_url":"https://api.github.com/users/vagishagupta23/events{/privacy}","received_events_url":"https://api.github.com/users/vagishagupta23/received_events","type":"User","site_admin":false},"body":"Parsers are separated out of the `main.py` module to a new `parsers.py`\r\nmodule to make code cleaner and compact.\r\n\r\nThis patch is heavily based on Vidushi's work.\r\nThanks to Vidushi Agrawal <vidushi229@gmail.com>\r\n\r\nMake sure these boxes are signed before submitting your Pull Request\r\n-- thank you.\r\n\r\n- [x] I have read the contributing guide lines at\r\n  https://redmine.openinfosecfoundation.org/projects/suricata/wiki/Contributing\r\n- [x] I have signed the Open Information Security Foundation\r\n  contribution agreement at\r\n  https://suricata-ids.org/about/contribution-agreement/\r\n- [ ] I have updated the user guide (in doc/userguide/) to reflect the\r\n  changes made (if applicable)\r\n\r\nLink to [redmine](https://redmine.openinfosecfoundation.org/projects/suricata/issues) ticket: https://redmine.openinfosecfoundation.org/issues/2874\r\n\r\nDescribe changes:\r\n- Created a new module `parsers.py` with reduced repetitions of\r\n  `add_argument` by storing the arguments in a tuple and added\r\n  the parsers to the loop.\r\n- Also, `parsers.py` is broken into smaller functions based on different\r\n  parsers i.e. `global_parser`, `update_parsers` and `commands`.\r\n","created_at":"2019-06-13T11:00:13Z","updated_at":"2019-06-15T12:55:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"779030c5b59307eafc25eca751c0e385750bb06f","assignee":null,"assignees":[],"requested_reviewers":[{"login":"jasonish","id":644115,"node_id":"MDQ6VXNlcjY0NDExNQ==","avatar_url":"https://avatars3.githubusercontent.com/u/644115?v=4","gravatar_id":"","url":"https://api.github.com/users/jasonish","html_url":"https://github.com/jasonish","followers_url":"https://api.github.com/users/jasonish/followers","following_url":"https://api.github.com/users/jasonish/following{/other_user}","gists_url":"https://api.github.com/users/jasonish/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonish/subscriptions","organizations_url":"https://api.github.com/users/jasonish/orgs","repos_url":"https://api.github.com/users/jasonish/repos","events_url":"https://api.github.com/users/jasonish/events{/privacy}","received_events_url":"https://api.github.com/users/jasonish/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/OISF/suricata-update/pulls/167/commits","review_comments_url":"https://api.github.com/repos/OISF/suricata-update/pulls/167/comments","review_comment_url":"https://api.github.com/repos/OISF/suricata-update/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OISF/suricata-update/issues/167/comments","statuses_url":"https://api.github.com/repos/OISF/suricata-update/statuses/4e93e7fb8f444e95da005048bb9cfd82b21c9a12","head":{"label":"vagishagupta23:opt-2874/v3","ref":"opt-2874/v3","sha":"4e93e7fb8f444e95da005048bb9cfd82b21c9a12","user":{"login":"vagishagupta23","id":13084869,"node_id":"MDQ6VXNlcjEzMDg0ODY5","avatar_url":"https://avatars3.githubusercontent.com/u/13084869?v=4","gravatar_id":"","url":"https://api.github.com/users/vagishagupta23","html_url":"https://github.com/vagishagupta23","followers_url":"https://api.github.com/users/vagishagupta23/followers","following_url":"https://api.github.com/users/vagishagupta23/following{/other_user}","gists_url":"https://api.github.com/users/vagishagupta23/gists{/gist_id}","starred_url":"https://api.github.com/users/vagishagupta23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vagishagupta23/subscriptions","organizations_url":"https://api.github.com/users/vagishagupta23/orgs","repos_url":"https://api.github.com/users/vagishagupta23/repos","events_url":"https://api.github.com/users/vagishagupta23/events{/privacy}","received_events_url":"https://api.github.com/users/vagishagupta23/received_events","type":"User","site_admin":false},"repo":{"id":175442108,"node_id":"MDEwOlJlcG9zaXRvcnkxNzU0NDIxMDg=","name":"suricata-update","full_name":"vagishagupta23/suricata-update","private":false,"owner":{"login":"vagishagupta23","id":13084869,"node_id":"MDQ6VXNlcjEzMDg0ODY5","avatar_url":"https://avatars3.githubusercontent.com/u/13084869?v=4","gravatar_id":"","url":"https://api.github.com/users/vagishagupta23","html_url":"https://github.com/vagishagupta23","followers_url":"https://api.github.com/users/vagishagupta23/followers","following_url":"https://api.github.com/users/vagishagupta23/following{/other_user}","gists_url":"https://api.github.com/users/vagishagupta23/gists{/gist_id}","starred_url":"https://api.github.com/users/vagishagupta23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vagishagupta23/subscriptions","organizations_url":"https://api.github.com/users/vagishagupta23/orgs","repos_url":"https://api.github.com/users/vagishagupta23/repos","events_url":"https://api.github.com/users/vagishagupta23/events{/privacy}","received_events_url":"https://api.github.com/users/vagishagupta23/received_events","type":"User","site_admin":false},"html_url":"https://github.com/vagishagupta23/suricata-update","description":"The tool for updating your Suricata rules.","fork":true,"url":"https://api.github.com/repos/vagishagupta23/suricata-update","forks_url":"https://api.github.com/repos/vagishagupta23/suricata-update/forks","keys_url":"https://api.github.com/repos/vagishagupta23/suricata-update/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vagishagupta23/suricata-update/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vagishagupta23/suricata-update/teams","hooks_url":"https://api.github.com/repos/vagishagupta23/suricata-update/hooks","issue_events_url":"https://api.github.com/repos/vagishagupta23/suricata-update/issues/events{/number}","events_url":"https://api.github.com/repos/vagishagupta23/suricata-update/events","assignees_url":"https://api.github.com/repos/vagishagupta23/suricata-update/assignees{/user}","branches_url":"https://api.github.com/repos/vagishagupta23/suricata-update/branches{/branch}","tags_url":"https://api.github.com/repos/vagishagupta23/suricata-update/tags","blobs_url":"https://api.github.com/repos/vagishagupta23/suricata-update/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vagishagupta23/suricata-update/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vagishagupta23/suricata-update/git/refs{/sha}","trees_url":"https://api.github.com/repos/vagishagupta23/suricata-update/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vagishagupta23/suricata-update/statuses/{sha}","languages_url":"https://api.github.com/repos/vagishagupta23/suricata-update/languages","stargazers_url":"https://api.github.com/repos/vagishagupta23/suricata-update/stargazers","contributors_url":"https://api.github.com/repos/vagishagupta23/suricata-update/contributors","subscribers_url":"https://api.github.com/repos/vagishagupta23/suricata-update/subscribers","subscription_url":"https://api.github.com/repos/vagishagupta23/suricata-update/subscription","commits_url":"https://api.github.com/repos/vagishagupta23/suricata-update/commits{/sha}","git_commits_url":"https://api.github.com/repos/vagishagupta23/suricata-update/git/commits{/sha}","comments_url":"https://api.github.com/repos/vagishagupta23/suricata-update/comments{/number}","issue_comment_url":"https://api.github.com/repos/vagishagupta23/suricata-update/issues/comments{/number}","contents_url":"https://api.github.com/repos/vagishagupta23/suricata-update/contents/{+path}","compare_url":"https://api.github.com/repos/vagishagupta23/suricata-update/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vagishagupta23/suricata-update/merges","archive_url":"https://api.github.com/repos/vagishagupta23/suricata-update/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vagishagupta23/suricata-update/downloads","issues_url":"https://api.github.com/repos/vagishagupta23/suricata-update/issues{/number}","pulls_url":"https://api.github.com/repos/vagishagupta23/suricata-update/pulls{/number}","milestones_url":"https://api.github.com/repos/vagishagupta23/suricata-update/milestones{/number}","notifications_url":"https://api.github.com/repos/vagishagupta23/suricata-update/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vagishagupta23/suricata-update/labels{/name}","releases_url":"https://api.github.com/repos/vagishagupta23/suricata-update/releases{/id}","deployments_url":"https://api.github.com/repos/vagishagupta23/suricata-update/deployments","created_at":"2019-03-13T14:54:25Z","updated_at":"2019-05-16T09:34:20Z","pushed_at":"2019-06-13T17:12:53Z","git_url":"git://github.com/vagishagupta23/suricata-update.git","ssh_url":"git@github.com:vagishagupta23/suricata-update.git","clone_url":"https://github.com/vagishagupta23/suricata-update.git","svn_url":"https://github.com/vagishagupta23/suricata-update","homepage":"","size":4968,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"OISF:master","ref":"master","sha":"7797d6ab0c00051ce4be5ee7ee4120e81f1138b4","user":{"login":"OISF","id":2188963,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIxODg5NjM=","avatar_url":"https://avatars3.githubusercontent.com/u/2188963?v=4","gravatar_id":"","url":"https://api.github.com/users/OISF","html_url":"https://github.com/OISF","followers_url":"https://api.github.com/users/OISF/followers","following_url":"https://api.github.com/users/OISF/following{/other_user}","gists_url":"https://api.github.com/users/OISF/gists{/gist_id}","starred_url":"https://api.github.com/users/OISF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OISF/subscriptions","organizations_url":"https://api.github.com/users/OISF/orgs","repos_url":"https://api.github.com/users/OISF/repos","events_url":"https://api.github.com/users/OISF/events{/privacy}","received_events_url":"https://api.github.com/users/OISF/received_events","type":"Organization","site_admin":false},"repo":{"id":109008451,"node_id":"MDEwOlJlcG9zaXRvcnkxMDkwMDg0NTE=","name":"suricata-update","full_name":"OISF/suricata-update","private":false,"owner":{"login":"OISF","id":2188963,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIxODg5NjM=","avatar_url":"https://avatars3.githubusercontent.com/u/2188963?v=4","gravatar_id":"","url":"https://api.github.com/users/OISF","html_url":"https://github.com/OISF","followers_url":"https://api.github.com/users/OISF/followers","following_url":"https://api.github.com/users/OISF/following{/other_user}","gists_url":"https://api.github.com/users/OISF/gists{/gist_id}","starred_url":"https://api.github.com/users/OISF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OISF/subscriptions","organizations_url":"https://api.github.com/users/OISF/orgs","repos_url":"https://api.github.com/users/OISF/repos","events_url":"https://api.github.com/users/OISF/events{/privacy}","received_events_url":"https://api.github.com/users/OISF/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/OISF/suricata-update","description":"The tool for updating your Suricata rules.","fork":false,"url":"https://api.github.com/repos/OISF/suricata-update","forks_url":"https://api.github.com/repos/OISF/suricata-update/forks","keys_url":"https://api.github.com/repos/OISF/suricata-update/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OISF/suricata-update/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OISF/suricata-update/teams","hooks_url":"https://api.github.com/repos/OISF/suricata-update/hooks","issue_events_url":"https://api.github.com/repos/OISF/suricata-update/issues/events{/number}","events_url":"https://api.github.com/repos/OISF/suricata-update/events","assignees_url":"https://api.github.com/repos/OISF/suricata-update/assignees{/user}","branches_url":"https://api.github.com/repos/OISF/suricata-update/branches{/branch}","tags_url":"https://api.github.com/repos/OISF/suricata-update/tags","blobs_url":"https://api.github.com/repos/OISF/suricata-update/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OISF/suricata-update/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OISF/suricata-update/git/refs{/sha}","trees_url":"https://api.github.com/repos/OISF/suricata-update/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OISF/suricata-update/statuses/{sha}","languages_url":"https://api.github.com/repos/OISF/suricata-update/languages","stargazers_url":"https://api.github.com/repos/OISF/suricata-update/stargazers","contributors_url":"https://api.github.com/repos/OISF/suricata-update/contributors","subscribers_url":"https://api.github.com/repos/OISF/suricata-update/subscribers","subscription_url":"https://api.github.com/repos/OISF/suricata-update/subscription","commits_url":"https://api.github.com/repos/OISF/suricata-update/commits{/sha}","git_commits_url":"https://api.github.com/repos/OISF/suricata-update/git/commits{/sha}","comments_url":"https://api.github.com/repos/OISF/suricata-update/comments{/number}","issue_comment_url":"https://api.github.com/repos/OISF/suricata-update/issues/comments{/number}","contents_url":"https://api.github.com/repos/OISF/suricata-update/contents/{+path}","compare_url":"https://api.github.com/repos/OISF/suricata-update/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OISF/suricata-update/merges","archive_url":"https://api.github.com/repos/OISF/suricata-update/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OISF/suricata-update/downloads","issues_url":"https://api.github.com/repos/OISF/suricata-update/issues{/number}","pulls_url":"https://api.github.com/repos/OISF/suricata-update/pulls{/number}","milestones_url":"https://api.github.com/repos/OISF/suricata-update/milestones{/number}","notifications_url":"https://api.github.com/repos/OISF/suricata-update/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OISF/suricata-update/labels{/name}","releases_url":"https://api.github.com/repos/OISF/suricata-update/releases{/id}","deployments_url":"https://api.github.com/repos/OISF/suricata-update/deployments","created_at":"2017-10-31T14:35:39Z","updated_at":"2019-06-11T21:27:17Z","pushed_at":"2019-06-13T17:15:47Z","git_url":"git://github.com/OISF/suricata-update.git","ssh_url":"git@github.com:OISF/suricata-update.git","clone_url":"https://github.com/OISF/suricata-update.git","svn_url":"https://github.com/OISF/suricata-update","homepage":"","size":4952,"stargazers_count":81,"watchers_count":81,"language":"Python","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":38,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":22,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":38,"open_issues":22,"watchers":81,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OISF/suricata-update/pulls/167"},"html":{"href":"https://github.com/OISF/suricata-update/pull/167"},"issue":{"href":"https://api.github.com/repos/OISF/suricata-update/issues/167"},"comments":{"href":"https://api.github.com/repos/OISF/suricata-update/issues/167/comments"},"review_comments":{"href":"https://api.github.com/repos/OISF/suricata-update/pulls/167/comments"},"review_comment":{"href":"https://api.github.com/repos/OISF/suricata-update/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OISF/suricata-update/pulls/167/commits"},"statuses":{"href":"https://api.github.com/repos/OISF/suricata-update/statuses/4e93e7fb8f444e95da005048bb9cfd82b21c9a12"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"vagishagupta23"}}