original_docstring: 
      Retrieves a list of log sources from QRadar service.
      possible arguments:
      - qrd_encryption_algorithm: The algorithm to use for encrypting the sensitive data of this
          endpoint. Using AES 128
      - qrd_encryption_password: The password to use for encrypting the sensitive data of this endpoint.
          If argument was not given, will be randomly generated.
      - range: Range of offenses to return (e.g.: 0-20, 3-5, 3-3).
      - filter: Query filter to filter results returned by QRadar service. see
                https://www.ibm.com/support/knowledgecenter/SS42VS_SHR/com.ibm.qradarapi.doc/c_rest_api_filtering.html
                for more details.
      - fields: If used, will filter all fields except for the specified ones.
                Use this parameter to specify which fields you would like to get back in the
                response. Fields that are not explicitly named are excluded.
      Args:
          client (Client): QRadar client to perform the API call.
          args (Dict): Demisto args.
  
      Returns:
          CommandResults.
      
docstring: Retrieves a list of log sources from QRadar service.
  possible arguments:
  qrd_encryption_algorithm: The algorithm to use for encrypting the sensitive data of this
  endpoint. Using AES 128
  qrd_encryption_password: The password to use for encrypting the sensitive data of this endpoint.
  If argument was not given, will be randomly generated.
  range: Range of offenses to return .
  filter: Query filter to filter results returned by QRadar service.
docstring_tokens: Retrieves a list of log sources from QRadar service . possible arguments : qrd_encryption_algorithm : The algorithm to use for encrypting the sensitive data of this endpoint . Using AES 128 qrd_encryption_password : The password to use for encrypting the sensitive data of this endpoint . If argument was not given will be randomly generated . range : Range of offenses to return . filter : Query filter to filter results returned by QRadar service .
code: def qradar_log_sources_list_command(client: Client, args: Dict) -> CommandResults:
      """
      Retrieves a list of log sources from QRadar service.
      possible arguments:
      - qrd_encryption_algorithm: The algorithm to use for encrypting the sensitive data of this
          endpoint. Using AES 128
      - qrd_encryption_password: The password to use for encrypting the sensitive data of this endpoint.
          If argument was not given, will be randomly generated.
      - range: Range of offenses to return (e.g.: 0-20, 3-5, 3-3).
      - filter: Query filter to filter results returned by QRadar service. see
                https://www.ibm.com/support/knowledgecenter/SS42VS_SHR/com.ibm.qradarapi.doc/c_rest_api_filtering.html
                for more details.
      - fields: If used, will filter all fields except for the specified ones.
                Use this parameter to specify which fields you would like to get back in the
                response. Fields that are not explicitly named are excluded.
      Args:
          client (Client): QRadar client to perform the API call.
          args (Dict): Demisto args.
  
      Returns:
          CommandResults.
      """
      qrd_encryption_algorithm: str = args.get('qrd_encryption_algorithm', 'AES128')
      qrd_encryption_password: str = args.get('qrd_encryption_password', secrets.token_urlsafe(20))
      range_ = f'''items={args.get('range', DEFAULT_RANGE_VALUE)}'''
      filter_ = args.get('filter')
      fields = args.get('fields')
  
      response = client.log_sources_list(qrd_encryption_algorithm, qrd_encryption_password, range_, filter_, fields)
      outputs = sanitize_outputs(response, LOG_SOURCES_OLD_NEW_MAP)
      headers = build_headers(['ID', 'Name', 'Description'], set(LOG_SOURCES_OLD_NEW_MAP.values()))
  
      return CommandResults(
          readable_output=tableToMarkdown('Log Sources List', outputs, headers, removeNull=True),
          outputs_prefix='QRadar.LogSource',
          outputs_key_field='ID',
          outputs=outputs,
          raw_response=response
      )
code_tokens: def qradar_log_sources_list_command ( client : Client , args : Dict ) -> CommandResults : qrd_encryption_algorithm : str = args . get ( 'qrd_encryption_algorithm' , 'AES128' ) qrd_encryption_password : str = args . get ( 'qrd_encryption_password' , secrets . token_urlsafe ( 20 ) ) range_ = f'''items={args.get('range', DEFAULT_RANGE_VALUE)}''' filter_ = args . get ( 'filter' ) fields = args . get ( 'fields' ) response = client . log_sources_list ( qrd_encryption_algorithm , qrd_encryption_password , range_ , filter_ , fields ) outputs = sanitize_outputs ( response , LOG_SOURCES_OLD_NEW_MAP ) headers = build_headers ( [ 'ID' , 'Name' , 'Description' ] , set ( LOG_SOURCES_OLD_NEW_MAP . values ( ) ) ) return CommandResults ( readable_output = tableToMarkdown ( 'Log Sources List' , outputs , headers , removeNull = True ) , outputs_prefix = 'QRadar.LogSource' , outputs_key_field = 'ID' , outputs = outputs , raw_response = response )
short_docstring: Retrieves a list of log sources from QRadar service.
short_docstring_tokens: Retrieves a list of log sources from QRadar service .
comment: """
      Retrieves a list of log sources from QRadar service.
      possible arguments:
      - qrd_encryption_algorithm: The algorithm to use for encrypting the sensitive data of this
          endpoint. Using AES 128
      - qrd_encryption_password: The password to use for encrypting the sensitive data of this endpoint.
          If argument was not given, will be randomly generated.
      - range: Range of offenses to return (e.g.: 0-20, 3-5, 3-3).
      - filter: Query filter to filter results returned by QRadar service. see
                https://www.ibm.com/support/knowledgecenter/SS42VS_SHR/com.ibm.qradarapi.doc/c_rest_api_filtering.html
                for more details.
      - fields: If used, will filter all fields except for the specified ones.
                Use this parameter to specify which fields you would like to get back in the
                response. Fields that are not explicitly named are excluded.
      Args:
          client (Client): QRadar client to perform the API call.
          args (Dict): Demisto args.
  
      Returns:
          CommandResults.
      """