Layer7 API Management

Expand all | Collapse all

policy fragments

Jump to Best Answer
  • 1.  policy fragments

    Posted 12-06-2018 06:44 AM

    Hi There,

    We have a service contain few encapsulated assertions,is their a way to pull out what are various encapsulated assertions the service may contain probably with some query or in any other way? pls advice



  • 2.  Re: policy fragments
    Best Answer

    Posted 12-06-2018 08:12 PM

    Hello Popleys,

     

    How about exporting the service into a file (XML formatted) by "Export Policy" in the Policy Manager and extracting "EncapsulatedAssertionReference" elements from it?

    You can find the name of the encapsulated assertion in the "Name" sub-element.

     

    Here's an example:

    <EncapsulatedAssertionReference RefType="com.l7tech.console.policy.exporter.EncapsulatedAssertionReference">
       <Name>API XSS Protection</Name>
       <Guid>2be8eaf2-9b42-4173-ace9-3fdb471fb407</Guid>
    </EncapsulatedAssertionReference>

     

    I hope it works for your purpose.

     

    Best regards,

    Seiji



  • 3.  Re: policy fragments

    Posted 12-09-2018 07:24 PM

    In addition to Seiji's answer, it seems on policy manager, search box, input "EncapsulatedAssertion" should also work.



  • 4.  Re: policy fragments

    Posted 12-24-2018 09:42 AM

    Hi 
    I believe your questions has been answered, I will mark this as the correct answer.
    When your question is not answered or you still have additional questions please let us know.
    With Kind Regards

    Dirk