Represents the execution trace (log) of a CI/CD job. Job logs record all console output produced during job execution, including script commands and their output, environment variable expansions (if set -x is used), error messages, and any data written to stdout/stderr. Logs are stored by GitLab as trace artifacts and are accessible to users with the appropriate project role.
Job logs are a common source of credential leakage — accidentally printed tokens, SSH keys, passwords, or API keys can be discovered via secret scanning during enrichment. GL_ContainsCredentialsFor edges are added when secrets are found.
| Property Name | Data Type | Description |
|---|---|---|
| name | string | Artifact filename for the log (typically the job name) |
| file_format | string | File format of the log artifact |
| file_type | string | Always trace for job logs |
| size | integer | Log file size in bytes |
flowchart TD
GL_JobLog[fa:fa-scroll GL_JobLog]
GL_LeakedSecret[fa:fa-key GL_LeakedSecret]
GL_Job[fa:fa-gear GL_Job]
GL_Job -.->|GL_Produced| GL_JobLog
GL_JobLog -->|GL_ContainsCredentialsFor| GL_LeakedSecret