Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
doc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
varac-projects
doc
Commits
b1455d9d
Unverified
Commit
b1455d9d
authored
3 months ago
by
T. Hinrichsmeyer
Browse files
Options
Downloads
Patches
Plain Diff
add oidc
parent
c25b6762
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/container/security.md
+7
-1
7 additions, 1 deletion
docs/container/security.md
docs/security/authentication/oidc.md
+23
-0
23 additions, 0 deletions
docs/security/authentication/oidc.md
with
30 additions
and
1 deletion
docs/container/security.md
+
7
−
1
View file @
b1455d9d
...
...
@@ -3,7 +3,12 @@
## Trivy
-
[
GitHub
](
https://github.com/aquasecurity/trivy
)
-
[
Docs
](
https://aquasecurity.github.io/trivy
)
-
[
Docs
](
https://trivy.dev/latest/docs/
)
### Config
-
[
Configuration
](
https://trivy.dev/latest/docs/configuration/
)
-
Cli options can be exported as env vars (i.e.
`--debug`
->
`TRIVY_DEBUG=true trivy ...`
)
### Usage
...
...
@@ -25,6 +30,7 @@ Scan container image:
```
sh
trivy image php:8.4.4-apache-bullseye
trivy image php:8.4.4-apache-bullseye |
head
-5
# Hide details
TRIVY_IGNORE_UNFIXED
=
true
trivy image php:8.4.4-apache-bullseye
# Only show fixed CVEs
```
### Ignore checks
...
...
This diff is collapsed.
Click to expand it.
docs/security/authentication/oidc.md
0 → 100644
+
23
−
0
View file @
b1455d9d
# OpenID Connect
-
Central identity provider (IDP), also calles OpenID Provider
-
Client (or relying party)
-
Identity Token includes personal information
(
`Claims`
, i.e. name, role, email etc.)
-
Identity tokens are signed by the IDP, and verified by the client
-
JSON Web token (
`JWT`
)
-
Standard claims (
`iss`
,
`sub`
,
`aud`
,
`email`
etc.)
-
Custom claims (i.e.
`roles`
)
## OIDC flows
### Authorization code flow
-
Most relevant
-
Token is transferred via the
`Backend channel`
(CLient
<->
IDP)
-
SAML uses the
`Frontend channel`
via Browser, which makes
it less secure
## Scopes
-
Defines the content of the ID token, i.e. which
`claims`
can an application get from the IDP ?
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment