Skip to content

Releases: flexera-public/policy_sdk

v1.4.0 Release

01 Mar 23:36
eefe3f8
Compare
Choose a tag to compare
  • Add support for atob and btoa JavaScript Base64 functions in fpt script
  • Handle eventual consistency issues with fpt run log output which could result in panics

Pre-compiled binaries:

v1.3.0 Release

01 Mar 22:15
9cef5d4
Compare
Choose a tag to compare
  • 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

Pre-compiled binaries:

v1.2.2 Release

15 Jan 20:10
756b1e0
Compare
Choose a tag to compare
  • Fix a bug in fpt script parameter parsing where non-numeric bare parameters came through as nil and numeric
    parameters were not actually parsed and just came through as strings

Pre-compiled binaries:

v1.2.1 Release

11 Dec 01:47
2c2d2ff
Compare
Choose a tag to compare
  • Error if a script block does not specify a result in fpt script

Pre-compiled binaries:

v1.2.0 Release

21 Oct 21:31
2ffd9d0
Compare
Choose a tag to compare
  • Add support for Flexera One refresh tokens using an optional flexera boolean parameter in account entries in
    the configuration file

Pre-compiled binaries:

v1.1.4 Release

30 Jun 22:02
f070cbe
Compare
Choose a tag to compare
  • Remove double read of access token response for non-200 codes so the actual error message comes through

Pre-compiled binaries:

v1.1.3 Release

26 Jun 17:34
1286f3a
Compare
Choose a tag to compare
  • Fix an incorrect use of fmt.Printf without a format to use fmt.Print instead
  • Handle the 'EOS' and "EOS" forms of HEREDOCs when detecting JavaScript code blocks in the fpt script subcommand
  • Actually check if --result/-r is being passed when executing raw JavaScript with the fpt script subcommand
  • Handle Policy Template (Ruby) comments correctly when parsing for the fpt script subcommand

Pre-compiled binaries:

v1.1.2 Release

21 May 01:30
069a7f1
Compare
Choose a tag to compare
  • Actually check for any updates if update.check is set to true

Pre-compiled binaries:

v1.1.1 Release

20 May 21:39
e901dfe
Compare
Choose a tag to compare
  • Clean up JSON output and output files so they are more readable without escaped <, >, and & characters
  • Clean up console.log and console.dir output so brackets and braces line up correctly
  • Fix a bug where the format for fmt.Printf included user input unnecessarily in JavaScript console.log/console.dir functions
  • Only write fpt script JSON output if there is no error

Pre-compiled binaries:

v1.1.0 Release

06 May 04:04
7321031
Compare
Choose a tag to compare
  • Print all JavaScript compilation errors in the fpt script command (#21)

Pre-compiled binaries: