[{"data":1,"prerenderedAt":1925},["ShallowReactive",2],{"/blog/enhance-data-security-with-custom-pii-detection-rulesets":3,"navigation-en-us":1173,"banner-en-us":1610,"footer-en-us":1618,"blog-post-authors-en-us-Fernando Diaz":1865,"blog-related-posts-en-us-enhance-data-security-with-custom-pii-detection-rulesets":1880,"blog-share-wrapper-en-us":1905,"next-steps-en-us":1915},{"id":4,"title":5,"authors":6,"body":8,"category":1151,"date":1152,"description":1153,"extension":1154,"externalUrl":1155,"faq":1155,"featured":135,"heroImage":1156,"hidePromo":1157,"meta":1158,"navigation":135,"path":1159,"seo":1160,"slug":1164,"stem":1165,"tags":1166,"template":1171,"updatedDate":1155,"__hash__":1172},"blogPosts/en-us/blog/enhance-data-security-with-custom-pii-detection-rulesets.md","Strengthen data security with custom PII detection rulesets",[7],"Fernando Diaz",{"type":9,"value":10,"toc":1137},"minimark",[11,15,20,29,34,63,67,70,79,84,92,175,180,187,486,491,502,510,515,518,565,568,573,580,688,691,741,750,757,760,766,769,778,782,785,814,818,827,831,857,863,871,877,905,908,941,954,958,1012,1015,1028,1032,1035,1065,1069,1072,1075,1078,1090,1094,1097,1133],[12,13,14],"p",{},"Protecting sensitive information is more critical than ever. GitLab's Secret Detection feature provides a powerful solution to identify and prevent the exposure of sensitive data. This tutorial explores how GitLab Secret Detection works, how to create custom rulesets for finding personally identifiable information, and how GitLab Duo Chat can streamline the creation of regex patterns for PII detection.",[16,17,19],"h2",{"id":18},"understanding-gitlab-secret-detection","Understanding GitLab Secret Detection",[12,21,22,28],{},[23,24,27],"a",{"href":25,"rel":26},"https://docs.gitlab.com/user/application_security/secret_detection/",[],"GitLab Secret Detection"," is a security scanning feature integrated into the GitLab CI/CD pipeline. It automatically scans your codebase to identify hardcoded secrets, credentials, and other sensitive information that shouldn't be stored in your repository.",[30,31,33],"h3",{"id":32},"key-benefits","Key benefits",[35,36,37,45,51,57],"ul",{},[38,39,40,44],"li",{},[41,42,43],"strong",{},"Data breach prevention"," detects secrets before they're committed to your repository.",[38,46,47,50],{},[41,48,49],{},"Automated scanning"," runs as part of your CI/CD pipeline without manual intervention.",[38,52,53,56],{},[41,54,55],{},"Customizable rules"," extend detection capabilities with custom patterns.",[38,58,59,62],{},[41,60,61],{},"Compliance support"," helps meet regulatory requirements like GDPR, HIPAA, and the California Privacy Protection Act.",[16,64,66],{"id":65},"create-custom-rulesets-for-pii-detection","Create custom rulesets for PII detection",[12,68,69],{},"While GitLab's default secret detection covers common secrets like API keys and passwords, you may need custom rules to identify specific types of PII relevant to your organization.",[12,71,72,73,78],{},"To get started, create a new GitLab project and follow the steps below. You can follow along and see usage examples in our ",[23,74,77],{"href":75,"rel":76},"https://gitlab.com/gitlab-da/tutorials/security-and-governance/devsecops/secret-scanning/pii-data-ruleset",[],"PII Demo Application",".",[12,80,81],{},[41,82,83],{},"Step 1: Set up Secret Detection",[12,85,86,87,91],{},"Ensure Secret Detection is enabled in your ",[88,89,90],"code",{},".gitlab-ci.yml"," file:",[93,94,99],"pre",{"className":95,"code":96,"language":97,"meta":98,"style":98},"language-yaml shiki shiki-themes github-light","include:\n  - template: Security/Secret-Detection.gitlab-ci.yml\n\nsecret_detection:\n  variables:\n    SECRET_DETECTION_EXCLUDED_PATHS: \"rules,.gitlab,README.md,LICENSE\"\n    SECRET_DETECTION_HISTORIC_SCAN: \"true\"\n\n","yaml","",[88,100,101,114,130,137,145,153,164],{"__ignoreMap":98},[102,103,106,110],"span",{"class":104,"line":105},"line",1,[102,107,109],{"class":108},"shJU0","include",[102,111,113],{"class":112},"sgsFI",":\n",[102,115,117,120,123,126],{"class":104,"line":116},2,[102,118,119],{"class":112},"  - ",[102,121,122],{"class":108},"template",[102,124,125],{"class":112},": ",[102,127,129],{"class":128},"sYBdl","Security/Secret-Detection.gitlab-ci.yml\n",[102,131,133],{"class":104,"line":132},3,[102,134,136],{"emptyLinePlaceholder":135},true,"\n",[102,138,140,143],{"class":104,"line":139},4,[102,141,142],{"class":108},"secret_detection",[102,144,113],{"class":112},[102,146,148,151],{"class":104,"line":147},5,[102,149,150],{"class":108},"  variables",[102,152,113],{"class":112},[102,154,156,159,161],{"class":104,"line":155},6,[102,157,158],{"class":108},"    SECRET_DETECTION_EXCLUDED_PATHS",[102,160,125],{"class":112},[102,162,163],{"class":128},"\"rules,.gitlab,README.md,LICENSE\"\n",[102,165,167,170,172],{"class":104,"line":166},7,[102,168,169],{"class":108},"    SECRET_DETECTION_HISTORIC_SCAN",[102,171,125],{"class":112},[102,173,174],{"class":128},"\"true\"\n",[12,176,177],{},[41,178,179],{},"Step 2: Create a custom ruleset file",[12,181,182,183,186],{},"Create the directory and file ",[88,184,185],{},"rules/pii-data-extenson.toml",", which contains the regex patterns for PII data along with an allowlist of patterns to ignore. Below are patterns to detect passport numbers (USA), phone numbers (USA), and email addresses:",[93,188,192],{"className":189,"code":190,"language":191,"meta":98,"style":98},"language-toml shiki shiki-themes github-light","[extend]\n# Extends default packaged ruleset, NOTE: do not change the path.\npath = \"/gitleaks.toml\"\n\n# Patterns to ignore (used for tests)\n[allowlist]\ndescription = \"allowlist of patterns and paths to ignore in detection\"\nregexTarget = \"match\"\nregexes = ['''555-555-5555''', '''user@example.com''']\npaths = ['''(.*?)(jpg|gif|doc|pdf|bin|svg|socket)''']\n\n# US Passport Number (USA)\n[[rules]]\nid = \"us_passport_detection\"\ntitle = \"US Passport Number\"\ndescription = \"Detects US passport numbers\"\nregex = '''\\b[A-Z]{1,2}[0-9]{6,9}\\b'''\nkeywords = [\"passport\"]\n\n# Phone Number (USA)\n[[rules]]\nid = \"us_phone_number_detection_basic\"\ntitle = \"US Phone Number\"\ndescription = \"Detects US phone numbers in basic format\"\nregex = '''\\b\\d{3}-\\d{3}-\\d{4}\\b'''\nkeywords = [\"phone\", \"mobile\"]\n\n# Email Address\n[[rules]]\nid = \"email_address\"\ntitle = \"Email Address\"\ndescription = \"Detects email addresses\"\nregex = '''[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}'''\nkeywords = [\"email\", \"e-mail\"]\n","toml",[88,193,194,206,212,220,224,229,238,246,255,272,283,288,294,306,315,324,332,341,352,357,363,372,380,388,396,404,419,424,430,439,447,455,463,471],{"__ignoreMap":98},[102,195,196,199,203],{"class":104,"line":105},[102,197,198],{"class":112},"[",[102,200,202],{"class":201},"s7eDp","extend",[102,204,205],{"class":112},"]\n",[102,207,208],{"class":104,"line":116},[102,209,211],{"class":210},"sAwPA","# Extends default packaged ruleset, NOTE: do not change the path.\n",[102,213,214,217],{"class":104,"line":132},[102,215,216],{"class":112},"path = ",[102,218,219],{"class":128},"\"/gitleaks.toml\"\n",[102,221,222],{"class":104,"line":139},[102,223,136],{"emptyLinePlaceholder":135},[102,225,226],{"class":104,"line":147},[102,227,228],{"class":210},"# Patterns to ignore (used for tests)\n",[102,230,231,233,236],{"class":104,"line":155},[102,232,198],{"class":112},[102,234,235],{"class":201},"allowlist",[102,237,205],{"class":112},[102,239,240,243],{"class":104,"line":166},[102,241,242],{"class":112},"description = ",[102,244,245],{"class":128},"\"allowlist of patterns and paths to ignore in detection\"\n",[102,247,249,252],{"class":104,"line":248},8,[102,250,251],{"class":112},"regexTarget = ",[102,253,254],{"class":128},"\"match\"\n",[102,256,258,261,264,267,270],{"class":104,"line":257},9,[102,259,260],{"class":112},"regexes = [",[102,262,263],{"class":128},"'''555-555-5555'''",[102,265,266],{"class":112},", ",[102,268,269],{"class":128},"'''user@example.com'''",[102,271,205],{"class":112},[102,273,275,278,281],{"class":104,"line":274},10,[102,276,277],{"class":112},"paths = [",[102,279,280],{"class":128},"'''(.*?)(jpg|gif|doc|pdf|bin|svg|socket)'''",[102,282,205],{"class":112},[102,284,286],{"class":104,"line":285},11,[102,287,136],{"emptyLinePlaceholder":135},[102,289,291],{"class":104,"line":290},12,[102,292,293],{"class":210},"# US Passport Number (USA)\n",[102,295,297,300,303],{"class":104,"line":296},13,[102,298,299],{"class":112},"[[",[102,301,302],{"class":201},"rules",[102,304,305],{"class":112},"]]\n",[102,307,309,312],{"class":104,"line":308},14,[102,310,311],{"class":112},"id = ",[102,313,314],{"class":128},"\"us_passport_detection\"\n",[102,316,318,321],{"class":104,"line":317},15,[102,319,320],{"class":112},"title = ",[102,322,323],{"class":128},"\"US Passport Number\"\n",[102,325,327,329],{"class":104,"line":326},16,[102,328,242],{"class":112},[102,330,331],{"class":128},"\"Detects US passport numbers\"\n",[102,333,335,338],{"class":104,"line":334},17,[102,336,337],{"class":112},"regex = ",[102,339,340],{"class":128},"'''\\b[A-Z]{1,2}[0-9]{6,9}\\b'''\n",[102,342,344,347,350],{"class":104,"line":343},18,[102,345,346],{"class":112},"keywords = [",[102,348,349],{"class":128},"\"passport\"",[102,351,205],{"class":112},[102,353,355],{"class":104,"line":354},19,[102,356,136],{"emptyLinePlaceholder":135},[102,358,360],{"class":104,"line":359},20,[102,361,362],{"class":210},"# Phone Number (USA)\n",[102,364,366,368,370],{"class":104,"line":365},21,[102,367,299],{"class":112},[102,369,302],{"class":201},[102,371,305],{"class":112},[102,373,375,377],{"class":104,"line":374},22,[102,376,311],{"class":112},[102,378,379],{"class":128},"\"us_phone_number_detection_basic\"\n",[102,381,383,385],{"class":104,"line":382},23,[102,384,320],{"class":112},[102,386,387],{"class":128},"\"US Phone Number\"\n",[102,389,391,393],{"class":104,"line":390},24,[102,392,242],{"class":112},[102,394,395],{"class":128},"\"Detects US phone numbers in basic format\"\n",[102,397,399,401],{"class":104,"line":398},25,[102,400,337],{"class":112},[102,402,403],{"class":128},"'''\\b\\d{3}-\\d{3}-\\d{4}\\b'''\n",[102,405,407,409,412,414,417],{"class":104,"line":406},26,[102,408,346],{"class":112},[102,410,411],{"class":128},"\"phone\"",[102,413,266],{"class":112},[102,415,416],{"class":128},"\"mobile\"",[102,418,205],{"class":112},[102,420,422],{"class":104,"line":421},27,[102,423,136],{"emptyLinePlaceholder":135},[102,425,427],{"class":104,"line":426},28,[102,428,429],{"class":210},"# Email Address\n",[102,431,433,435,437],{"class":104,"line":432},29,[102,434,299],{"class":112},[102,436,302],{"class":201},[102,438,305],{"class":112},[102,440,442,444],{"class":104,"line":441},30,[102,443,311],{"class":112},[102,445,446],{"class":128},"\"email_address\"\n",[102,448,450,452],{"class":104,"line":449},31,[102,451,320],{"class":112},[102,453,454],{"class":128},"\"Email Address\"\n",[102,456,458,460],{"class":104,"line":457},32,[102,459,242],{"class":112},[102,461,462],{"class":128},"\"Detects email addresses\"\n",[102,464,466,468],{"class":104,"line":465},33,[102,467,337],{"class":112},[102,469,470],{"class":128},"'''[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}'''\n",[102,472,474,476,479,481,484],{"class":104,"line":473},34,[102,475,346],{"class":112},[102,477,478],{"class":128},"\"email\"",[102,480,266],{"class":112},[102,482,483],{"class":128},"\"e-mail\"",[102,485,205],{"class":112},[12,487,488],{},[41,489,490],{},"Step 3: Extend Secret Detection with the custom ruleset file",[12,492,493,494,497,498,501],{},"Create a directory and file ",[88,495,496],{},".gitlab/secret-detection-ruleset.toml"," in the root of your repository. This file allows you to extend the standard configuration with the PII rules file, and overwrite the severity of the detected vulnerabilities (default severity is ",[88,499,500],{},"Critical",").",[93,503,508],{"className":504,"code":506,"language":507,"meta":98},[505],"language-text","# Define the pii rules to add to default configuration\n[[secrets.passthrough]]\ntype = \"file\"\ntarget = \"gitleaks.toml\"\nvalue = \"rules/pii-data-extension.toml\"\n\n# Overwrite Phone Number (USA) PII Severity\n[[secrets.ruleset]]\n[secrets.ruleset.identifier]\ntype = \"gitleaks_rule_id\"\nvalue = \"us_phone_number_detection_basic\"\n[secrets.ruleset.override]\nseverity = \"Medium\"\n\n# Overwrite Email Address PII Severity\n[[secrets.ruleset]]\n[secrets.ruleset.identifier]\ntype = \"gitleaks_rule_id\"\nvalue = \"email_address\"\n[secrets.ruleset.override]\nseverity = \"Low\"\n","text",[88,509,506],{"__ignoreMap":98},[12,511,512],{},[41,513,514],{},"Step 4: Commit your changes",[12,516,517],{},"Now add the changes in the above steps to your project.",[93,519,523],{"className":520,"code":521,"language":522,"meta":98,"style":98},"language-shell shiki shiki-themes github-light","cd /path/to/your/project\ngit add .\ngit commit -m \"Add PII data ruleset and Secret Scanning\"\ngit push\n","shell",[88,524,525,534,545,558],{"__ignoreMap":98},[102,526,527,531],{"class":104,"line":105},[102,528,530],{"class":529},"sYu0t","cd",[102,532,533],{"class":128}," /path/to/your/project\n",[102,535,536,539,542],{"class":104,"line":116},[102,537,538],{"class":201},"git",[102,540,541],{"class":128}," add",[102,543,544],{"class":128}," .\n",[102,546,547,549,552,555],{"class":104,"line":132},[102,548,538],{"class":201},[102,550,551],{"class":128}," commit",[102,553,554],{"class":529}," -m",[102,556,557],{"class":128}," \"Add PII data ruleset and Secret Scanning\"\n",[102,559,560,562],{"class":104,"line":139},[102,561,538],{"class":201},[102,563,564],{"class":128}," push\n",[12,566,567],{},"Once the code is committed, Secret Detection will run within the default branch.",[12,569,570],{},[41,571,572],{},"Step 5: Test detection of PII data",[12,574,575,576,579],{},"Now that we have configured the Secret Detection scanner, we should perform a test to see if the scanner is detecting the new custom patterns. This can be done by creating a merge request, which adds a new file named ",[88,577,578],{},"customer-data.yaml"," with the following:",[93,581,583],{"className":95,"code":582,"language":97,"meta":98,"style":98},"customers:\n  test_user:\n    phone_number: 555-555-555\n    email: user@example.com\n  justin_case:\n    phone_number: 512-123-4567\n    passport_number: A12345678\n    email: justin_case@example.com\n  chris_p_bacon:\n    phone_number: 305-123-4567\n    passport_number: B09876543\n    email: chris_p_bacon@example.com\n\n",[88,584,585,592,599,609,619,626,635,645,654,661,670,679],{"__ignoreMap":98},[102,586,587,590],{"class":104,"line":105},[102,588,589],{"class":108},"customers",[102,591,113],{"class":112},[102,593,594,597],{"class":104,"line":116},[102,595,596],{"class":108},"  test_user",[102,598,113],{"class":112},[102,600,601,604,606],{"class":104,"line":132},[102,602,603],{"class":108},"    phone_number",[102,605,125],{"class":112},[102,607,608],{"class":128},"555-555-555\n",[102,610,611,614,616],{"class":104,"line":139},[102,612,613],{"class":108},"    email",[102,615,125],{"class":112},[102,617,618],{"class":128},"user@example.com\n",[102,620,621,624],{"class":104,"line":147},[102,622,623],{"class":108},"  justin_case",[102,625,113],{"class":112},[102,627,628,630,632],{"class":104,"line":155},[102,629,603],{"class":108},[102,631,125],{"class":112},[102,633,634],{"class":128},"512-123-4567\n",[102,636,637,640,642],{"class":104,"line":166},[102,638,639],{"class":108},"    passport_number",[102,641,125],{"class":112},[102,643,644],{"class":128},"A12345678\n",[102,646,647,649,651],{"class":104,"line":248},[102,648,613],{"class":108},[102,650,125],{"class":112},[102,652,653],{"class":128},"justin_case@example.com\n",[102,655,656,659],{"class":104,"line":257},[102,657,658],{"class":108},"  chris_p_bacon",[102,660,113],{"class":112},[102,662,663,665,667],{"class":104,"line":274},[102,664,603],{"class":108},[102,666,125],{"class":112},[102,668,669],{"class":128},"305-123-4567\n",[102,671,672,674,676],{"class":104,"line":285},[102,673,639],{"class":108},[102,675,125],{"class":112},[102,677,678],{"class":128},"B09876543\n",[102,680,681,683,685],{"class":104,"line":290},[102,682,613],{"class":108},[102,684,125],{"class":112},[102,686,687],{"class":128},"chris_p_bacon@example.com\n",[12,689,690],{},"The scanner should now perform the following:",[35,692,693,708],{},[38,694,695,696,699,700,703,704,707],{},"Ignore the ",[88,697,698],{},"phone_number"," and ",[88,701,702],{},"email"," of ",[88,705,706],{},"test_user"," due to patterns being in allowlist",[38,709,710,711,699,714,717],{},"Detect six potential vulnerabilities due to the information present for both ",[88,712,713],{},"justin_case",[88,715,716],{},"chris_p_bacon",[35,718,719,725,732,738],{},[38,720,721,722,724],{},"U.S. passport number severity is set to ",[88,723,500],{}," (default)",[38,726,727,728,731],{},"U.S. phone number severity is set to ",[88,729,730],{},"Medium"," (override)",[38,733,734,735,731],{},"Email address severity is set to ",[88,736,737],{},"Low",[38,739,740],{},"Data from rules override is added to each vulnerability",[12,742,743,744,749],{},"Once the ",[23,745,748],{"href":746,"rel":747},"https://gitlab.com/gitlab-da/tutorials/security-and-governance/devsecops/secret-scanning/pii-data-ruleset/-/merge_requests/4",[],"merge request"," is submitted, the Secret Detection scanner runs and provides the following results:",[12,751,752],{},[753,754],"img",{"alt":755,"src":756},"Secret Detection finding custom PII data MR","https://res.cloudinary.com/about-gitlab-com/image/upload/v1750097709/Blog/Content%20Images/Blog/Content%20Images/pii_vulns_aHR0cHM6_1750097709683.png",[12,758,759],{},"When clicking on a vulnerability, you are presented with detailed vulnerability data based on what was configured in your newly set up rules:",[12,761,762],{},[753,763],{"alt":764,"src":765},"Expanded custom PII data vulnerability","https://res.cloudinary.com/about-gitlab-com/image/upload/v1750097710/Blog/Content%20Images/Blog/Content%20Images/pii_vulns_expanded_aHR0cHM6_1750097709684.png",[12,767,768],{},"This data allows you to determine the validity of the data present and address it accordingly.",[12,770,771,772,777],{},"There are additional ways to configure custom rulesets. For example, rules can be applied remotely to several projects, avoiding the need to duplicate the rules file. See the ",[23,773,776],{"href":774,"rel":775},"https://docs.gitlab.com/user/application_security/secret_detection/pipeline/configure/",[],"Secret Detection Configuration documentation"," for more information.",[16,779,781],{"id":780},"common-pii-types-to-consider","Common PII types to consider",[12,783,784],{},"When building your custom ruleset, consider including patterns for:",[35,786,787,790,793,796,799,802,805,808,811],{},[38,788,789],{},"Social Security Numbers",[38,791,792],{},"Credit card numbers",[38,794,795],{},"Driver's license numbers",[38,797,798],{},"Passport numbers",[38,800,801],{},"Email addresses",[38,803,804],{},"Phone numbers",[38,806,807],{},"IP addresses",[38,809,810],{},"Physical addresses",[38,812,813],{},"Medical record numbers",[16,815,817],{"id":816},"leveraging-gitlab-duo-chat-for-pattern-creation","Leveraging GitLab Duo Chat for pattern creation",[12,819,820,821,826],{},"Creating effective regex patterns can be challenging. This is where ",[23,822,825],{"href":823,"rel":824},"https://docs.gitlab.com/user/gitlab_duo_chat/",[],"GitLab Duo Chat"," comes in handy. GitLab Duo Chat is an AI-powered assistant that accelerates development with contextual, conversational AI. Chat is available to any user with an assigned GitLab Duo seat.",[30,828,830],{"id":829},"using-gitlab-duo-chat-to-generate-pii-regex-patterns","Using GitLab Duo Chat to generate PII regex patterns",[832,833,834,843],"ol",{},[38,835,836,839,840,842],{},[41,837,838],{},"Access GitLab Duo Chat:"," In the upper right corner, select ",[41,841,825],{},". A drawer opens on the right side of your screen.",[38,844,845,848,849,852,853,856],{},[41,846,847],{},"Prompt the chat:"," Enter a prompt in the chat input box and press ",[41,850,851],{},"Enter"," or select ",[41,854,855],{},"Send",":",[93,858,861],{"className":859,"code":860,"language":507,"meta":98},[505],"I need a regex pattern to detect Canadian Zip Codes in our codebase for secret detection\n",[88,862,860],{"__ignoreMap":98},[832,864,865],{"start":132},[38,866,867,870],{},[41,868,869],{},"Review and refine:"," GitLab Duo Chat will suggest a regex pattern that you can review and refine:",[93,872,875],{"className":873,"code":874,"language":507,"meta":98},[505],"Canadian postal codes follow the format \"A1A 1A1\" (where A is a letter and 1 is a digit). Here's a regex pattern that will detect Canadian postal codes in your codebase, accounting for both spaced and non-spaced formats:\n[A-Za-z]\\d[A-Za-z][ -]?\\d[A-Za-z]\\d\nThis pattern matches:\n* A letter, followed by a digit, followed by a letter\n* An optional space or hyphen\n* A digit, followed by a letter, followed by a digit\nIf you need a more strict pattern that only matches uppercase letters (as official Canadian postal codes use), you can use:\n[A-Z]\\d[A-Z][ -]?\\d[A-Z]\\d\nFor implementation in a secret detection tool, you might want to add word boundaries to avoid partial matches:\n\\b[A-Z]\\d[A-Z][ -]?\\d[A-Z]\\d\\b\nWould you like more details about implementing this in a specific secret detection system?\n",[88,876,874],{"__ignoreMap":98},[832,878,879,890],{"start":139},[38,880,881,884,885,889],{},[41,882,883],{},"Test the pattern:"," Test the pattern against sample data to ensure it works correctly. You can use sites like ",[23,886,887],{"href":887,"rel":888},"https://regex101.com/",[]," to validate patterns before you submit them to your ruleset.",[38,891,892,895,896,899,900,904],{},[41,893,894],{},"Add to your ruleset:"," Once satisfied, add the pattern to your ",[88,897,898],{},"rules/pii-data-extension.toml"," file and perform some tests to validate. This sample ",[23,901,748],{"href":902,"rel":903},"https://gitlab.com/gitlab-da/tutorials/security-and-governance/devsecops/secret-scanning/pii-data-ruleset/-/merge_requests/5/diffs",[]," contains a newly added rule for Canadian Zip Codes based on the above.",[12,906,907],{},"Additionally, you can use GitLab Duo Chat in:",[35,909,910,917,925,933],{},[38,911,912],{},[23,913,916],{"href":914,"rel":915},"https://docs.gitlab.com/user/project/web_ide/",[],"The GitLab Web IDE (VS Code in the cloud)",[38,918,919,920],{},"VS Code, with the ",[23,921,924],{"href":922,"rel":923},"https://marketplace.visualstudio.com/items?itemName=GitLab.gitlab-workflow",[],"GitLab Workflow extension for VS Code",[38,926,927,928],{},"JetBrains IDEs, with the ",[23,929,932],{"href":930,"rel":931},"https://plugins.jetbrains.com/plugin/22325-gitlab-duo",[],"GitLab Duo Plugin for JetBrains",[38,934,935,936],{},"Visual Studio for Windows, with the ",[23,937,940],{"href":938,"rel":939},"https://marketplace.visualstudio.com/items?itemName=GitLab.GitLabExtensionForVisualStudio",[],"GitLab Extension for Visual Studio",[12,942,943,944,949,950,78],{},"In the future, you’ll be able to leverage ",[23,945,948],{"href":946,"rel":947},"https://docs.gitlab.com/user/duo_agent_platform/",[],"GitLab Duo Workflow"," (currently in private beta) to automatically generate and add these patterns to your code base directly from your IDE. GitLab Duo Workflow is an AI agent, which transforms AI from reactive assistant to autonomous contributor, optimizing your software development lifecycle. Learn more about ",[23,951,948],{"href":952,"rel":953},"https://about.gitlab.com/blog/meet-gitlab-duo-workflow-the-future-of-ai-driven-development/",[],[16,955,957],{"id":956},"best-practices-for-pii-detection","Best practices for PII detection",[832,959,960,966,972,978,984,990,1001],{},[38,961,962,965],{},[41,963,964],{},"Start small:"," Begin with a few critical PII types and expand gradually.",[38,967,968,971],{},[41,969,970],{},"Test thoroughly:"," Test your patterns against sample data to avoid false positives.",[38,973,974,977],{},[41,975,976],{},"Update regularly:"," Review and update your rulesets as new PII requirements emerge.",[38,979,980,983],{},[41,981,982],{},"Document patterns:"," Maintain documentation for your custom regex patterns.",[38,985,986,989],{},[41,987,988],{},"Balance precision:"," Make patterns specific enough to avoid false positives but flexible enough to catch variations.",[38,991,992,1000],{},[41,993,994,995,856],{},"Implement ",[23,996,999],{"href":997,"rel":998},"https://about.gitlab.com/blog/prevent-secret-leaks-in-source-code-with-gitlab-secret-push-protection/",[],"Secret Push Protection"," Prevent PII data from making it into your repository.",[38,1002,1003,1011],{},[41,1004,1005,1006,856],{},"Set up ",[23,1007,1010],{"href":1008,"rel":1009},"https://docs.gitlab.com/user/application_security/policies/merge_request_approval_policies/",[],"Merge Request Approval Policies"," Require approval before merging any possible PII data to your repository.",[12,1013,1014],{},"Once you have set up a PII data ruleset to meet your organization's needs, remote rulesets can scan for PII data across multiple repositories without the need to duplicate the rules file. Watch this video to learn more:",[1016,1017,1020,1021],"figure",{"className":1018},[1019],"video_container","\n  ",[1022,1023,1027],"iframe",{"src":1024,"frameBorder":1025,"allowFullScreen":1026},"https://www.youtube.com/embed/vjJxQz918WE?si=CRdIEodo3ALxVWXO","0","true"," ",[16,1029,1031],{"id":1030},"handling-secret-detection-findings","Handling Secret Detection findings",[12,1033,1034],{},"When GitLab Secret Detection identifies potential PII in your code:",[832,1036,1037,1043,1049,1059],{},[38,1038,1039,1042],{},[41,1040,1041],{},"Review the finding:"," Assess whether it's a legitimate finding or a false positive.",[38,1044,1045,1048],{},[41,1046,1047],{},"Remediate:"," Remove the sensitive data and replace it with environment variables or secrets management.",[38,1050,1051,1058],{},[41,1052,1053,856],{},[23,1054,1057],{"href":1055,"rel":1056},"https://docs.gitlab.com/user/project/merge_requests/revert_changes/#redact-text-from-repository",[],"Redact text from repository"," Permanently delete sensitive or confidential information that was accidentally committed, ensuring it's no longer accessible in your repository's history.",[38,1060,1061,1064],{},[41,1062,1063],{},"Track progress:"," Use GitLab's security dashboard to monitor ongoing compliance.",[16,1066,1068],{"id":1067},"get-started-today","Get started today",[12,1070,1071],{},"GitLab Secret Detection, combined with custom PII rulesets, provides a powerful defense against inadvertent exposure of sensitive information. By leveraging GitLab Duo Chat to create precise regex patterns, teams can efficiently implement comprehensive PII detection across their codebase, ensuring regulatory compliance and protecting user data.",[12,1073,1074],{},"Remember that secret detection is just one component of a comprehensive security strategy. Combine it with other GitLab security features like static application security testing, dynamic application security testing, and dependency scanning for a more robust security posture.",[12,1076,1077],{},"Start implementing these practices today to better protect your users' personal information and maintain the security integrity of your applications.",[1079,1080,1081],"blockquote",{},[12,1082,1083,1084,1089],{},"Start ",[23,1085,1088],{"href":1086,"rel":1087},"https://about.gitlab.com/free-trial/",[],"a free trial of GitLab Ultimate and GitLab Duo ","today!",[16,1091,1093],{"id":1092},"more-resources","More resources",[12,1095,1096],{},"To learn more about GitLab security and compliance and how we can help enhance your AppSec workflows, follow the links below:",[35,1098,1099,1106,1113,1120,1127],{},[38,1100,1101],{},[23,1102,1105],{"href":1103,"rel":1104},"https://about.gitlab.com/solutions/application-security-testing/",[],"GitLab Security and Compliance Solutions",[38,1107,1108],{},[23,1109,1112],{"href":1110,"rel":1111},"https://about.gitlab.com/platform/",[],"GitLab DevSecOps Platform",[38,1114,1115],{},[23,1116,1119],{"href":1117,"rel":1118},"https://about.gitlab.com/gitlab-duo-agent-platform/",[],"GitLab Duo (AI)",[38,1121,1122],{},[23,1123,1126],{"href":1124,"rel":1125},"https://docs.gitlab.com/user/application_security/",[],"GitLab Application Security documentation",[38,1128,1129],{},[23,1130,1132],{"href":25,"rel":1131},[],"Secret Detection documentation",[1134,1135,1136],"style",{},"html pre.shiki code .shJU0, html code.shiki .shJU0{--shiki-default:#22863A}html pre.shiki code .sgsFI, html code.shiki .sgsFI{--shiki-default:#24292E}html pre.shiki code .sYBdl, html code.shiki .sYBdl{--shiki-default:#032F62}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html pre.shiki code .s7eDp, html code.shiki .s7eDp{--shiki-default:#6F42C1}html pre.shiki code .sAwPA, html code.shiki .sAwPA{--shiki-default:#6A737D}html pre.shiki code .sYu0t, html code.shiki .sYu0t{--shiki-default:#005CC5}",{"title":98,"searchDepth":116,"depth":116,"links":1138},[1139,1142,1143,1144,1147,1148,1149,1150],{"id":18,"depth":116,"text":19,"children":1140},[1141],{"id":32,"depth":132,"text":33},{"id":65,"depth":116,"text":66},{"id":780,"depth":116,"text":781},{"id":816,"depth":116,"text":817,"children":1145},[1146],{"id":829,"depth":132,"text":830},{"id":956,"depth":116,"text":957},{"id":1030,"depth":116,"text":1031},{"id":1067,"depth":116,"text":1068},{"id":1092,"depth":116,"text":1093},"security","2025-04-01","This tutorial explains how GitLab's customizable Secret Detection rulesets enhance data security by identifying PII patterns in code repositories. Learn how AI can help.","md",null,"https://res.cloudinary.com/about-gitlab-com/image/upload/v1750097701/Blog/Hero%20Images/Blog/Hero%20Images/blog-image-template-1800x945%20%285%29_1iy516k40hwBDChKcUJ2zb_1750097700983.png",false,{},"/en-us/blog/enhance-data-security-with-custom-pii-detection-rulesets",{"title":5,"description":1153,"ogTitle":5,"ogDescription":1153,"noIndex":1157,"ogImage":1156,"ogUrl":1161,"ogSiteName":1162,"ogType":1163,"canonicalUrls":1161},"https://about.gitlab.com/blog/enhance-data-security-with-custom-pii-detection-rulesets","https://about.gitlab.com","article","enhance-data-security-with-custom-pii-detection-rulesets","en-us/blog/enhance-data-security-with-custom-pii-detection-rulesets",[1151,1167,1168,1169,1170],"product","tutorial","DevSecOps platform","AI","BlogPost","EonoVdfPz-wXcIYrR2QVH935EgHXTC_AhrVpSejAFuU",{"logo":1174,"freeTrial":1179,"sales":1184,"login":1189,"items":1194,"search":1529,"minimal":1561,"duo":1580,"switchNav":1589,"pricingDeployment":1600},{"config":1175},{"href":1176,"dataGaName":1177,"dataGaLocation":1178},"/","gitlab logo","header",{"text":1180,"config":1181},"Get free trial",{"href":1182,"dataGaName":1183,"dataGaLocation":1178},"https://gitlab.com/-/trial_registrations/new?glm_source=about.gitlab.com&glm_content=default-saas-trial/","free trial",{"text":1185,"config":1186},"Request a demo",{"href":1187,"dataGaName":1188,"dataGaLocation":1178},"/request-a-demo/","sales",{"text":1190,"config":1191},"Sign in",{"href":1192,"dataGaName":1193,"dataGaLocation":1178},"https://gitlab.com/users/sign_in/","sign in",[1195,1281,1369,1374,1453,1507],{"text":1196,"left":135,"config":1197,"menu":1199},"Platform",{"dataNavLevelOne":1198},"platform",{"type":1200,"link":1201,"columns":1205,"feature":1270},"lists",{"text":1202,"config":1203},"Explore the Platform",{"href":1204,"dataGaName":1198,"dataGaLocation":1178},"/platform/",[1206,1229,1252],{"title":1207,"items":1208},"DevOps",[1209,1214,1219,1224],{"text":1210,"config":1211},"CI/CD",{"href":1212,"dataGaLocation":1178,"dataGaName":1213},"/solutions/continuous-integration/","ci/cd",{"text":1215,"config":1216},"Source Code Management",{"href":1217,"dataGaLocation":1178,"dataGaName":1218},"/solutions/source-code-management/","source code management",{"text":1220,"config":1221},"Agile Delivery",{"href":1222,"dataGaLocation":1178,"dataGaName":1223},"/solutions/agile-delivery/","agile delivery",{"text":1225,"config":1226},"Artifact Management",{"href":1227,"dataGaLocation":1178,"dataGaName":1228},"/artifact-central/","artifact management",{"title":1230,"items":1231},"Security & Governance",[1232,1237,1242,1247],{"text":1233,"config":1234},"Application Security Testing",{"href":1235,"dataGaLocation":1178,"dataGaName":1236},"/solutions/application-security-testing/","application security testing",{"text":1238,"config":1239},"Governance & Compliance",{"href":1240,"dataGaLocation":1178,"dataGaName":1241},"/solutions/software-compliance/","governance and compliance",{"text":1243,"config":1244},"Secrets Management",{"href":1245,"dataGaLocation":1178,"dataGaName":1246},"/gitlab-secrets-manager/","secrets management",{"text":1248,"config":1249},"Supply Chain Security",{"href":1250,"dataGaLocation":1178,"dataGaName":1251},"/solutions/supply-chain/","supply chain security",{"title":1253,"items":1254},"Agentic AI & Context",[1255,1260,1265],{"text":1256,"config":1257},"Duo Agent Platform",{"href":1258,"dataGaLocation":1178,"dataGaName":1259},"/gitlab-duo-agent-platform/","duo agent platform",{"text":1261,"config":1262},"Orbit Context Graph",{"href":1263,"dataGaLocation":1178,"dataGaName":1264},"/gitlab-orbit/","orbit",{"text":1266,"config":1267},"Visibility & Measurement",{"href":1268,"dataGaLocation":1178,"dataGaName":1269},"/solutions/visibility-measurement/","visibility and measurement",{"config":1271,"title":1274,"text":1275,"link":1276},{"background":1272,"textColor":1273},"url('https://res.cloudinary.com/about-gitlab-com/image/upload/v1790185102/o7dn32anqcb6z8dgd3as.jpg')","#000","GitLab Orbit is generally available","Higher agent accuracy, lower token cost",{"text":1277,"config":1278},"Read the announcement",{"href":1279,"dataGaName":1280,"dataGaLocation":1178},"/blog/gitlab-orbit-ga/","orbit ga announcement",{"text":1282,"left":135,"config":1283,"menu":1285},"Solutions",{"dataNavLevelOne":1284},"solutions",{"type":1200,"link":1286,"columns":1290,"feature":1360},{"text":1287,"config":1288},"View all Solutions",{"href":1289,"dataGaName":1284,"dataGaLocation":1178},"/solutions/",[1291,1309,1327],{"title":1292,"items":1293},"Outcomes",[1294,1299,1304],{"text":1295,"config":1296},"DevOps Modernization",{"href":1297,"dataGaLocation":1178,"dataGaName":1298},"/assessments/devops-modernization-assessment/","devops modernization",{"text":1300,"config":1301},"Security Modernization",{"href":1302,"dataGaLocation":1178,"dataGaName":1303},"/assessments/security-modernization-assessment/","security modernization",{"text":1305,"config":1306},"AI Modernization",{"href":1307,"dataGaLocation":1178,"dataGaName":1308},"/assessments/ai-modernization-assessment/","ai modernization",{"title":1310,"items":1311},"By size",[1312,1317,1322],{"text":1313,"config":1314},"Enterprise",{"href":1315,"dataGaLocation":1178,"dataGaName":1316},"/enterprise/","enterprise",{"text":1318,"config":1319},"Small Business",{"href":1320,"dataGaLocation":1178,"dataGaName":1321},"/small-business/","small business",{"text":1323,"config":1324},"Startups",{"href":1325,"dataGaLocation":1178,"dataGaName":1326},"/solutions/startups/","startups",{"title":1328,"items":1329},"Industries",[1330,1335,1340,1345,1350,1355],{"text":1331,"config":1332},"Financial Services",{"href":1333,"dataGaLocation":1178,"dataGaName":1334},"/solutions/finance/","financial services",{"text":1336,"config":1337},"Public Sector",{"href":1338,"dataGaLocation":1178,"dataGaName":1339},"/solutions/public-sector/","public sector",{"text":1341,"config":1342},"Telecommunications",{"href":1343,"dataGaLocation":1178,"dataGaName":1344},"/solutions/telecommunications/","telecommunications",{"text":1346,"config":1347},"Automotive",{"href":1348,"dataGaLocation":1178,"dataGaName":1349},"/solutions/automotive/","automotive",{"text":1351,"config":1352},"Education",{"href":1353,"dataGaLocation":1178,"dataGaName":1354},"/solutions/education/","education",{"text":1356,"config":1357},"Aerospace",{"href":1358,"dataGaLocation":1178,"dataGaName":1359},"/solutions/aerospace/","aerospace",{"config":1361,"title":1362,"text":1363,"link":1364},{"background":1272,"textColor":1273},"GitLab Security Standard","Learn how to harden your software factory and let AI agents earn autonomy, without trading away security.",{"text":1365,"config":1366},"Explore the standard",{"href":1367,"dataGaName":1368,"dataGaLocation":1178},"/gitlab-security-standard/","gitlab security standard",{"text":1370,"config":1371},"Pricing",{"href":1372,"dataGaName":1373,"dataGaLocation":1178,"dataNavLevelOne":1373},"/pricing/","pricing",{"text":1375,"config":1376,"menu":1378},"Resources",{"dataNavLevelOne":1377},"resources",{"type":1200,"link":1379,"columns":1383,"feature":1444},{"text":1380,"config":1381},"View all resources",{"href":1382,"dataGaName":1377,"dataGaLocation":1178},"/resources/",[1384,1417],{"title":1385,"items":1386},"Discover",[1387,1392,1397,1402,1407,1412],{"text":1388,"config":1389},"Docs",{"href":1390,"dataGaName":1391,"dataGaLocation":1178},"https://docs.gitlab.com/","docs",{"text":1393,"config":1394},"University",{"href":1395,"dataGaName":1396,"dataGaLocation":1178},"https://university.gitlab.com/","university",{"text":1398,"config":1399},"Demo Series",{"href":1400,"dataGaName":1401,"dataGaLocation":1178},"/gitlab-technical-demo-series/","demo series",{"text":1403,"config":1404},"Demo Hub",{"href":1405,"dataGaName":1406,"dataGaLocation":1178},"/demo-hub/","demo hub",{"text":1408,"config":1409},"Services",{"href":1410,"dataGaName":1411,"dataGaLocation":1178},"/services/","services",{"text":1413,"config":1414},"Well Architected",{"href":1415,"dataGaName":1416,"dataGaLocation":1178},"/resources/well-architected/","well architected",{"title":1418,"items":1419},"Connect",[1420,1425,1430,1434,1439],{"text":1421,"config":1422},"Blog",{"href":1423,"dataGaName":1424,"dataGaLocation":1178},"/blog/","blog",{"text":1426,"config":1427},"Community",{"href":1428,"dataGaName":1429,"dataGaLocation":1178},"/community/","community",{"text":1431,"config":1432},"Customers",{"href":1433,"dataGaName":589,"dataGaLocation":1178},"/customers/",{"text":1435,"config":1436},"Partners",{"href":1437,"dataGaName":1438,"dataGaLocation":1178},"/partners/","partners",{"text":1440,"config":1441},"Events",{"href":1442,"dataGaName":1443,"dataGaLocation":1178},"/events/","events",{"config":1445,"title":1446,"text":1447,"link":1448},{"background":1272,"textColor":1273},"What’s new in GitLab","Stay updated with our latest features and improvements.",{"text":1449,"config":1450},"Read the latest",{"href":1451,"dataGaName":1452,"dataGaLocation":1178},"/whats-new/","whats new",{"text":1454,"config":1455,"menu":1457},"Company",{"dataNavLevelOne":1456},"company",{"type":1200,"columns":1458},[1459],{"items":1460},[1461,1466,1472,1477,1482,1487,1492,1497,1502],{"text":1462,"config":1463},"About",{"href":1464,"dataGaName":1465,"dataGaLocation":1178},"/company/","about",{"text":1467,"config":1468,"footerGa":1471},"Jobs",{"href":1469,"dataGaName":1470,"dataGaLocation":1178},"/jobs/","jobs",{"dataGaName":1470},{"text":1473,"config":1474},"Press",{"href":1475,"dataGaName":1476,"dataGaLocation":1178},"/press/","press",{"text":1478,"config":1479},"Handbook",{"href":1480,"dataGaName":1481,"dataGaLocation":1178},"https://handbook.gitlab.com/","handbook",{"text":1483,"config":1484},"Leadership",{"href":1485,"dataGaName":1486,"dataGaLocation":1178},"/company/team/e-group/","leadership",{"text":1488,"config":1489},"Investor relations",{"href":1490,"dataGaName":1491,"dataGaLocation":1178},"https://ir.gitlab.com/overview/default.aspx","investor relations",{"text":1493,"config":1494},"Trust Center",{"href":1495,"dataGaName":1496,"dataGaLocation":1178},"/security/","trust center",{"text":1498,"config":1499},"AI Transparency Center",{"href":1500,"dataGaName":1501,"dataGaLocation":1178},"/ai-transparency-center/","ai transparency center",{"text":1503,"config":1504},"Newsletter",{"href":1505,"dataGaName":1506,"dataGaLocation":1178},"/company/contact/#contact-forms","newsletter",{"text":1508,"config":1509,"menu":1510},"Contact us",{"dataNavLevelOne":1456},{"type":1200,"columns":1511},[1512],{"items":1513},[1514,1519,1524],{"text":1515,"config":1516},"Talk to sales",{"href":1517,"dataGaName":1518,"dataGaLocation":1178},"/sales/","talk to sales",{"text":1520,"config":1521},"Support portal",{"href":1522,"dataGaName":1523,"dataGaLocation":1178},"https://support.gitlab.com/hc/en-us","support portal",{"text":1525,"config":1526},"Customer portal",{"href":1527,"dataGaName":1528,"dataGaLocation":1178},"https://customers.gitlab.com/customers/sign_in/","customer portal",{"close":1530,"login":1531,"suggestions":1538},"Close",{"text":1532,"link":1533},"To search repositories and projects, login to",{"text":1534,"config":1535},"gitlab.com",{"href":1192,"dataGaName":1536,"dataGaLocation":1537},"search login","search",{"text":1539,"default":1540},"Suggestions",[1541,1544,1547,1549,1553,1557],{"text":1542,"config":1543},"GitLab Duo Agent Platform",{"href":1258,"dataGaName":1542,"dataGaLocation":1537},{"text":1545,"config":1546},"Code Suggestions (AI)",{"href":1258,"dataGaName":1545,"dataGaLocation":1537},{"text":1210,"config":1548},{"href":1212,"dataGaName":1210,"dataGaLocation":1537},{"text":1550,"config":1551},"GitLab on AWS",{"href":1552,"dataGaName":1550,"dataGaLocation":1537},"/partners/technology-partners/aws/",{"text":1554,"config":1555},"GitLab on Google Cloud",{"href":1556,"dataGaName":1554,"dataGaLocation":1537},"/partners/technology-partners/google-cloud-platform/",{"text":1558,"config":1559},"Why GitLab?",{"href":1560,"dataGaName":1558,"dataGaLocation":1537},"/why-gitlab/",{"freeTrial":1562,"mobileIcon":1567,"desktopIcon":1572,"secondaryButton":1575},{"text":1563,"config":1564},"Start free trial",{"href":1565,"dataGaName":1183,"dataGaLocation":1566},"https://gitlab.com/-/trials/new/","nav",{"altText":1568,"config":1569},"Gitlab Icon",{"src":1570,"dataGaName":1571,"dataGaLocation":1566},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1758203874/jypbw1jx72aexsoohd7x.svg","gitlab icon",{"altText":1568,"config":1573},{"src":1574,"dataGaName":1571,"dataGaLocation":1566},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1758203875/gs4c8p8opsgvflgkswz9.svg",{"text":1576,"config":1577},"Get Started",{"href":1578,"dataGaName":1579,"dataGaLocation":1566},"https://gitlab.com/-/trial_registrations/new?glm_source=about.gitlab.com/get-started/","get started",{"freeTrial":1581,"mobileIcon":1585,"desktopIcon":1587},{"text":1582,"config":1583},"Learn more about GitLab Duo",{"href":1258,"dataGaName":1584,"dataGaLocation":1566},"gitlab duo",{"altText":1568,"config":1586},{"src":1570,"dataGaName":1571,"dataGaLocation":1566},{"altText":1568,"config":1588},{"src":1574,"dataGaName":1571,"dataGaLocation":1566},{"button":1590,"mobileIcon":1595,"desktopIcon":1597},{"text":1591,"config":1592},"/switch",{"href":1593,"dataGaName":1594,"dataGaLocation":1566},"#contact","switch",{"altText":1568,"config":1596},{"src":1570,"dataGaName":1571,"dataGaLocation":1566},{"altText":1568,"config":1598},{"src":1599,"dataGaName":1571,"dataGaLocation":1566},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1773335277/ohhpiuoxoldryzrnhfrh.png",{"freeTrial":1601,"mobileIcon":1606,"desktopIcon":1608},{"text":1602,"config":1603},"Back to pricing",{"href":1372,"dataGaName":1604,"dataGaLocation":1566,"icon":1605},"back to pricing","GoBack",{"altText":1568,"config":1607},{"src":1570,"dataGaName":1571,"dataGaLocation":1566},{"altText":1568,"config":1609},{"src":1574,"dataGaName":1571,"dataGaLocation":1566},{"title":1611,"button":1612,"config":1616},"GitLab Orbit is generally available. Increase agent accuracy and lower token cost",{"text":1277,"config":1613},{"href":1279,"dataGaName":1614,"dataGaLocation":1615},"orbit-ga-banner","global-banner",{"layout":1617,"disabled":1157},"release",{"data":1619},{"text":1620,"config":1621,"items":1626,"minimal":1854},"Git is a trademark of Software Freedom Conservancy and our use of 'GitLab' is under license",{"twitter":1622,"facebook":1623,"youtube":1624,"linkedin":1625},"https://twitter.com/gitlab","https://www.facebook.com/gitlab","https://www.youtube.com/channel/UCnMGQ8QHMAnVIsI3xJrihhg","https://www.linkedin.com/company/gitlab-com",[1627,1675,1734,1781,1822],{"title":1370,"links":1628,"subMenu":1644},[1629,1634,1639],{"text":1630,"config":1631},"View plans",{"href":1372,"dataGaName":1632,"dataGaLocation":1633},"view plans","footer",{"text":1635,"config":1636},"Why Premium?",{"href":1637,"dataGaName":1638,"dataGaLocation":1633},"/pricing/premium/","why premium",{"text":1640,"config":1641},"Why Ultimate?",{"href":1642,"dataGaName":1643,"dataGaLocation":1633},"/pricing/ultimate/","why ultimate",[1645],{"title":1646,"links":1647},"Contact Us",[1648,1651,1653,1655,1660,1665,1670],{"text":1649,"config":1650},"Contact sales",{"href":1517,"dataGaName":1188,"dataGaLocation":1633},{"text":1520,"config":1652},{"href":1522,"dataGaName":1523,"dataGaLocation":1633},{"text":1525,"config":1654},{"href":1527,"dataGaName":1528,"dataGaLocation":1633},{"text":1656,"config":1657},"Status",{"href":1658,"dataGaName":1659,"dataGaLocation":1633},"https://status.gitlab.com/","status",{"text":1661,"config":1662},"Terms of use",{"href":1663,"dataGaName":1664,"dataGaLocation":1633},"/terms/","terms of use",{"text":1666,"config":1667},"Privacy statement",{"href":1668,"dataGaName":1669,"dataGaLocation":1633},"/privacy/","privacy statement",{"text":1671,"config":1672},"Cookie preferences",{"dataGaName":1673,"dataGaLocation":1633,"id":1674,"isOneTrustButton":135},"cookie preferences","ot-sdk-btn",{"title":1196,"links":1676,"subMenu":1692},[1677,1680,1682,1684,1686,1688],{"text":1678,"config":1679},"Explore the platform",{"href":1204,"dataGaName":1198,"dataGaLocation":1633},{"text":1256,"config":1681},{"href":1258,"dataGaName":1259,"dataGaLocation":1633},{"text":1210,"config":1683},{"href":1212,"dataGaName":1213,"dataGaLocation":1633},{"text":1261,"config":1685},{"href":1263,"dataGaName":1264,"dataGaLocation":1633},{"text":1243,"config":1687},{"href":1245,"dataGaName":1246,"dataGaLocation":1633},{"text":1689,"config":1690},"Why GitLab",{"href":1560,"dataGaName":1691,"dataGaLocation":1633},"why gitlab",[1693],{"title":1694,"links":1695},"Topics",[1696,1700,1705,1709,1714,1719,1724,1729],{"text":1210,"config":1697},{"href":1698,"dataGaName":1699,"dataGaLocation":1633},"/topics/ci-cd/","cicd",{"text":1701,"config":1702},"GitOps",{"href":1703,"dataGaName":1704,"dataGaLocation":1633},"/topics/gitops/","gitops",{"text":1207,"config":1706},{"href":1707,"dataGaName":1708,"dataGaLocation":1633},"/topics/devops/","devops",{"text":1710,"config":1711},"Version Control",{"href":1712,"dataGaName":1713,"dataGaLocation":1633},"/topics/version-control/","version control",{"text":1715,"config":1716},"DevSecOps",{"href":1717,"dataGaName":1718,"dataGaLocation":1633},"/topics/devsecops/","devsecops",{"text":1720,"config":1721},"Cloud Native",{"href":1722,"dataGaName":1723,"dataGaLocation":1633},"/topics/cloud-native/","cloud native",{"text":1725,"config":1726},"AI for Coding",{"href":1727,"dataGaName":1728,"dataGaLocation":1633},"/topics/devops/ai-for-coding/","ai for coding",{"text":1730,"config":1731},"Agentic AI",{"href":1732,"dataGaName":1733,"dataGaLocation":1633},"/topics/agentic-ai/","agentic ai",{"title":1282,"links":1735},[1736,1739,1742,1745,1748,1751,1753,1755,1757,1759,1761,1764,1766,1769,1773,1777],{"text":1737,"config":1738},"DevOps modernization",{"href":1297,"dataGaName":1298,"dataGaLocation":1633},{"text":1740,"config":1741},"Security modernization",{"href":1302,"dataGaName":1303,"dataGaLocation":1633},{"text":1743,"config":1744},"AI modernization",{"href":1307,"dataGaName":1308,"dataGaLocation":1633},{"text":1746,"config":1747},"Financial services",{"href":1333,"dataGaName":1334,"dataGaLocation":1633},{"text":1749,"config":1750},"Public sector",{"href":1338,"dataGaName":1339,"dataGaLocation":1633},{"text":1341,"config":1752},{"href":1343,"dataGaName":1344,"dataGaLocation":1633},{"text":1346,"config":1754},{"href":1348,"dataGaName":1349,"dataGaLocation":1633},{"text":1351,"config":1756},{"href":1353,"dataGaName":1354,"dataGaLocation":1633},{"text":1356,"config":1758},{"href":1358,"dataGaName":1359,"dataGaLocation":1633},{"text":1313,"config":1760},{"href":1315,"dataGaName":1316,"dataGaLocation":1633},{"text":1762,"config":1763},"Small business",{"href":1320,"dataGaName":1321,"dataGaLocation":1633},{"text":1323,"config":1765},{"href":1325,"dataGaName":1326,"dataGaLocation":1633},{"text":1701,"config":1767},{"href":1768,"dataGaName":1704,"dataGaLocation":1633},"/solutions/gitops/",{"text":1770,"config":1771},"Software composition analysis",{"href":1250,"dataGaName":1772,"dataGaLocation":1633},"software composition analysis",{"text":1774,"config":1775},"Value stream management",{"href":1268,"dataGaName":1776,"dataGaLocation":1633},"value stream management",{"text":1778,"config":1779},"All solutions",{"href":1289,"dataGaName":1780,"dataGaLocation":1633},"all solutions",{"title":1375,"links":1782},[1783,1788,1793,1795,1797,1799,1801,1803,1805,1807,1809,1811,1813,1815,1818],{"text":1784,"config":1785},"Install",{"href":1786,"dataGaName":1787,"dataGaLocation":1633},"/install/","install",{"text":1789,"config":1790},"Quick start guides",{"href":1791,"dataGaName":1792,"dataGaLocation":1633},"/get-started/","quick setup checklists",{"text":1388,"config":1794},{"href":1390,"dataGaName":1391,"dataGaLocation":1633},{"text":1393,"config":1796},{"href":1395,"dataGaName":1396,"dataGaLocation":1633},{"text":1398,"config":1798},{"href":1400,"dataGaName":1401,"dataGaLocation":1633},{"text":1403,"config":1800},{"href":1405,"dataGaName":1406,"dataGaLocation":1633},{"text":1408,"config":1802},{"href":1410,"dataGaName":1411,"dataGaLocation":1633},{"text":1421,"config":1804},{"href":1423,"dataGaName":1424,"dataGaLocation":1633},{"text":1426,"config":1806},{"href":1428,"dataGaName":1429,"dataGaLocation":1633},{"text":1431,"config":1808},{"href":1433,"dataGaName":589,"dataGaLocation":1633},{"text":1435,"config":1810},{"href":1437,"dataGaName":1438,"dataGaLocation":1633},{"text":1440,"config":1812},{"href":1442,"dataGaName":1443,"dataGaLocation":1633},{"text":1503,"config":1814},{"href":1505,"dataGaName":1506,"dataGaLocation":1633},{"text":1816,"config":1817},"What's new",{"href":1451,"dataGaName":1452,"dataGaLocation":1633},{"text":1819,"config":1820},"All resources",{"href":1382,"dataGaName":1821,"dataGaLocation":1633},"all resources",{"title":1454,"links":1823},[1824,1826,1828,1830,1832,1834,1836,1838,1840,1844,1849],{"text":1462,"config":1825},{"href":1464,"dataGaName":1456,"dataGaLocation":1633},{"text":1467,"config":1827},{"href":1469,"dataGaName":1470,"dataGaLocation":1633},{"text":1473,"config":1829},{"href":1475,"dataGaName":1476,"dataGaLocation":1633},{"text":1478,"config":1831},{"href":1480,"dataGaName":1481,"dataGaLocation":1633},{"text":1483,"config":1833},{"href":1485,"dataGaName":1486,"dataGaLocation":1633},{"text":1488,"config":1835},{"href":1490,"dataGaName":1491,"dataGaLocation":1633},{"text":1493,"config":1837},{"href":1495,"dataGaName":1496,"dataGaLocation":1633},{"text":1498,"config":1839},{"href":1500,"dataGaName":1501,"dataGaLocation":1633},{"text":1841,"config":1842},"Sustainability",{"href":1843,"dataGaName":1841,"dataGaLocation":1633},"/sustainability/",{"text":1845,"config":1846},"Diversity, inclusion and belonging (DIB)",{"href":1847,"dataGaName":1848,"dataGaLocation":1633},"/diversity-inclusion-belonging/","Diversity, inclusion and belonging",{"text":1850,"config":1851},"Modern Slavery Transparency Statement",{"href":1852,"dataGaName":1853,"dataGaLocation":1633},"https://handbook.gitlab.com/handbook/legal/modern-slavery-act-transparency-statement/","modern slavery transparency statement",{"items":1855},[1856,1859,1862],{"text":1857,"config":1858},"Terms",{"href":1663,"dataGaName":1664,"dataGaLocation":1633},{"text":1860,"config":1861},"Cookies",{"dataGaName":1673,"dataGaLocation":1633,"id":1674,"isOneTrustButton":135},{"text":1863,"config":1864},"Privacy",{"href":1668,"dataGaName":1669,"dataGaLocation":1633},[1866],{"id":1867,"title":7,"body":1155,"config":1868,"content":1870,"description":1155,"extension":1874,"meta":1875,"navigation":135,"path":1876,"seo":1877,"stem":1878,"__hash__":1879},"blogAuthors/en-us/blog/authors/fernando-diaz.yml",{"template":1869},"BlogAuthor",{"name":7,"config":1871},{"headshot":1872,"ctfId":1873},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1749659556/Blog/Author%20Headshots/fern_diaz.png","fjdiaz","yml",{},"/en-us/blog/authors/fernando-diaz",{},"en-us/blog/authors/fernando-diaz","lxRJIOydP4_yzYZvsPcuQevP9AYAKREF7i8QmmdnOWc",[1881,1889,1897],{"title":1882,"description":1883,"heroImage":1884,"category":1151,"date":1885,"authors":1886,"slug":1888,"externalUrl":1155},"GitLab Orbit: Find vulnerability blast radius without the manual hunt","Exploitation happens at machine speed now. Map every project, owner, and pipeline a critical CVE touches so remediation can keep up.","https://res.cloudinary.com/about-gitlab-com/image/upload/v1780996524/sd1vpl8empy26wizarqj.png","2026-10-29",[1887],"Rebecca Carter","find-vulnerability-blast-radius-with-gitlab-orbit",{"title":1890,"description":1891,"heroImage":1892,"category":1151,"date":1893,"authors":1894,"slug":1896,"externalUrl":1155},"What happens when vulnerabilities are discovered faster than you can fix them?","Frontier AI is changing how quickly vulnerabilities can be discovered and exploited. The next challenge is bringing that same speed to remediation and prevention, inside the software factory.","https://res.cloudinary.com/about-gitlab-com/image/upload/v1772195014/ooezwusxjl1f7ijfmbvj.png","2026-10-28",[1895],"Bill Staples","security-at-machine-speed",{"title":1898,"description":1899,"heroImage":1900,"category":1151,"date":1901,"authors":1902,"slug":1904,"externalUrl":1155},"Uncover the business logic vulnerabilities SAST scanners miss","Now in early access, Business Logic Security Analyzer reads your repository, infers what each endpoint should enforce, and flags the gaps.","https://res.cloudinary.com/about-gitlab-com/image/upload/v1756122536/akivvcnafog9c4dhhzkp.png","2026-10-20",[1903],"Chris Widstrom","gitlab-business-logic-security-analyzer",{"header":1906,"text":1907,"button":1911,"disclaimer":1914},"Start your free\n\n30-day GitLab trial\n",[1908,1909,1910],"GitLab Duo Agent Platform access","Try our most advanced features","Automate complex tasks with AI",{"text":1180,"config":1912},{"href":1913,"dataGaName":1183,"dataGaLocation":1424},"https://gitlab.com/-/trials/new?glm_content=default-saas-trial&glm_source=about.gitlab.com/blog/","No credit card required.",{"header":1916,"blurb":1917,"button":1918,"secondaryButton":1923},"Start building faster today","See what your team can do with the intelligent orchestration platform for DevSecOps.\n",{"text":1919,"config":1920},"Get your free trial",{"href":1921,"dataGaName":1183,"dataGaLocation":1922},"https://gitlab.com/-/trial_registrations/new?glm_content=default-saas-trial&glm_source=about.gitlab.com/","feature",{"text":1649,"config":1924},{"href":1517,"dataGaName":1188,"dataGaLocation":1922},1794911788140]