Course curriculum

  • 1

    OPA Policy Essentials

    • Essential Foundations of OPA Policy

    • Hands-on exercise 1 (warm-up)

    • Hands-on exercise 2 (authoring a rule condition)

    • Hands-on exercise 3 (using a package)

    • Hands-on exercise 4 (practicing AND & OR)

    • How to use the course

  • 2

    More on Rules

    • Assignment value

    • Local variable

    • Rule conflict

    • Rule conflict avoidance

  • 3

    Rule Conditions Deep-Dive

    • Rule conditions overview

    • Ordinary conditions that succeed

    • Ordinary conditions that fail

    • Not-conditions

    • Assignment conditions

    • Membership conditions

    • Check your understanding: rule conditions

  • 4

    Unit testing

    • Writing unit tests

    • Unit testing demo

    • Running tests using the Enterprise OPA Manager (Styra DAS)

    • Running tests using the OPA CLI

    • Test-driven development

  • 5

    Iteration

    • Set iteration

    • Array iteration

    • Object iteration

    • Nested iteration

    • Freeform iteration

    • Exercises on iteration

  • 6

    Defining Collections

    • Complete definition by enumeration

    • Complete definition by comprehension

    • Partial definition (single element per rule)

    • Partial definition (generating multiple elements using iteration)

    • Exercises on defining collections

  • 7

    Functions

    • Built-in functions

    • User-defined functions

  • 8

    Every (For Each)

    • Basic Usage

    • Or-type condition

  • 9

    OPA command-line interface

    • The OPA executable

    • Evaluation: opa eval command

    • Unit testing: opa test command

  • 10

    Next Steps

    • Congrats! Here's what's next...

    • Help us improve!

Reviews

5 star rating

nice course

Patrice Riou

this is a nice way to learn how to work with OPA (and DAS ?). Discussion to get help, is very useful has teachers are very quick to answer. Maybe a link to O...

Read More

this is a nice way to learn how to work with OPA (and DAS ?). Discussion to get help, is very useful has teachers are very quick to answer. Maybe a link to OPA Rego Syntax could be useful. But it is already very good like this. Maybe also suggest a solution or an alternative, even if we can sometimes find some with the comments

Read Less
5 star rating

Amazing course

Claudenir Freitas

Thanks for creating this course. That's very good!

Thanks for creating this course. That's very good!

Read Less
5 star rating

Informative and descriptive training

sreehesh manathanath

5 star rating

Good set of hands on exercises

Pushpalanka Jayawardhana

5 star rating

Junior Backend Developer

Tesfay Hagos

This is perfect course to start over Opa

This is perfect course to start over Opa

Read Less