better synching of source and destinations

This commit is contained in:
Hossein Shafagh 2019-02-21 19:38:50 -08:00
parent 605663704b
commit d2e969b836
2 changed files with 2 additions and 0 deletions

View File

@ -12,6 +12,7 @@ from lemur.plugins.base import Plugin, plugins
class DestinationPlugin(Plugin):
type = 'destination'
requires_key = True
sync_as_source = False
def upload(self, name, body, private_key, cert_chain, options, **kwargs):
raise NotImplementedError

View File

@ -195,6 +195,7 @@ class AWSSourcePlugin(SourcePlugin):
slug = 'aws-source'
description = 'Discovers all SSL certificates and ELB endpoints in an AWS account'
version = aws.VERSION
sync_as_source = True
author = 'Kevin Glisson'
author_url = 'https://github.com/netflix/lemur'