Home / Companies / CircleCI / Blog / May 2023

May 2023 Summaries

3 posts from CircleCI

Filter
Month: Year:
Post Summaries Back to Blog
Static application security testing (SAST) is an essential method for detecting security vulnerabilities in software development, particularly within the context of CI/CD pipelines. By analyzing application code without executing it, SAST identifies potential threats early in the development process, allowing developers to address issues before they affect live environments. This proactive approach not only enhances application security but also supports regulatory compliance and creates a more secure software supply chain. Tools such as CircleCI offer seamless integration of SAST into CI/CD workflows, facilitating automated scans and real-time feedback on vulnerabilities across multiple programming languages and frameworks. However, SAST should be part of a broader security strategy that includes dynamic application security testing (DAST), interactive application security testing (IAST), and continuous security updates, forming a comprehensive DevSecOps pipeline to ensure robust protection against potential security breaches.
May 24, 2023 1,842 words in the original blog post.
CircleCI's integration with GitLab allows for seamless setup of Continuous Integration (CI) pipelines, applicable to both GitLab's SaaS and self-managed versions. The tutorial provides a detailed guide on configuring GitLab with CircleCI, starting with the prerequisites, such as having a GitLab and CircleCI account, and basic Git knowledge. It walks through setting up a minimal Python Flask application as a starter project, creating a CircleCI configuration file, and defining a job and workflow that will automate testing processes in a Docker container. Users are shown how to connect CircleCI with GitLab by authorizing access and setting up personal access tokens, especially for self-managed GitLab instances. By making a simple code change and a subsequent commit, users can trigger their first CircleCI pipeline and monitor its execution both within GitLab's and CircleCI's interfaces, thereby gaining a comprehensive view of their CI/CD process.
May 18, 2023 1,374 words in the original blog post.
Ensuring the security of static credentials such as passwords, tokens, and API keys is crucial for protecting digital infrastructure from intrusion and misuse, particularly for organizations delivering software at scale. Platform engineers can enhance pipeline security by using OpenID Connect (OIDC) tokens for authentication with a central secrets store, allowing for fine-grained access control through custom OIDC claims. This approach, demonstrated through connecting CircleCI pipelines to HashiCorp Vault, supports role-based access control (RBAC), adhering to the principle of least privilege by restricting access based on tasks or roles. OIDC, built on the OAuth 2.0 protocol, enables temporary access tokens, reducing the risk of exposing long-lived credentials. By implementing RBAC in CI/CD pipelines, organizations can revoke access quickly if suspicious activities are detected, minimizing the blast radius of potential security incidents. Additionally, dynamic secrets provided by Vault offer an advanced security measure by issuing ephemeral secrets that are revoked immediately after use, further securing sensitive resources. This strategy not only strengthens credential management but also enables platform engineers to empower development teams with secure, self-service workflows.
May 08, 2023 2,027 words in the original blog post.