Skip to content

Commit

Permalink
Merge pull request #43 from f5devcentral/alfredo
Browse files Browse the repository at this point in the history
Alfredo
  • Loading branch information
MattDierick authored Apr 19, 2024
2 parents 0bedb9f + 3db027e commit 1bbd80f
Show file tree
Hide file tree
Showing 12 changed files with 75 additions and 9 deletions.
Binary file modified .DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/class4/class4.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Distributed Cloud API Security provides discovery and deep insights from use of
APIs change frequently:

* Easily identify all API endpoints mapped to your applications and monitor anomalous activities or shadow APIs including blocking of suspicious requests and endpoints.
* Generate API schema and Swagger files to minimize manual tracking of API endpoints.
* Generate API schema and Swagger files to minimize manual tracking of API endpoints.
* Reduce time spent configuring and deploying API security policies.

.. note:: Before you procced to the lab it is mandatory to enter the email that you have joined the UDF with in order to populate any dynamic content. If all good the button will turn green.
Expand Down
33 changes: 25 additions & 8 deletions docs/class4/module1/lab2/lab2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,44 @@ Protect the modern API application with F5XC - static protection
Assign OpenAPI spec file to the LB
----------------------------------

Copy and save the below OpenAPI Spec file (extension is .yaml). It defines the Sentence API app ``without`` COLORS.
|
Download the file
^^^^^^^^^^^^^^^^^
Go to the link below and export the OpenAPI Spec file as **YAML unresolved** file. It defines the Sentence API app **without** the COLORS API endpoint.

https://app.swaggerhub.com/apis/F5EMEASSA/API-Sentence-2022/v1-auth#/

Upload file
^^^^^^^^^^^
In your Namespace, upload the file into ``Web and API Protection`` > ``Manage`` > ``Files`` > ``Swagger Files``
.. image:: ../pictures/swaggerhub.png
:align: left

|
Upload the file
^^^^^^^^^^^^^^^
**In your Namespace**, goto ``Web and API Protection`` > ``Manage`` > ``Files`` > ``Swagger Files`` and click ``Add Swagger File`` on the top. The ``Add Swagger File`` button in the middle may not work currently due to a GUI bug.

.. image:: ../pictures/add-swagger.png
:align: left

|
.. image:: ../pictures/add-oas.png
:align: left

Create API Definition
^^^^^^^^^^^^^^^^^^^^^
Create the API Definition
^^^^^^^^^^^^^^^^^^^^^^^^^
You can't assign an OAS spec file to a Load Balancer or a listener (Virtual Server in BIG-IP, Server or Location in Nginx). You must create an API Definition object.
In your Namespace, create a new API Definition into ``Web and API Protection`` > ``Manage`` > ``API Management`` > ``API Definition``

.. image:: ../pictures/menu-api-def.png
:align: left
:scale: 50%

Create a new API Definition and select the File created in the previous step. Select the version (so far, we have only one version)
Create a new API Definition and select the File you have created in the step before. Select the version (so far, we have only one version) as shown in the screenshot below and click on ``Save and Exit``

.. image:: ../pictures/create-api-def.png
:align: left

.. note:: The API Definition is now created, and can be assigned to a Load Balancer

Expand All @@ -34,7 +51,7 @@ Assign API definition to the LB
2. Go to the section ``API Protection``
3. Enable API Definition and select the API Definition created previously. Keep the validation ``Disabled`` at the moment.

.. image:: ../pictures/enable-api-def.png
.. image:: ../pictures/api-protection.png
:align: center
:scale: 70%

Expand Down
Binary file added docs/class4/module1/pictures/add-swagger.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/class4/module1/pictures/api-protection.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/class4/module1/pictures/create-api-def.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/class4/module1/pictures/swaggerhub.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions docs/class4/module2/lab4/lab4.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
API Inventory Management
========================

API Inventory Management is a feature designed to enhance your API ecosystem by simplifying the management of your API inventory.

It allows for easy managing of discovered APIs, marking of non-API discoveries, removal of outdated endpoints, and seamless updates to API schemas.
This tool keeps your API inventory organized, current, and secure, catering to your dynamic requirements.

15 changes: 15 additions & 0 deletions docs/class4/module3/lab1/lab1.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
JWT validation and access control
=================================



JWT Validation
--------------


JWT Access Control
------------------


sub title
^^^^^^^^^
11 changes: 11 additions & 0 deletions docs/class4/module3/lab2/lab2.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Rate Limiting protection
========================



Subtitle 1
----------

Sub Sub title 2
^^^^^^^^^^^^^^^

13 changes: 13 additions & 0 deletions docs/class4/module3/module3.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Advanced Protection
###################

In this section, we will add advanced protection on our protected application


**Module 3 - All sections**

.. toctree::
:maxdepth: 1
:glob:

lab*/lab*
2 changes: 2 additions & 0 deletions docs/class5/module1/lab2/lab2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ The **Customer Edge** aka. **CE** will extend the F5 Cloud infrastructure into t
Object Value
========================================== ========================================================================================
**Name** $$ceOnPrem.clusterName$$

**Generic Server Certified Hardware** kvm-voltstack-combo

**Master Nodes** Under **Name** enter the value **master**

Expand Down

0 comments on commit 1bbd80f

Please sign in to comment.