Open muemi03 opened 3 months ago
@muemi03
could you please allow me to push commits on this branch. I would like to merge this branch with few changes. Thanks.
Hi @graju256 I've added you as a contributor. Let me know if this is sufficient.
@muemi03 previous invitation is expired. Could you please invite me to your repo again. Thanks.
Hi Raju. Invite sent. However, my repo is very very old and not up to date. Hence I am wondering if this is of any valuable help ... I could invest some time into it , to add my recent ( based on 1.3.00) changes to it Will do so next week. Regards ... Michael
Gesendet von Outlook für Androidhttps://aka.ms/AAb9ysg
From: graju256 @.> Sent: Friday, September 6, 2024 8:57:36 AM To: Layer7-Community/graphman-client @.> Cc: Michael Mueller @.>; Mention @.> Subject: Re: [Layer7-Community/graphman-client] filter enhancements (PR #41)
[CAUTION: This Email is from outside the Organization. Unless you trust the sender, Don’t click links or open attachments as it may be a Phishing email, which can steal your Information and compromise your Computer.]
@muemi03https://github.com/muemi03 previous invitation is expired. Could you please invite me to your repo. Thanks.
— Reply to this email directly, view it on GitHubhttps://github.com/Layer7-Community/graphman-client/pull/41#issuecomment-2333376123, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AO3F3I7BZQKFVND7Y5RA46LZVFG6BAVCNFSM6AAAAABIWJDTECVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZTGM3TMMJSGM. You are receiving this because you were mentioned.Message ID: @.***>
::DISCLAIMER::
The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects.
@muemi03 Thanks.
I've submitted a new PR (as a place-holder) to take the filtering capability to the next level. Please check the PR's description: https://github.com/Layer7-Community/graphman-client/pull/72
@graju256 That looks great !! Thanks
Suggestions for filter capabilities enhancements.
filter constraint "contains" was adopted to support regular expressions. Example:
graphman.sh export --using policies --gateway ... --output ... --filter.by name --filter.contains "[Tt][Ee][Ss][Tt].*"
filter constraints "lessThan" and "greaterThan" were added primarily to support Date comparisions for trusted Certifiactes, to gather certs for renewal : example:
graphman.sh export --using trustedCerts --gateway ... --output ... --filter.by notAfter --filter.lessThan 2024-07-31
will result in all Certs that will expire after 31.07.2024filter constraint "not" was introduced to easily invert the filter criterias.
graphman.sh export --using policies --gateway ... --output ... --filter.by name --filter.contains ".*[Tt][Ee][Ss][Tt].*" --filter.not true