How to extract Harness Feature Flags
The Harness Platform is continuously evolving, with the product team regularly releasing new features and critical fixes. However, not all features and fixes are immediately available to all customers, as they must undergo thorough testing and validation.
Feature Flags allow specific features of the Harness Platform to be enabled or disabled for individual customer accounts. These flags are managed by the Harness Support team upon request. Many customers frequently inquire about the feature flags enabled for their accounts. This documentation provides guidance on how to retrieve that information.
Tools Needed:
chrome / safari browser
curl
jq
gitbash (if Windows)
Instructions:
Note: These instructions have been tested on a MacBook and may vary slightly for Windows machines. Please refer to the respective browser's help documentation for specific guidance.
Navigate to the Harness on the browser
On the browser, open up Developer Tools
Chrome: View → Developer → Developer Tools

Image Safari: Develop → Show Javascript Console

Image
Navigate to the Network tab
Search for “evaluations“
Refresh the browser.
Make sure you select “evaluations” in Name
Go to the Response (chrome) or Preview (safari) tab and see the entire payload with FF are enabled and disabled
value: true = On/Enabled
value: false = Off/Disabled
Chrome:

Image Safari:

Image
From the Response / Preview Tab you can search (CTRL+F) the entire payload to find any specific flags

Image To run same command from command line (cURL), right click on the Name:evaluations?cluster=1 (chrome) / Name:evaluations (safari) then choose Copy=>Copy as cURL (chrome) / Copy as cURL (safari) option. You will have a full cURL command.
Chrome Screenshot:

Image Safari Screenshot:

Image
Append the command you got from step 9 with “-o ff.json” and run in the terminal as below. Note: Please DO NOT copy and run below examplec code; it will not work!
The above command will write all the json output containing all the feature flags into a file ff.json
Now run below commands to get the relevant list of FFs in shell terminal
Feature Flags Enabled
Feature Flags NOT Enabled
Last updated
Was this helpful?