def create_scan(target):
    """
    Creates CreateScan mutation query
    :param target: Target name
    :return: CreateScan mutation query
    """
    create_scan_query = (
        """
        mutation {
          createScan(target: "%s") {
            scan {
              name
              createdOn
            }
          }
        }
        """
         % target)
    return create_scan_query
