Pode criar várias versões de uma regra. Isto permite-lhe experimentar a lógica das regras para uma análise mais detalhada dos dados de eventos.
Para ver as versões de uma regra, navegue para o editor de regras:
Selecione uma regra.
Clique no ícone do menu de regras e selecione Ver versões, conforme mostrado abaixo.
Opção de menu Ver versões
É apresentada a vista de versões de regras.
Nesta vista, pode selecionar qualquer uma das versões anteriores da regra.
As versões das regras são etiquetadas com a hora em que foram criadas.
Esta vista oferece várias opções:
GUARDAR COMO NOVO: guarda a versão da regra apresentada atualmente como uma regra nova e separada.
VER DETEÇÕES: apresenta as deteções armazenadas com esta versão da regra.
Nota: estas deteções podem não ser atuais, consoante a antiguidade da versão da regra.
EXECUTAR TESTE: teste a versão atual da regra em tempo real, o que lhe permite determinar a eficácia desta versão da regra.
Quando terminar de examinar as versões da regra selecionada, clique em EXIT para regressar ao editor de regras.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-08-20 UTC."],[[["\u003cp\u003eMultiple versions of a rule can be created, allowing for experimentation and detailed analysis of event data.\u003c/p\u003e\n"],["\u003cp\u003eDetections are tied to the specific rule version that generated them, ensuring clear tracking of results.\u003c/p\u003e\n"],["\u003cp\u003eUsers can access and review previous rule versions through the "View Versions" option in the Rules Editor.\u003c/p\u003e\n"],["\u003cp\u003eEach rule version provides options to save as a new rule, view detections, or run a real-time test, all from the versions view page.\u003c/p\u003e\n"]]],[],null,["# View previous versions of a rule\n================================\n\nSupported in: \nGoogle secops [SIEM](/chronicle/docs/secops/google-secops-siem-toc)\n\nYou can create multiple versions of a rule. This lets you to experiment with your rule logic\nfor a more nuanced examination of your event data.\n| **Note:** Any detections made with a version of a rule remain with it. If you switch to a different version of a rule, the detections you view are associated with that version and that version only.\n| **Note:** Rules can create detections on existing data. During reprocessing of enriched events, a rule can create a detection on an event that was modified (enrichment reoccurred) or on an event that matches the logic of a new rule version.\n\nTo view the versions of a rule, navigate to the Rules Editor:\n\n1. Select a rule.\n2. Click the rule menu icon and select **View Versions** as shown below.\n\n\n **View Versions menu option**\n3. Rule versions view is displayed.\n\n From this view, you can select any of the previous versions of the rule.\n Rule versions are labeled with the time it was created.\n4. This view provides you with a number of options:\n\n - **SAVE AS NEW**---Saves the currently displayed version of the rule as a new and separate rule.\n - **VIEW DETECTIONS**---Display the detections stored with this version of the rule. Note: These detections might not be current depending on the age of the rule version.\n - **RUN TEST**---Test the current version of the rule in real time, enabling you to determine the effectiveness of this version of the rule.\n\n | **Note:** Detections found through the test are not saved.\n5. When you have finished examining the versions of the selected rule, click **EXIT** to return to the Rules Editor.\n\n**Need more help?** [Get answers from Community members and Google SecOps professionals.](https://security.googlecloudcommunity.com/google-security-operations-2)"]]