A transgression was any act which broke a law or rule.
In 2268, the Oracle questioned Natira by saying she had listened to the words of the non-believers, and that was the first transgression. (TOS: "For the World is Hollow and I Have Touched the Sky")