Mar 22, 2023
12:43 PM
Hi, I'm creating a policy integration and i need get the cookie value ("Set-Cookie") from response header. This is the token value that i will use to authenticate any other API request. The default response return only the "body" values. How can i do it?
... View more
Labels
- Labels:
-
Policies
Mar 07, 2023
12:01 PM
hi, i need to create a http post request with content type "application/x-www-form-urlencoded", I have created a request, but it's not working: ############################################################################### # Cloud Workflow ############################################################################### define ibm_add_tags($data,$tags_to_add, $$rs_optima_host, $api_key) return $all_response do $$debug=true $all_response=[] $tags_obj={} $response = http_request( verb: "post", host: "iam.cloud.ibm.com", href: "/identity/token", https: true, headers:{ "Host": "iam.cloud.ibm.com", "Content-Type": "application/x-www-form-urlencoded" }, body: join(["grant_type=urn%3Aibm%3Aparams%3Aoauth%3Agrant-type%3Aapikey&apikey=", $api_key]) ) $all_response << $response end I use the same request in Datasource definition and works well: ############################################################################### # Datasources ############################################################################### datasource "ds_ibm_auth" do request do host "iam.cloud.ibm.com" verb "POST" path "/identity/token" header "Host", "iam.cloud.ibm.com" header "Content-Type", "application/x-www-form-urlencoded" body join(["grant_type=urn%3Aibm%3Aparams%3Aoauth%3Agrant-type%3Aapikey&apikey=", $param_api_key]) end result do encoding "json" collect jmes_path(response,"[@]") do field "access_token", jmes_path(col_item,"access_token") end end end Any idea how to do this request? How can i debug my code in cloud workflow? How can I log the response for throubleshooting?
... View more
Mar 06, 2023
11:13 AM
Hi, I have created a policy with escalation. In the automation/escalation policies we have 3 actions that we can take. One of them is the “cloud workflow”. How can I see the logs from the cloud workflow to debug my code? Thank you
... View more
Feb 07, 2023
07:02 AM
1 Kudo
Hi Chris, I tryed both: - add the port in the host ( "host:port") Result: error - doesn't recognize the hostname - add the port in the path( ":port/path") Result: wrong URL - https://host/:port/path
... View more
Feb 01, 2023
02:08 PM
1 Kudo
I'm attempting to configure fpt to allow me check syntax and upload policies as I work on them. ❯ ./fpt config show login: accounts: "34497": flexera: true host: governance-3.rightscale.com id: 34497 refresh_token: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX default_account: "34497" update: check: true ❯ ./fpt check policy.pt Checking policy.pt An unexpected error occurred: insufficient privilege: requires governance:policy_template:compile, common:project:own, common:org:own ERROR: compilation errors occurred From the API Client (postman), using the same refresh_token, i don't have this problem. Can anyone help me? Thanks. William
... View more
Labels
- Labels:
-
Policies
Jan 28, 2023
05:20 PM
Hi, Is there any way to execute a policy in a specific day of the month? (I want to run only at the 1st day of the month) Is there any command to abort the policy during the execution?
... View more
Labels
- Labels:
-
Policies
Jan 26, 2023
08:45 AM
Hi, i'm trying to create a custom policy using datasourse to collect data from other application, Is there any way to add a port information in datasource request? The API URL is: https://hostname:port/path..
... View more
Labels
- Labels:
-
Policies
Jul 04, 2022
07:55 AM
I want manage 5G licenses (CNF). Are there any use cases like that? Basically, we are talking about containers in kubernetes, licensed by vCPU.
... View more
Jul 01, 2022
03:19 PM
Hi,
If i have applications running in kubernetes/openshift (on CLOUD), Can Flexera identify and manage these licenses?
Is it necessary another agent or Flexera gets automatically all data from CLOUD API connections?
... View more
Latest posts by williamtaka
Subject | Views | Posted |
---|---|---|
69 | Mar 22, 2023 12:43 PM | |
75 | Mar 07, 2023 12:01 PM | |
98 | Mar 06, 2023 11:13 AM | |
164 | Feb 08, 2023 06:51 AM | |
371 | Feb 07, 2023 07:02 AM | |
264 | Feb 01, 2023 02:08 PM | |
206 | Jan 28, 2023 05:20 PM | |
472 | Jan 26, 2023 08:45 AM | |
533 | Jul 04, 2022 07:55 AM | |
627 | Jul 01, 2022 03:19 PM |
Activity Feed
- Posted How to get cookie from response header using policy API DataSource on Flexera One Forum. Mar 22, 2023 12:43 PM
- Posted CLOUD WorkFlow - Debuging/Throubleshooting on Flexera One Forum. Mar 07, 2023 12:01 PM
- Posted How to get logs from cloud workflow on Flexera One Forum. Mar 06, 2023 11:13 AM
- Posted Re: Flexera Policy Tool (fpt) - 'An unexpected error occurred: insufficient privilege' when trying to use on Flexera One Forum. Feb 08, 2023 06:51 AM
- Got a Kudo for Re: Flexera Policy Tool (fpt) - 'An unexpected error occurred: insufficient privilege' when trying to use. Feb 08, 2023 06:51 AM
- Got a Kudo for Re: How to create a policy datasource API with custom port. Feb 07, 2023 06:17 PM
- Posted Re: How to create a policy datasource API with custom port on Flexera One Forum. Feb 07, 2023 07:02 AM
- Got a Kudo for Flexera Policy Tool (fpt) - 'An unexpected error occurred: insufficient privilege' when trying to use. Feb 01, 2023 03:42 PM
- Posted Flexera Policy Tool (fpt) - 'An unexpected error occurred: insufficient privilege' when trying to use on Flexera One Forum. Feb 01, 2023 02:08 PM
- Posted Is there a way to execute a policy in a specific day of the month? on Flexera One Forum. Jan 28, 2023 05:20 PM
- Posted How to create a policy datasource API with custom port on Flexera One Forum. Jan 26, 2023 08:45 AM
- Posted Re: Managing licenses from application in kubernetes/openshift (CLOUD) on Flexera One Forum. Jul 04, 2022 07:55 AM
- Posted Managing licenses from application in kubernetes/openshift (CLOUD) on Flexera One Forum. Jul 01, 2022 03:19 PM