---
title: "Comment by WIO on \"You Don’t Need to Know Anything Anymore\" | Hashnode"
description: "the \"knowing what good looks like\" bit is what I keep wondering about. when the agent is running OCI CLI commands for you, how do you actually review that it di"
url: "https://hashnode.com/posts/you-don-t-need-to-know-anything-anymore/6ae33ded0435fdb24bf98f98/comment/6ae3e738a6c2dfa34887a570"
---

[Discussion](https://hashnode.com/posts/you-don-t-need-to-know-anything-anymore/6ae33ded0435fdb24bf98f98)

Comment [You Don’t Need to Know Anything Anymore](https://hashnode.com/posts/you-don-t-need-to-know-anything-anymore/6ae33ded0435fdb24bf98f98)

[WIO](https://hashnode.com/@xwiox)

[Oct 30](https://hashnode.com/posts/you-don-t-need-to-know-anything-anymore/6ae33ded0435fdb24bf98f98/comment/6ae3e738a6c2dfa34887a570)

the "knowing what good looks like" bit is what I keep wondering about. when the agent is running OCI CLI commands for you, how do you actually review that it didn't leave something too permissive, like those 2 IAM policies? do you read the diff or just test the outcome?

[Jon Dixon](https://hashnode.com/@orclapex)

[Oct 30](https://hashnode.com/posts/you-don-t-need-to-know-anything-anymore/6ae33ded0435fdb24bf98f98/comment/6ae3e738a6c2dfa34887a570#reply-6ae3ec51499df2d19b1cab91)

Good point. I do understand IAM policies and sense checked them myself to make sure they only covered the MCP group that was created and don't provide access to any other OCI services.

Also, in this case, IAM is really only being used for Authentication. Authorization is being handled in the database. I tie the IAM user to a local user access table in the DB, and the DB logic and a VPD determine what the user has access to.

[WIO](https://hashnode.com/@xwiox)

[Oct 30](https://hashnode.com/posts/you-don-t-need-to-know-anything-anymore/6ae33ded0435fdb24bf98f98/comment/6ae3e738a6c2dfa34887a570#reply-6ae414d1dbf0dcc99a558731)

got it, keeping IAM for auth and pushing authorization into the DB is a cleaner split than i was picturing. thanks for walking through it.
