<NME> elasticsearch_service.py
<BEF> #     Copyright 2015 Netflix, Inc.
#
#     Licensed under the Apache License, Version 2.0 (the "License");
#     you may not use this file except in compliance with the License.
#     You may obtain a copy of the License at
#
#         http://www.apache.org/licenses/LICENSE-2.0
#
#     Unless required by applicable law or agreed to in writing, software
#     distributed under the License is distributed on an "AS IS" BASIS,
#     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#     See the License for the specific language governing permissions and
#     limitations under the License.
"""
.. module: security_monkey.auditors.elb
    :platform: Unix

.. version:: $$VERSION$$
.. moduleauthor::  Mike Grima <mgrima@netflix.com>
.. moduleauthor:: Patrick Kelley <pkelley@netflix.com> @monkeysecurity

"""
from security_monkey.watchers.elasticsearch_service import ElasticSearchService
from security_monkey.auditors.resource_policy_auditor import ResourcePolicyAuditor
from policyuniverse.arn import ARN


class ElasticSearchServiceAuditor(ResourcePolicyAuditor):
    index = ElasticSearchService.index
    i_am_singular = ElasticSearchService.i_am_singular
    i_am_plural = ElasticSearchService.i_am_plural

    def __init__(self, accounts=None, debug=False):
        super(ElasticSearchServiceAuditor, self).__init__(accounts=accounts, debug=debug)
        self.policy_keys = ['policy']

<MSG> Merge pull request #428 from nagwww/develop

Changed the module name from elb to elasticsearch_service
<DFF> @@ -12,7 +12,7 @@
 #     See the License for the specific language governing permissions and
 #     limitations under the License.
 """
-.. module: security_monkey.auditors.elb
+.. module: security_monkey.auditors.elasticsearch_service
     :platform: Unix
 
 .. version:: $$VERSION$$

{'commit': 'diff --git a/security_monkey/auditors/elasticsearch_service.py b/security_monkey/auditors/elasticsearch_service.py\nindex d555147..a727293 100644\n--- a/security_monkey/auditors/elasticsearch_service.py\n+++ b/security_monkey/auditors/elasticsearch_service.py\n@@ -12,7 +12,7 @@\n #     See the License for the specific language governing permissions and\n #     limitations under the License.\n """\n-.. module: security_monkey.auditors.elb\n+.. module: security_monkey.auditors.elasticsearch_service\n     :platform: Unix\n \n .. version:: $$VERSION$$\n', 'commit_subject': 'Merge pull request #428 from nagwww/develop', 'repo_name': 'Netflix/security_monkey', 'committer': {'name': 'GitHub', 'email': '1505422b2465e9a84f6fdfaa161078890c593f06@github.com', 'time_sec': '1476481656', 'tz_offset': '-420', 'date': {'seconds': '1476481656'}}, 'commit_tree': '0937f6a4f368a341d3ac243bdc8b886429319c20', 'commit_message': 'Merge pull request #428 from nagwww/develop\n\nChanged the module name from elb to elasticsearch_service', 'language_name': 'JavaScript', 'license': 'apache-2.0', 'hunks': '@@ -12,7 +12,7 @@\n #     See the License for the specific language governing permissions and\n #     limitations under the License.\n """\n-.. module: security_monkey.auditors.elb\n+.. module: security_monkey.auditors.elasticsearch_service\n     :platform: Unix\n \n .. version:: $$VERSION$$\n', 'addition_count': 1, 'deletion_count': 1, 'src_file': 'a/security_monkey/auditors/elasticsearch_service.py', 'tgt_file': 'b/security_monkey/auditors/elasticsearch_service.py', 'file_extension': '.py', 'before_file': '#     Copyright 2015 Netflix, Inc.\n#\n#     Licensed under the Apache License, Version 2.0 (the "License");\n#     you may not use this file except in compliance with the License.\n#     You may obtain a copy of the License at\n#\n#         http://www.apache.org/licenses/LICENSE-2.0\n#\n#     Unless required by applicable law or agreed to in writing, software\n#     distributed under the License is distributed on an "AS IS" BASIS,\n#     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n#     See the License for the specific language governing permissions and\n#     limitations under the License.\n"""\n.. module: security_monkey.auditors.elb\n    :platform: Unix\n\n.. version:: $$VERSION$$\n.. moduleauthor::  Mike Grima <mgrima@netflix.com>\n.. moduleauthor:: Patrick Kelley <pkelley@netflix.com> @monkeysecurity\n\n"""\nfrom security_monkey.watchers.elasticsearch_service import ElasticSearchService\nfrom security_monkey.auditors.resource_policy_auditor import ResourcePolicyAuditor\nfrom policyuniverse.arn import ARN\n\n\nclass ElasticSearchServiceAuditor(ResourcePolicyAuditor):\n    index = ElasticSearchService.index\n    i_am_singular = ElasticSearchService.i_am_singular\n    i_am_plural = ElasticSearchService.i_am_plural\n\n    def __init__(self, accounts=None, debug=False):\n        super(ElasticSearchServiceAuditor, self).__init__(accounts=accounts, debug=debug)\n        self.policy_keys = [\'policy\']\n', 'message': 'Merge pull request #428 from nagwww/develop\n\nChanged the module name from elb to elasticsearch_service', 'author_name': 'GitHub', 'lang': 'py'}