All problems
Easy

Check which user Dockerfiles run as

Software & IT

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

  1. Software & IT Starter 4 Easy