class_docstr: An app that collects the logs from the team.accessLogs endpoint on Slack.
  
  There are a couple of quirks with this endpoint. It returns one entry per unique
  combination of user/ip/user_agent, with the values date_first and date_last
  indicating the first and most recent access with this combination. Entries
  are sorted by date_first descending, meaning that the entire log must be collected
  to ensure that all possible updates are available.
  
  Results are paginated, with the count parameter of the api dictating the max number
  of results per page (max 1000) and the page parameter of the api dictating which page
  is requested (max 100).
  
  The result of a successful api call is json whose outermost schema is
  
  {
      "ok": True,
      "login": [entries],
      "pagination": {
          "count": <number of entries per page>,
          "total": <total number of entries>,
          "page": <current page of results>,
          "pages": <total number of pages of results>
      }
  }
  
  Resource:
      https://api.slack.com/methods/team.accessLogs
class_docstr_tok: ["An","app","that","collects","the","logs","from","the","team.accessLogs","endpoint","on","Slack",".","There","are","a","couple","of","quirks","with","this","endpoint",".","It","returns","one","entry","per","unique","combination","of","user\/ip\/user_agent",",","with","the","values","date_first","and","date_last","indicating","the","first","and","most","recent","access","with","this","combination",".","Entries","are","sorted","by","date_first","descending",",","meaning","that","the","entire","log","must","be","collected","to","ensure","that","all","possible","updates","are","available",".","Results","are","paginated",",","with","the","count","parameter","of","the","api","dictating","the","max","number","of","results","per","page","(","max","1000",")","and","the","page","parameter","of","the","api","dictating","which","page","is","requested","(","max","100",")",".","The","result","of","a","successful","api","call","is","json","whose","outermost","schema","is","{","``","ok","''",":","True",",","``","login","''",":","[","entries","]",",","``","pagination","''",":","{","``","count","''",":","<","number","of","entries","per","page",">",",","``","total","''",":","<","total","number","of","entries",">",",","``","page","''",":","<","current","page","of","results",">",",","``","pages","''",":","<","total","number","of","pages","of","results",">","}","}","Resource",":","https",":","\/\/api.slack.com\/methods\/team.accessLogs"]
code: def __init__(self, event, context):
      super(SlackAccessApp, self).__init__(event, context)
      self._before_time = None
      self._next_page = 1
  
imports: import re
  import time
  from .None import AppIntegration, StreamAlertApp, get_logger
label_desc: Use image node_id 1 to create a new SlackAccessApp object from inherited base classes: SlackApp with example: obj = SlackAccessApp(event, context)