Skip to content

Mark Properties on Network Service Config as Senstive for Sharing

Sharing statistics requires getting access to the id of network service configs, not consumed or managed by the currently authenticated account.

When reading / listing those network service configs, the following fields should be redacted:

    "role_assignments",
    "billing_account",
    "consuming_account" is only visible if account is 'discoverable'
   
    "managing_account" 

    "state",
    "status",

    "decommission_at",
    "charged_until",
    "current_billing_start_date",
    "external_ref",
    "purchase_order",
    "contract_ref",

    "connection",

    "routing_function",
    "l3_config",
    "network_feature_configs",
    "vlan_config",

    "capacity",

    "macs",
    "ips",

    "consumer_side_ready",

    "availability_zone",

    "shared_statistics"