Skip to content
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

Azure org output of supported features not working #269

Closed
sgordon46 opened this issue Nov 15, 2023 · 2 comments
Closed

Azure org output of supported features not working #269

sgordon46 opened this issue Nov 15, 2023 · 2 comments
Labels

Comments

@sgordon46
Copy link

sgordon46 commented Nov 15, 2023

Describe the bug

When following the documentation in trying to report back on the supported features for an azure org, I'm receiving an empty set

Expected behavior

I would expect to see this similar output

  "Agentless Scanning",
  "Auto Protect",
  "Remediation",
  "Serverless Function Scanning",
])

Current behavior

This is the current output

features_supported_azure_tenant = toset([])

Possible solution

Steps to reproduce

running the following terraform deployment

terraform {
  required_providers {
    prismacloud = {
      source = "PaloAltoNetworks/prismacloud"
      version = "1.5.0"
    }
  }
}

provider "prismacloud" {
    json_config_file = "../.prismacloud_auth.json"
    
}

data "prismacloud_account_supported_features" "azure_account" {
  cloud_type      = "azure"
  account_type    = "account"
  deployment_type = "azure"
}

output "features_supported_azure_account" {
    value = data.prismacloud_account_supported_features.azure_account.supported_features
}

 data "prismacloud_account_supported_features" "azure_tenant" {
   cloud_type      = "azure"
  account_type    = "tenant"
    deployment_type = "azure"
}

output "features_supported_azure_tenant" {
    value = data.prismacloud_account_supported_features.azure_tenant.supported_features
}
@sgordon46 sgordon46 added the bug label Nov 15, 2023
@sgordon46
Copy link
Author

Should be fixed with #270

@AnushreeHS
Copy link
Collaborator

@sgordon46 The documentation has been updated for better clarity in the onboarding flow, and this improvement is part of the v1.5.1 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants