π€ AI Prompts Cheatsheet
Daniel Osei — AI-Assisted Security Engineer
Why AI Changes the Game for Security Analysts
Artificial Intelligence is transforming the way security analysts conduct assessments, streamline workflows, and manage incidents. With AI tools like ChatGPT and Claude, you can automate repetitive tasks, analyze log data, and generate reports swiftly.
Before You Start: How to Set Context Properly
Developing effective prompts depends significantly on setting the right context. Ensure you mention the specific scenario you’re analyzing or the task you’re automating. Providing detailed context helps the AI to generate more relevant responses.
Core Prompts Cheatsheet
This prompt is perfect when you need a structured report quickly.
Use this to analyze real-time log data for potential threats.
This prompt helps you stay updated with the latest developments in the cybersecurity landscape.
This can aid in developing a strategic defense plan.
Weak vs Strong Prompt Examples
Advanced Prompt Techniques
Use techniques such as role prompting, where you can specify the AI’s role (e.g., “act as a security consultant”) or few-shot examples to demonstrate the format needed.
Claude vs ChatGPT: Which Works Better For This
While both Claude and ChatGPT excel in generating prompts, Claude tends to perform better with concise requests, while ChatGPT can provide more expansive answers for complex inquiries.
Tips for Getting Consistent Results
1. Use specific examples to guide the AI.
2. Refine your prompts iteratively based on the responses you receive.
3. Ensure adequate background information is provided for nuanced queries.
Quick Reference: All Prompts in One Place
- Incident report template request
- Log data analysis
- Cybersecurity trends query
- Proactive measures for ransomware
- Immediate steps for a data breach