- Added
--max-exec-time
flag tofpt script
command
- Changed expected host pattern for Flexera One Eu to include
api.eu-central-1.policy-eu.flexeraeng.com
- Added warning message for deprecation of
eu-central-1.policy-eu.flexeraeng.com
- Account configurations for EU profiles will need to be updated for the new value of
api.eu-central-1.policy-eu.flexeraeng.com
- Accounts can be updated using
fpt config account {account_name}
- Add support for
atob
andbtoa
JavaScript Base64 functions infpt script
- Handle eventual consistency issues with
fpt run
log output which could result in panics
- Add support for Flexera One EU using
eu-central-1.policy-eu.flexeraeng.com
for the host configuration item - Display Flexera One URLs in
fpt run
out when using Flexera One EU or the refresh token is for Flexera One instead of RightScale - Fix a bug where
fpt run
would hang trying to print the log after the policy execution completed
- Fix a bug in
fpt script
parameter parsing where non-numeric bare parameters came through asnil
and numeric parameters were not actually parsed and just came through as strings
- Error if a
script
block does not specify a result infpt script
- Add support for Flexera One refresh tokens using an optional
flexera
boolean parameter in account entries in the configuration file
- Remove double read of access token response for non-200 codes so the actual error message comes through
- Fix an incorrect use of
fmt.Printf
without a format to usefmt.Print
instead - Handle the
'EOS'
and"EOS"
forms of HEREDOCs when detecting JavaScriptcode
blocks in thefpt script
subcommand - Actually check if
--result
/-r
is being passed when executing raw JavaScript with thefpt script
subcommand - Handle Policy Template (Ruby) comments correctly when parsing for the
fpt script
subcommand
- Actually check for any updates if
update.check
is set totrue
- Clean up JSON output and output files so they are more readable without escaped
<
,>
, and&
characters - Clean up
console.log
andconsole.dir
output so brackets and braces line up correctly - Fix a bug where the format for
fmt.Printf
included user input unnecessarily in JavaScriptconsole.log
/console.dir
functions - Only write
fpt script
JSON output if there is no error
- Print all JavaScript compilation errors in the
fpt script
command (#21)
- Bump timeout for http client to 5 minutes
- Fix panic while passing non-existent options (#17)
- Add short flag (
-C
) for credentials to go along with--credentials
.
- Fix errors with incident index.
- Add credential support on
fpt run
orfpt retrieve_data
.
- Do not require parameters with defaults when running
fpt run
orfpt retrieve_data
.
- Fix script command with CRLF line endings.
- Fix errors for bad hostname in config.
- Fix bad_request error for template in subdirectories.
- Add way to past list param to script command
- Renamed right_pt to fpt (flexera policy tool)
- Add in update code
- Initial release