Skip to content

Commit

Permalink
Change ScubaGoggles Version Number to 0.3.0 (#363)
Browse files Browse the repository at this point in the history
* Update the version number

* Delete Testing/Functional/MarkdownTests/validate_baseline_links.py
  • Loading branch information
adhilto authored Aug 27, 2024
1 parent 60f51f3 commit 55d454d
Show file tree
Hide file tree
Showing 106 changed files with 1,694 additions and 1,694 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
</ul>
<ul>
<a href="https://github.com/cisagov/ScubaGoggles/releases" alt="ScubaGoggles version #">
<img src="https://img.shields.io/badge/ScubaGoggles-v0.2.0-%2385B065?labelColor=%23005288" /></a>
<img src="https://img.shields.io/badge/ScubaGoggles-v0.3.0-%2385B065?labelColor=%23005288" /></a>
<a href="https://github.com/cisagov/ScubaGoggles/tree/main/baselines" alt="GWS SCB version #">
<img src="https://img.shields.io/badge/GWS_SCB-v0.2-%2385B065?labelColor=%23005288" /></a>
<img src="https://img.shields.io/badge/GWS_SCB-v0.3-%2385B065?labelColor=%23005288" /></a>
<a href="" alt="Downloads">
<img src="https://img.shields.io/github/downloads/cisagov/ScubaGoggles/total.svg" /></a>
</ul>
Expand Down
40 changes: 20 additions & 20 deletions Testing/RegoTests/calendar/calendar01_test.rego
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ package calendar
import future.keywords

#
# GWS.CALENDAR.1.1v0.2
# GWS.CALENDAR.1.1v0.3
#--
test_ExtSharingPrimaryCal_Correct_V1 if {
# Test external sharing for primary calendars when there's only one event
PolicyId := "GWS.CALENDAR.1.1v0.2"
PolicyId := "GWS.CALENDAR.1.1v0.3"
Output := tests with input as {
"calendar_logs": {"items": [
{
Expand Down Expand Up @@ -35,7 +35,7 @@ test_ExtSharingPrimaryCal_Correct_V1 if {

test_ExtSharingPrimaryCal_Correct_V2 if {
# Test external sharing for primary calendars when there's multiple events and the most most recent is correct
PolicyId := "GWS.CALENDAR.1.1v0.2"
PolicyId := "GWS.CALENDAR.1.1v0.3"
Output := tests with input as {
"calendar_logs": {"items": [
{
Expand Down Expand Up @@ -75,7 +75,7 @@ test_ExtSharingPrimaryCal_Correct_V2 if {

test_ExtSharingPrimaryCal_Correct_V3 if {
# Test external sharing for primary calendars when there's multiple OUs
PolicyId := "GWS.CALENDAR.1.1v0.2"
PolicyId := "GWS.CALENDAR.1.1v0.3"
Output := tests with input as {
"calendar_logs": {"items": [
{
Expand Down Expand Up @@ -115,7 +115,7 @@ test_ExtSharingPrimaryCal_Correct_V3 if {

test_ExtSharingPrimaryCal_Correct_V4 if {
# Test external sharing for primary calendars when there's multiple OUs, and an older event is non-compliant
PolicyId := "GWS.CALENDAR.1.1v0.2"
PolicyId := "GWS.CALENDAR.1.1v0.3"
Output := tests with input as {
"calendar_logs": {"items": [
{
Expand Down Expand Up @@ -166,7 +166,7 @@ test_ExtSharingPrimaryCal_Correct_V4 if {

test_ExtSharingPrimaryCal_Correct_V5 if {
# Test external sharing for primary, inherit from parent
PolicyId := "GWS.CALENDAR.1.1v0.2"
PolicyId := "GWS.CALENDAR.1.1v0.3"
Output := tests with input as {
"calendar_logs": {"items": [
{
Expand Down Expand Up @@ -217,7 +217,7 @@ test_ExtSharingPrimaryCal_Correct_V5 if {

test_ExtSharingPrimaryCal_Correct_V6 if {
# Test group
PolicyId := "GWS.CALENDAR.1.1v0.2"
PolicyId := "GWS.CALENDAR.1.1v0.3"
Output := tests with input as {
"calendar_logs": {"items": [
{
Expand Down Expand Up @@ -258,7 +258,7 @@ test_ExtSharingPrimaryCal_Correct_V6 if {

test_ExtSharingPrimaryCal_Incorrect_V1 if {
# Test external sharing for primary calendars when there are no relevant events
PolicyId := "GWS.CALENDAR.1.1v0.2"
PolicyId := "GWS.CALENDAR.1.1v0.3"
Output := tests with input as {
"calendar_logs": {"items": [
{
Expand Down Expand Up @@ -291,7 +291,7 @@ test_ExtSharingPrimaryCal_Incorrect_V1 if {

test_ExtSharingPrimaryCal_Incorrect_V2 if {
# Test external sharing for primary calendars when there's only one event and it's wrong
PolicyId := "GWS.CALENDAR.1.1v0.2"
PolicyId := "GWS.CALENDAR.1.1v0.3"
Output := tests with input as {
"calendar_logs": {"items": [
{
Expand Down Expand Up @@ -322,7 +322,7 @@ test_ExtSharingPrimaryCal_Incorrect_V2 if {

test_ExtSharingPrimaryCal_Incorrect_V3 if {
# Test external sharing for primary calendars when there are multiple events and the most recent is wrong
PolicyId := "GWS.CALENDAR.1.1v0.2"
PolicyId := "GWS.CALENDAR.1.1v0.3"
Output := tests with input as {
"calendar_logs": {"items": [
{
Expand Down Expand Up @@ -365,7 +365,7 @@ test_ExtSharingPrimaryCal_Incorrect_V3 if {
test_ExtSharingPrimaryCal_Incorrect_V4 if {
# Test external sharing for primary calendars when there is no event for the Top-level OU
# but there is one for a different OU
PolicyId := "GWS.CALENDAR.1.1v0.2"
PolicyId := "GWS.CALENDAR.1.1v0.3"
Output := tests with input as {
"calendar_logs": {"items": [
{
Expand Down Expand Up @@ -399,7 +399,7 @@ test_ExtSharingPrimaryCal_Incorrect_V4 if {
test_ExtSharingPrimaryCal_Incorrect_V5 if {
# Test external sharing for primary calendars when the Top-Level OU is compliant,
# but a secondary OU is non-compliant
PolicyId := "GWS.CALENDAR.1.1v0.2"
PolicyId := "GWS.CALENDAR.1.1v0.3"
Output := tests with input as {
"calendar_logs": {"items": [
{
Expand Down Expand Up @@ -441,7 +441,7 @@ test_ExtSharingPrimaryCal_Incorrect_V5 if {

test_ExtSharingPrimaryCal_Incorrect_V6 if {
# Test: top-level OU is compliant but a group is non-compliant
PolicyId := "GWS.CALENDAR.1.1v0.2"
PolicyId := "GWS.CALENDAR.1.1v0.3"
Output := tests with input as {
"calendar_logs": {"items": [
{
Expand Down Expand Up @@ -484,7 +484,7 @@ test_ExtSharingPrimaryCal_Incorrect_V6 if {

test_ExtSharingPrimaryCal_Incorrect_V if {
# Test: top-level OU and a group are non-compliant
PolicyId := "GWS.CALENDAR.1.1v0.2"
PolicyId := "GWS.CALENDAR.1.1v0.3"
Output := tests with input as {
"calendar_logs": {"items": [
{
Expand Down Expand Up @@ -530,11 +530,11 @@ test_ExtSharingPrimaryCal_Incorrect_V if {
#--

#
# GWS.CALENDAR.1.2v0.2
# GWS.CALENDAR.1.2v0.3
#--
test_ExtSharingSecondaryCal_Correct_V1 if {
# Test external sharing for secondary calendars when there's only one event
PolicyId := "GWS.CALENDAR.1.2v0.2"
PolicyId := "GWS.CALENDAR.1.2v0.3"
Output := tests with input as {
"calendar_logs": {"items": [
{
Expand Down Expand Up @@ -566,7 +566,7 @@ test_ExtSharingSecondaryCal_Correct_V1 if {

test_ExtSharingSecondaryCal_Correct_V2 if {
# Test external sharing for secondary calendars when there's multiple events and the most most recent is correct
PolicyId := "GWS.CALENDAR.1.2v0.2"
PolicyId := "GWS.CALENDAR.1.2v0.3"
Output := tests with input as {
"calendar_logs": {"items": [
{
Expand Down Expand Up @@ -609,7 +609,7 @@ test_ExtSharingSecondaryCal_Correct_V2 if {

test_ExtSharingSecondaryCal_Incorrect_V1 if {
# Test external sharing for secondary calendars when there are no relevant events
PolicyId := "GWS.CALENDAR.1.2v0.2"
PolicyId := "GWS.CALENDAR.1.2v0.3"
Output := tests with input as {
"calendar_logs": {"items": [
{
Expand Down Expand Up @@ -642,7 +642,7 @@ test_ExtSharingSecondaryCal_Incorrect_V1 if {

test_ExtSharingSecondaryCal_Incorrect_V2 if {
# Test external sharing for secondary calendars when there's only one event and it's wrong
PolicyId := "GWS.CALENDAR.1.2v0.2"
PolicyId := "GWS.CALENDAR.1.2v0.3"
Output := tests with input as {
"calendar_logs": {"items": [
{
Expand Down Expand Up @@ -675,7 +675,7 @@ test_ExtSharingSecondaryCal_Incorrect_V2 if {

test_ExtSharingSecondaryCal_Incorrect_V3 if {
# Test external sharing for secondary calendars when there are multiple events and the most recent is wrong
PolicyId := "GWS.CALENDAR.1.2v0.2"
PolicyId := "GWS.CALENDAR.1.2v0.3"
Output := tests with input as {
"calendar_logs": {"items": [
{
Expand Down
20 changes: 10 additions & 10 deletions Testing/RegoTests/calendar/calendar02_test.rego
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import future.keywords
#--
test_ExtInvitationsWarning_Correct_V1 if {
# Test external invitations warnings when there's only one event
PolicyId := "GWS.CALENDAR.2.1v0.2"
PolicyId := "GWS.CALENDAR.2.1v0.3"
Output := tests with input as {
"calendar_logs": {"items": [
{
Expand Down Expand Up @@ -35,7 +35,7 @@ test_ExtInvitationsWarning_Correct_V1 if {

test_ExtInvitationsWarning_Correct_V2 if {
# Test external invitations warning when there's multiple events and the most most recent is correct
PolicyId := "GWS.CALENDAR.2.1v0.2"
PolicyId := "GWS.CALENDAR.2.1v0.3"
Output := tests with input as {
"calendar_logs": {"items": [
{
Expand Down Expand Up @@ -75,7 +75,7 @@ test_ExtInvitationsWarning_Correct_V2 if {

test_ExtInvitationsWarning_Correct_V3 if {
# Test external invitations warning when there's multiple OUs
PolicyId := "GWS.CALENDAR.2.1v0.2"
PolicyId := "GWS.CALENDAR.2.1v0.3"
Output := tests with input as {
"calendar_logs": {"items": [
{
Expand Down Expand Up @@ -115,7 +115,7 @@ test_ExtInvitationsWarning_Correct_V3 if {

test_ExtInvitationsWarning_Correct_V4 if {
# Test external invitations warning when there's multiple OUs, and an older event is non-compliant
PolicyId := "GWS.CALENDAR.2.1v0.2"
PolicyId := "GWS.CALENDAR.2.1v0.3"
Output := tests with input as {
"calendar_logs": {"items": [
{
Expand Down Expand Up @@ -166,7 +166,7 @@ test_ExtInvitationsWarning_Correct_V4 if {

test_ExtInvitationsWarning_Incorrect_V1 if {
# Test external invitations warning when there are no relevant events
PolicyId := "GWS.CALENDAR.2.1v0.2"
PolicyId := "GWS.CALENDAR.2.1v0.3"
Output := tests with input as {
"calendar_logs": {"items": [
{
Expand Down Expand Up @@ -199,7 +199,7 @@ test_ExtInvitationsWarning_Incorrect_V1 if {

test_ExtInvitationsWarning_Incorrect_V2 if {
# Test external invitations warning when there's only one event and it's wrong
PolicyId := "GWS.CALENDAR.2.1v0.2"
PolicyId := "GWS.CALENDAR.2.1v0.3"
Output := tests with input as {
"calendar_logs": {"items": [
{
Expand Down Expand Up @@ -230,7 +230,7 @@ test_ExtInvitationsWarning_Incorrect_V2 if {

test_ExtInvitationsWarning_Incorrect_V3 if {
# Test external invitations warning when there are multiple events and the most recent is wrong
PolicyId := "GWS.CALENDAR.2.1v0.2"
PolicyId := "GWS.CALENDAR.2.1v0.3"
Output := tests with input as {
"calendar_logs": {"items": [
{
Expand Down Expand Up @@ -273,7 +273,7 @@ test_ExtInvitationsWarning_Incorrect_V3 if {

test_ExtInvitationsWarning_Incorrect_V4 if {
# Test external invitations warning when there is no event for the Top-level OU but there is one for a different OU
PolicyId := "GWS.CALENDAR.2.1v0.2"
PolicyId := "GWS.CALENDAR.2.1v0.3"
Output := tests with input as {
"calendar_logs": {"items": [
{
Expand Down Expand Up @@ -306,7 +306,7 @@ test_ExtInvitationsWarning_Incorrect_V4 if {

test_ExtInvitationsWarning_Incorrect_V5 if {
# Test external invitations warning when the Top-Level OU is compliant, but a secondary OU is non-compliant
PolicyId := "GWS.CALENDAR.2.1v0.2"
PolicyId := "GWS.CALENDAR.2.1v0.3"
Output := tests with input as {
"calendar_logs": {"items": [
{
Expand Down Expand Up @@ -348,7 +348,7 @@ test_ExtInvitationsWarning_Incorrect_V5 if {

test_ExtInvitationsWarning_Incorrect_V6 if {
# Test ou and group
PolicyId := "GWS.CALENDAR.2.1v0.2"
PolicyId := "GWS.CALENDAR.2.1v0.3"
Output := tests with input as {
"calendar_logs": {"items": [
{
Expand Down
14 changes: 7 additions & 7 deletions Testing/RegoTests/calendar/calendar03_test.rego
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import future.keywords
#--
test_CalInteropMan_Correct_V1 if {
# Test calendar interop management when there's only one event
PolicyId := "GWS.CALENDAR.3.1v0.2"
PolicyId := "GWS.CALENDAR.3.1v0.3"
Output := tests with input as {
"calendar_logs": {"items": [
{
Expand Down Expand Up @@ -37,7 +37,7 @@ test_CalInteropMan_Correct_V1 if {

test_CalInteropMan_Correct_V2 if {
# Test calendar interop management when there's multiple events and the most most recent is correct
PolicyId := "GWS.CALENDAR.3.1v0.2"
PolicyId := "GWS.CALENDAR.3.1v0.3"
Output := tests with input as {
"calendar_logs": {"items": [
{
Expand Down Expand Up @@ -78,7 +78,7 @@ test_CalInteropMan_Correct_V2 if {

test_CalInteropMan_Incorrect_V1 if {
# Test calendar interop management when there are no relevant events
PolicyId := "GWS.CALENDAR.3.1v0.2"
PolicyId := "GWS.CALENDAR.3.1v0.3"
Output := tests with input as {
"calendar_logs": {"items": [
{
Expand Down Expand Up @@ -111,7 +111,7 @@ test_CalInteropMan_Incorrect_V1 if {

test_CalInteropMan_Incorrect_V2 if {
# Test calendar interop management when there's only one event and it's wrong
PolicyId := "GWS.CALENDAR.3.1v0.2"
PolicyId := "GWS.CALENDAR.3.1v0.3"
Output := tests with input as {
"calendar_logs": {"items": [
{
Expand Down Expand Up @@ -140,7 +140,7 @@ test_CalInteropMan_Incorrect_V2 if {

test_CalInteropMan_Incorrect_V3 if {
# Test calendar interop management when there are multiple events and the most recent is wrong
PolicyId := "GWS.CALENDAR.3.1v0.2"
PolicyId := "GWS.CALENDAR.3.1v0.3"
Output := tests with input as {
"calendar_logs": {"items": [
{
Expand Down Expand Up @@ -180,12 +180,12 @@ test_CalInteropMan_Incorrect_V3 if {
#--

#
# GWS.CALENDAR.3.2v0.2
# GWS.CALENDAR.3.2v0.3
#--

test_OAuth_Correct_V1 if {
# Not-Implemented
PolicyId := "GWS.CALENDAR.3.2v0.2"
PolicyId := "GWS.CALENDAR.3.2v0.3"
Output := tests with input as {
"calendar_logs": {"items": [
]},
Expand Down
Loading

0 comments on commit 55d454d

Please sign in to comment.