Skip to content

Support for disabling legacy IMDS endpoints in the OCI builder #137

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

yugalarora
Copy link

@yugalarora yugalarora commented Jun 5, 2025

Description

I've added support for disabling legacy IMDS endpoints in the OCI builder.

This introduces a new boolean option, instance_options_are_legacy_imds_endpoints_disabled, to the OCI builder configuration.

When you set this to true, the launched OCI instance will be configured to disable the legacy IMDSv1 endpoints. This enhances security by enforcing the use of IMDSv2.

Resolved Issues

If your PR resolves any open issue(s), please indicate them like this so they will be closed when your PR is merged:

Closes [#69 ]

Rollback Plan

If a change needs to be reverted, we will roll out an update to the code within 7 days.

Changes to Security Controls

N/A

…lder.

This introduces a new boolean option, , to the OCI builder configuration.

When you set this to true, the launched OCI instance will be configured to disable the legacy IMDSv1 endpoints. This enhances security by enforcing the use of IMDSv2.
@yugalarora yugalarora requested a review from a team as a code owner June 5, 2025 08:41
@shivanshsinghraghuvanshi

Can we please get it reviewed

@yugalarora yugalarora changed the title I've added support for disabling legacy IMDS endpoints in the OCI builder Support for disabling legacy IMDS endpoints in the OCI builder Jun 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants