def _get_splunk_search_props(search):
    '''
    Get splunk search properties from an object
    '''
    props = search.content
    props["app"] = search.access.app
    props["sharing"] = search.access.sharing
    return props