I can't find some types of Admin Audit Activity Events - google-admin-sdk

I checked this url below,
https://developers.google.com/admin-sdk/reports/v1/appendix/activity/admin-event-names
And created a script to check event for each activity type. After then, I found some activity types are Not listed on this table.
CUSTOM_USER_SCHEMA_SETTINGS
SAML2_SERVICE_PROVIDER_CONFIG_SETTINGS
Could you please tell me where I can get more information regarding them if you have.
Best regards,

For what its worth, I can't find it either
It seems that these activity types are not supported by the API, at least I could not find any way to get those events.
In which cased I would encourage you to make a feature request using this template:
Admin SDK Feature Request
That way Google at least know that there are people who would like to see this. Make sure to justify the request with your practical use case so that they understand why you need it.

Related

Export Detailed Analytics from DialogFlow

I am looking to export analytics from DialogFlow. Specifically, I'd like to know how my users are using the chatbot, what things they are asking it and where. The Analytics Page on dialogflow has some of this information in the form of percentages, which is what I want, but there's 2 issues with that:
The data is a bit skewed as 99% usage is for the welcome page, which always appears, so that data is not useful.
I need to make a report for higher-ups that contains this information, which requires me to export it, but I do not see an option to do so.
I see you can use gcp logs explorer to look at this as well, but then I need to filter only the dialogflow logs and make sense of them and analyze percentages from there, that just seems like a step back, and the documentation for that is just confusing.
How can I filter, sort and export this data to get what I actually want without the noise?
This question: (How to export Analytics from dialogflow?) seems to be asking a similar thing, but the answer given only tells how to turn on logging, which I already have done. I'm looking to export these logs in a useful form.

Microsoft Cloud For Sustainability on MS Dynamics - is there any demo data available/accessible, extended multilingual support?

I am trying to wrap my head around Microsoft Cloud for Sustainability. Apparently it's a solution based on Microsoft Dynamics. I need to have more back-end to that solution, because as it is right now I'm either lacking permissions (or extra paid access to Microsoft resources) or missing a chunk of documentation, because I'm unable to:
Change default language across the board - I can switch MS Dynamics to any language I want, but it will work for a shell only. Anything that's CfS specific, is in English. Do I remove the demo data and import my own scopes and data? As only thing available are database and Cube for BI analytics and JSON files describing CfS structure in general (that's in CDM), do I really have to create it from scratch? This brings me to second question:
Access entry-level data that's already in demo version - I need to see what's in the database the CfS is using, or be able to modify it. Is there any way to get to it via Business Central, if at all possible?
Since I will be preparing several presentations for potential customers, I need a way to quickly create a dataset based on initial and very basic information provided by each customer, how can I do that with trial user
I work for a company that's Microsoft Certified Partner, so logically resources for what I need should be available to me, but either links in the documentation are dead (and some are, as they redirect to general info) or require some special access level (or are dead, but error message is really not helpful at all).
Is there somewhere else I can go? The Documentation page offers little towards what I need...
P.S. I think I should tag this question with CfS specific tags, but not enough rep...

Provision product with strip and dj-stripe

I'm using stripe with DRF and on top of that, I've implemented the library dj-stripe.
Everything works so far but I'm not really sure how to provision my product now. I do have access to the subscription and customer object for every user but these objects are quite complicated / big. I can't really do something like if user.subscription -> do this since the subscription could be e. g. deleted, inactive. I also need a more granular solution since I need to apply limits like:
if subscription.plan.product === "Entry Plan":
# allow user to only create 5 instances
I can't really find information on how to do this elegantly and consistently for an entire app.
If you're looking at the Subscription object for a customer, then yes you will need to check the status of the Subscription to ensure it's still active. dj-stripe appears to have a helper for this.
The implementation of provisioning access to your application/products is up to you, because it depends heavily on your business needs. If you have specific questions about challenges beyond the subscription status, I suggesting asking those clearly so that they can be addressed, but there is no concise way to explain how to generally provision access.
As I side note, I recommended reaching out to the author of dj-stripe with a thank you and ask what you can do to help get the docs for checking subscriptions fleshed out.

Is there any way to print to stdout, stderr, or log files in google deployment manager?

I would like to write debug information in my DM templates, but I cannot see nor find a way to generate print statements, logs, or anything to aid in debugging when something goes wrong with my template.
How do I add print or logging to deployment manager?
I checked, currently the only way to troubleshoot is to rely on the expanded template from the Deployment Manager Dashboard. You can check it in the following URL for a given deployment, but I guess you were already aware of this possibility:
https://console.cloud.google.com/dm/deployments/details/DEPLOYMENTNAME?project=PROJECTID
However a feature request has been opened and currently the engineering team is working and discussing the best way to provide to the customers this possibility.
https://issuetracker.google.com/80368273
I advise you to star the feature request in order to get updates via email and to place a comment in order to show the interest of the community.
All the official communication regarding that feature will be posted there.
Disclaimer: I work for Google Cloud Platform Support

How do I limit a function's callers to a particular logged-in user or role using WWSAPI?

I've been using http://blogs.msdn.com/b/haoxu/archive/2008/12/02/wwsapi-to-wcf-interop-nettcpbinding-with-transport-security.aspx as a guidelines on how to implement a secure connection using Windows Authentication. The next step for me is to use this to limit approved callers to either a login or a role/Windows group. I haven't been able to find out how to do this through the code samples I've found, so I'm wondering if anyone else has successfully implemented this.
Thanks for any help forthcoming.
Edit: I'm basically looking for the equivalent of C#'s PrincipalPermission attribute.
After further investigation this isn't possible with WWSAPI.