Trigger-free cybersecurity event detection based on contrastive learning