def get_default_configuration()

in connectors/sources/slack.py [0:0]


    def get_default_configuration(cls):
        return {
            "token": {
                "label": "Authentication Token",
                "tooltip": "The Slack Authentication Token for the slack application you created. See the docs for details.",
                "order": 1,
                "sensitive": True,
                "type": "str",
            },
            "fetch_last_n_days": {
                "display": "numeric",
                "label": "Days of message history to fetch",
                "order": 2,
                "tooltip": "How far back in time to request message history from slack. Messages older than this will not be indexed.",
                "type": "int",
            },
            "auto_join_channels": {
                "display": "toggle",
                "label": "Automatically join channels",
                "order": 3,
                "tooltip": "The Slack application bot will only be able to read conversation history from channels it has joined. The default requires it to be manually invited to channels. Enabling this allows it to automatically invite itself into all public channels.",
                "type": "bool",
                "value": False,
            },
            "sync_users": {
                "display": "toggle",
                "label": "Sync users",
                "order": 4,
                "tooltip": "Whether or not Slack Users should be indexed as documents in Elasticsearch.",
                "type": "bool",
                "value": True,
            },
        }