Course curriculum

  • 1

    Welcome

    • Welcome video

    • How to use this course

  • 2

    Overview of OPA

    • The Problem OPA Solves

    • What is OPA?

    • Quiz on OPA and its Integrations

    • OPA Features

    • Quiz on OPA Features

    • Further reading

  • 3

    Rego Expressions

    • Single values

    • Quiz on Single Values

    • Comparing and Constructing Values

    • Quiz on multiple values

    • Further reading

  • 4

    Basic Rego Rules

    • Boolean rules and evaluation

    • Quiz on boolean rules and evaluation

    • Rule chaining and non-boolean rules

    • Quiz on rule chaining and non-boolean rules

    • Further reading

  • 5

    Unit testing

    • Unit tests and test coverage

    • Unit testing example

    • Hands-on: running unit tests using OPA CLI

  • 6

    Basic Rego Rules: Hands-on Lab

    • Section 1: Getting Started

    • Section 2: Start CarInfoStore Policy

    • Section 3: Write Tests

    • Section 4: Finish the Policy

    • Hands-on Lab Quiz

    • Extra credit: Connect Policy to OPA

  • 7

    Partial Rego Rules

    • Partial Set Rules

    • Quiz on Partial Set Rules

    • Partial Object Rules and Function Rules

    • Quiz on Partial Object and Function Rules

    • Further reading

  • 8

    Rego Iteration

    • Iteration for arrays, objects, and sets

    • Quiz on iteration for arrays, objects, and sets

    • Multi-iteration, generating output, and safety

    • Quiz for multi-iteration, generating output, and safety

    • Further reading

  • 9

    Rego Packages

    • Organizing policies into packages

    • Quiz for packages

    • Further reading

  • 10

    Next Steps

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

    • Help us improve!

Reviews

5 star rating

Explained very well

Satish Reddi

The explanation of whole policy autoring with simple modules gives clear idea of what is really needed while writing and packaging policies

The explanation of whole policy autoring with simple modules gives clear idea of what is really needed while writing and packaging policies

Read Less
5 star rating

Nice tutorials to learn Rego

Motonori Shindo

Very good tutorials. Clear explanations about Rego in video format and then relevant questions were asked.

Very good tutorials. Clear explanations about Rego in video format and then relevant questions were asked.

Read Less
5 star rating

Perfect!

Aser Ahmad

I liked it A LOT! The content takes you easily into the basics of rego and simplifies it in an interesting way.

I liked it A LOT! The content takes you easily into the basics of rego and simplifies it in an interesting way.

Read Less
5 star rating

Great coverage of all the important pieces

Chris Carter

This course is much easier to follow along with than just reading the documentation on the OPA website. Good examples and progression leads to a tight unders...

Read More

This course is much easier to follow along with than just reading the documentation on the OPA website. Good examples and progression leads to a tight understanding at the end. Now I just need to go apply this knowledge.

Read Less
5 star rating

Excellent intro to Rego

Andrew Benton

The course does a great job of getting you into rego at the right pace. The quizzes help to solidify examples given in the lessons.

The course does a great job of getting you into rego at the right pace. The quizzes help to solidify examples given in the lessons.

Read Less