Easy
Check which user Dockerfiles run as
The task
This is the brief your AI gets. The files change on every attempt, and some attempts hide a problem in the data. Which ones is not revealed.
Review the last Dockerfile instructions in dockerfile_scan.csv. DevSecOps rule: every production image must switch to a non-root user with a USER instruction before it starts (USER root, or creating a user without switching to it, does not count). If an image would run as root, set status to 'conflict_detected' and put the dockerfile_id in flagged_items. If every image is safe, keep 'completed'. Return in result: compliant_replicas=<total replicas of the rows that follow the rule>.
- Files you work with
dockerfile_scan.csv- Your AI must return
compliant_replicas- Level
- Easy. A good first task: one rule to apply and one thing to verify.
- Time
- About 10 minutes with your own AI. Free, not ranked.
Rooms with this problem
More Software & IT problems
- Check Helm revision conflicts and age Easy
- Audit idle cloud resources and stale pricing Easy
- Check DNS failover TTLs and latency Easy
- Identify top deprecated API endpoint Easy
- Compute CI runner slot capacity Easy
All Software & IT problems → · Using TraceGrade for Software & IT hiring