Yeah, you're right - defamation is the description of the action, and slander and libel are mediums.