Skip to content

Conversation

@lokesh-vadlamudi
Copy link
Collaborator

@lokesh-vadlamudi lokesh-vadlamudi commented Aug 18, 2025

Summary

How did you test this change?

When the flag is set to false:
Screenshot 2025-08-19 at 3 31 07 PM

Flag is set to True - Storage account network rules set:
Screenshot 2025-08-19 at 2 29 32 PM

More Tests:

lacework generate cloud-account azure --noninteractive --activity_log --subscription_id 0c21d8f2-6a26-47b1-9d9c-ae935147b344

module "az_activity_log" {
source = "lacework/activity-log/azure"
version = "~> 3.0"
application_id = module.az_ad_application.application_id
application_password = module.az_ad_application.application_password
infrastructure_encryption_enabled = true
service_principal_id = module.az_ad_application.service_principal_id
storage_account_network_rule_ip_rules = ["4.53.23.186"]
use_existing_ad_application = true
use_storage_account_network_rules = true
}

lacework generate cloud-account azure --noninteractive --activity_log --use_storage_account_network_rules --subscription_id 0c21d8f2-6a26-47b1-9d9c-ae935147b344

module "az_activity_log" {
source = "lacework/activity-log/azure"
version = "~> 3.0"
application_id = module.az_ad_application.application_id
application_password = module.az_ad_application.application_password
infrastructure_encryption_enabled = true
service_principal_id = module.az_ad_application.service_principal_id
storage_account_network_rule_ip_rules = ["4.53.23.186"]
use_existing_ad_application = true
use_storage_account_network_rules = true
}

lacework generate cloud-account azure --noninteractive --activity_log --subscription_id 0c21d8f2-6a26-47b1-9d9c-ae935147b344 --use_storage_account_network_rules --storage_account_network_rule_ip_rules 9.8.8.8,9.9.9.9

module "az_activity_log" {
source = "lacework/activity-log/azure"
version = "~> 3.0"
application_id = module.az_ad_application.application_id
application_password = module.az_ad_application.application_password
infrastructure_encryption_enabled = true
service_principal_id = module.az_ad_application.service_principal_id
storage_account_network_rule_ip_rules = ["9.8.8.8", "9.9.9.9"]
use_existing_ad_application = true
use_storage_account_network_rules = true
}

Issue

(https://lacework.atlassian.net/browse/LINK-4045)

@lokesh-vadlamudi lokesh-vadlamudi self-assigned this Aug 18, 2025
@lokesh-vadlamudi lokesh-vadlamudi force-pushed the lvadlamudi-LINK-4045 branch 3 times, most recently from 6fe9746 to d0a6ee7 Compare August 19, 2025 00:21
@lokesh-vadlamudi lokesh-vadlamudi marked this pull request as ready for review August 19, 2025 22:41
@lokesh-vadlamudi lokesh-vadlamudi requested a review from a team as a code owner August 19, 2025 22:41
@lokesh-vadlamudi lokesh-vadlamudi changed the title Add new flag -use_storage_account_network_rules for Azure CLI cmd. Add new flag -use_storage_account_network_rules in Azure CLI cmd. Aug 19, 2025
@lokesh-vadlamudi lokesh-vadlamudi changed the title Add new flag -use_storage_account_network_rules in Azure CLI cmd. (LINK-4045) (CLI) Add new flag -use_storage_account_network_rules in Azure CLI. Aug 19, 2025
Copy link
Contributor

@PengyuanZhao PengyuanZhao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@lokesh-vadlamudi lokesh-vadlamudi merged commit fe5be85 into main Aug 20, 2025
16 of 20 checks passed
@lokesh-vadlamudi lokesh-vadlamudi deleted the lvadlamudi-LINK-4045 branch August 20, 2025 17:55
@lacework-releng lacework-releng mentioned this pull request Sep 4, 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.

3 participants