- 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
- Minor code improvements to conform with current standards. Functionality unchanged.
- 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 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.
- Policy now retrieves read/write stats to determine if a volume is unused
- Added ability to include attached volumes in the incident and to action on them
- Added parameters to allow the user to configure the new functionality above
- Refactored the Delete Volume and Create Snapshot Actions to use updated Azure APIs, improve debugging, and error handling
- Several parameters altered to be more descriptive and human-readable
- Removed deprecated "Log to CM Audit Entries" parameter
- Removed ability to filter by how long a policy was detached; see README for more details
- Added ability to filter by volume age
- Added ability to only report recommendations that meet a minimum savings threshold
- 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
- Policy no longer raises new escalations if ages or savings data changed but nothing else has
- Streamlined code for better readability and faster execution
- Corrected issue with policy not retrieving cost data on orgs using newer Azure bill connections
- Renamed Subscription List parameter for consistency and accuracy
- Changed internal names of several incident fields to ensure that they are properly scraped for dashboards.
- Added logic required for "Meta Policy" use-cases
- Added
lookBackPeriod
incident field grabbing value fromparam_unattached_days
parameter. - Renamed
diskSize
incident field tosize
.
- Updated policy metadata to facilitate scraping of incidents for Recommendations dashboard
- Fixed issue with subscription filtering not working correctly.
- Fixed issue causing savings values to not be properly shown in incident.
- Formatted tags in incident output to improve readability.
- General code optimization to improve execution time.
- 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
- bugfix for logic regarding activity log and what constitutes unattached/unused. Changed logic to verify that activities length is 0 rather than using "toBeDetached" keyword
- updated max limit on activity log call to 89 days to avoid api day limit
- updated response to contain usable information of resourceID and operation name
- changed ds field responseBody to resourceID
- 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
- remove duplicate data fields for subscriptionID and subscriptionName
- update policy for optimization, changes go as follows:
- removal of filtering on events and combining data of disks and activity
- iterate through filtered unattached disks rather than subscriptions to lower number of api requests due to pagination
- changed Azure insight filter from event resource type to resource id
- 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
- Added '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
- Added 'resourceGroup' field
- Added 'resourceType' field
- Renamed 'location' to 'region'
- Renamed 'name' to 'resourceName'
- updated README.md rightscale documentation links with docs.flexera documentation links
- Added "ignore-status" for 400, 403, 404 errors
- Fix non-optimal array searching for costs
- Adding subscription filter to deal with timeout
- Added
and resourceProvider eq 'Microsoft.Compute' and resourceType eq 'Microsoft.Compute/VirtualMachines'
to event filter to get smaller but more specific result set to help with ExecutionTimeout.
- Debug via param (off by default, for EU app); use rs_optima_host, not hardcoded hostname
- Adding Azure China
- Added default_frequency "daily"
- Updated policy to fetch cost details for multiple subscription ids from Optima
- Modified escalation label and description for consistency
- formatted the incident detail message to display if no savings data available
- reverted the toFixed() to Math.round() for displaying savings data
- updated policy to handle and show the error if the user is not having permission for fetching cost data from Optima
- Include Estimated Monthly Savings to each resource
- Include Total Estimated Monthly Savings in the incident summary
- Added Selectable resources and actions
- initial release