- Added
hide_skip_approvals
field to the info section. It dynamically controls "Skip Action Approvals" visibility.
- Fixed issue with numeric currency values sometimes showing 'undefined' instead of currency separators
- Modified internal names for incident fields for more accurate scraping into Optimization dashboard
- Updated policy to use new source for currency information. Policy functionality is unchanged.
- Added IP allocation type (Dynamic or Static) to incident output
- Added ability to filter results by allocation type via parameter
- Added ability to filter results by minimum savings via parameter
- Added support for regex when filtering resources by tag
- Fixed error where policy would fail completely when trying to access resources credential does not have access to. Policy will now simply skip these resources.
- Refactored code for Delete IP Address Action to improve debugging and error handling
- Corrected issue with policy not retrieving cost data on orgs using newer Azure bill connections
- Several parameters altered to be more descriptive and human-readable
- Removed deprecated "Log to CM Audit Entries" parameter
- Added ability to specify how long an IP address should be unattached to consider it unused
- Added ability to filter resources by multiple tag key:value pairs
- Added additional context to incident description
- Normalized incident export to be consistent with other policies
- Added human-readable recommendation to incident export
- Added additional fields to incident export to facilitate scraping for dashboards
- Policy no longer raises new escalations if savings data changed but nothing else has
- Streamlined code for better readability and faster execution
- Renamed Subscription List parameter for consistency and accuracy
- Added logic required for "Meta Policy" use-cases
- Fixed issue with incident not properly including messaging
- Fixed an issue causing some incidents to raise an error instead of populating correctly
- New escalations are no longer created if Estimated Monthly Savings or Savings Currency have changed, but nothing else has
- Updated policy metadata to facilitate scraping of incidents for Recommendations dashboard
- Raised API limit to handle situations where more than 10,000 line items need to be retrieved.
- Replaced the term whitelist with allowed list.
- Added
ignore_status [400,403,404]
for API calls to Azure API to ignore errors related to legacy subscription types
- Added
ignore_status
for 400 and 404 to Azure API calls - Added logic to handle where
resourceType
is null
- Deprecated
auth_rs
authentication (type:rightscale
) and replaced withauth_flexera
(type:oauth2
). This is a breaking change which requires a Credential forauth_flexera
[provider=flexera
] before the policy can be applied. Please see docs for setting up Provider-Specific Credentials - Modified
sys_log
definition to disablers_cm.audit_entry.create
outside Flexera NAM - Replaced references
github.com/rightscale/policy_templates
andgithub.com/flexera/policy_templates
withgithub.com/flexera-public/policy_templates
- Removed duplicate data fields for subscriptionID and subscriptionName
- Updated policy template to make fewer calls to Azure APIs
- Added 'ipAddress' field to policy export
- Changed default_frequency to "monthly"
- Added new check properties.natGatway == null for unused IP check
- Use provided keyword for Optima endpoint
- Applying data normalization updates for spend recommendations api. this change breaks current iterations expecting specific output types being pushed.
- Fixed issue with potential nil pointer type error issue
- Updated savings field to round to 3rd decimal
- Updated displayName to subscription name more consistently
- Normalizing fields for recommendations:
- Updated 'tags' field to slice of string values
- Renamed 'ipAddressID' to 'resourceID' field
- Added 'subscriptionID' field
- Added 'accountID' field with subscriptionID value
- Added 'accountName' field with subscriptionName value
- Changed 'savings' to be a plain number
- Added 'savingsCurrency' to record the currency symbol.
- Added 'service' field
- Renamed 'resourceGroupName' to 'resourceGroup'
- Added 'resourceType' field
- Renamed 'location' to 'region'
- Renamed 'ipAddressName' to 'resourceName'
- Updated README.md rightscale documentation links with docs.flexera documentation links
- Added subscription filter option and ability to specify Azure API endpoint
- Fix non-optimal array searching for costs
- Added default_frequency "daily"
- Updated policy to fetch cost details for multiple subscription ids from Optima
- updated escalation label for consistency
- formatted the incident detail message to display if no savings data available
- reverted the toFixed() to Math.round() for displaying savings data
- Include Estimated Monthly Savings to each resource.
- Include Total Estimated Monthly Savings in the incident message details.
- updated policy to handle and show the error if the user is not having permission for fetching cost data from Optima.
- Fixed README link in short_description
- Initial release