Skip to content

Commit

Permalink
Merge pull request #9 from f5devcentral/class4-api
Browse files Browse the repository at this point in the history
logs
  • Loading branch information
MattDierick authored Nov 4, 2023
2 parents f591697 + f8b10dd commit 3d92d6a
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 19 deletions.
20 changes: 1 addition & 19 deletions docs/class4/module1/lab2/lab2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -102,22 +102,4 @@ As a reminder, the endpoint ``/colors`` is not defined in the specification file
:scale: 50%


Test your API Protection LB
---------------------------

#. Open Postman
#. Run the below calls

#. GET /api/adjectives
#. GET /api/animals
#. GET /api/locations

.. note:: The 3 calls are successful because there are defined in the OAS file (method + endpoint)

#. Now, run the below call

#. GET /api/colors

.. note:: This call is denied because not part of the OAS file


.. note:: You are good to test your first API Protection Load Balancer in F5 Distributes Cloud
26 changes: 26 additions & 0 deletions docs/class4/module1/lab3/lab3.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,29 @@
Test your modern API application protection
===========================================

#. Open Postman
#. Run the below calls

#. GET /api/adjectives
#. GET /api/animals
#. GET /api/locations

.. note:: The 3 calls are successful because there are defined in the OAS file (method + endpoint)

#. Now, run the below call

#. GET /api/colors

.. note:: This call is denied because not part of the OAS file

Check the logs
--------------

* Go tho the security dashboard (Overview > Dashboards > Security Dashboard)
* Scroll down and click on your ``sentence`` app LB
* Go to ``Security Analytics``

.. note:: Scroll and search for API events

.. image:: ../pictures/api-protect-event.png
:align: center
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3d92d6a

Please sign in to comment.