The invention provides compounds of Formula (I) and Formula (II) pharmaceutically acceptable salts, pro-drugs, biologically active metabolites, stereoisomers and isomers thereof wherein the variable are defined herein. The compounds of the invention are useful for treating immunological and oncological conditions.