The nation's top law officer says he won't rule out legal action against the ABC over claims of sexist behaviour and suggestions he acted inappropriately with a female Liberal staffer.