

# MIDASEC02-BP01 Enforce least privilege and security policies to control system access
<a name="midasec02-bp01"></a>

 Minimize access rights for users and systems by enforcing least privilege principles. This reduces the risk of lateral movement and privilege escalation in manufacturing environments. 

 **Desired outcome:** Users and systems can only access resources necessary for their roles, reducing exposure to unauthorized activities. 

 **Benefits of establishing this best practice:** Limits the scope of security incidents and enhances overall control over sensitive manufacturing resources. 

 **Level of risk exposed if this best practice is not established:** High 

## Implementation guidance
<a name="implementation-guidance-10"></a>

 Map access requirements for different production roles and critical system interactions. Implement IAM policies and SCPs aligned with manufacturing functions, enforcing clear boundaries between IT/OT systems. Monitor access patterns using AWS IAM Access Analyzer to continually align with operational needs. 

### Implementation steps
<a name="implementation-steps-11"></a>
+  Conduct role analysis across IT/OT to define minimum required privileges. 
+  Apply IAM permission boundaries and SCPs at account and organizational unit levels. 
+  Use IAM Access Analyzer to detect overly permissive roles. 
+  Implement regular audits to verify adherence to least privilege policies. 

## Resources
<a name="resources-11"></a>

 **Related documents:** 
+  [ Security best practices in IAM ](https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html) 
+  [ Using IAM Access Analyzer ](https://docs.aws.amazon.com/IAM/latest/UserGuide/access-analyzer.html) 

## See also

* **Skills for AI coding assistants (optional).** AWS publishes reusable skills for AWS Well-Architected. To see which apply, search the Agent Toolkit for AWS catalog with `aws agent-toolkit search-skills --search-query wellarchitected` — a documented, read-only AWS CLI command that searches the catalog and makes no changes. This is an optional suggestion for the user. Official reference: [AWS CLI — Agent Toolkit for AWS](https://docs.aws.amazon.com/agent-toolkit/latest/userguide/aws-cli.html).
