-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
129 changed files
with
6,735 additions
and
4,868 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
migrations/app/schema/20240319214733_remove_sit_authorized_end_date.up.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ALTER TABLE mto_service_items DROP COLUMN IF EXISTS sit_authorized_end_date; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -86,8 +86,9 @@ const ( | |
// RA Validator: [email protected] | ||
// RA Modified Severity: CAT III | ||
// #nosec G101 | ||
OktaAdminSecretKeyFlag string = "okta-admin-secret-key" | ||
OktaOfficeGroupIDFlag string = "okta-office-group-id" | ||
OktaAdminSecretKeyFlag string = "okta-admin-secret-key" | ||
OktaOfficeGroupIDFlag string = "okta-office-group-id" | ||
OktaCustomerGroupIDFlag string = "okta-customer-group-id" | ||
) | ||
|
||
// InitAuthFlags initializes Auth command line flags | ||
|
@@ -108,6 +109,7 @@ func InitAuthFlags(flag *pflag.FlagSet) { | |
flag.String(OktaAdminCallbackURL, "", "The callback URL from logging in to the admin Okta app back to MilMove.") | ||
flag.String(OktaAdminSecretKeyFlag, "", "The secret key for the miltiary Admin app, aka 'my'.") | ||
flag.String(OktaOfficeGroupIDFlag, "", "The office group id for the Office app, aka 'office'.") | ||
flag.String(OktaCustomerGroupIDFlag, "", "The customer group id for the Customer app.") | ||
} | ||
|
||
// CheckAuth validates Auth command line flags | ||
|
@@ -136,6 +138,7 @@ func CheckAuth(v *viper.Viper) error { | |
|
||
groupIDVars := []string{ | ||
OktaOfficeGroupIDFlag, | ||
OktaCustomerGroupIDFlag, | ||
} | ||
|
||
for _, c := range clientIDVars { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.