Facebook Twitter Instagram
    • Privacy Policy
    • Contact Us
    Facebook Twitter Instagram Pinterest Vimeo
    AI Home SecurityAI Home Security
    • Home
    • Home Security
    • Cyber Security
    • Biometric Technology
    Contact
    AI Home SecurityAI Home Security
    Cyber Security

    Why I Chose Google Bard to Help Write Security Policies

    justmattgBy justmattgDecember 20, 2023No Comments5 Mins Read

    [ad_1]

    COMMENTARY

    Ever since large language models (LLMs) like ChatGPT burst onto the scene a year ago, there have been a flurry of use cases for leveraging them in enterprise security environments. From the operational, such as analyzing logs, to assisting detection of phishing attacks, to the more mundane, like rewriting documentation.

    While there’s been a lot of focus on ChatGPT, I have been testing Google Bard for rewriting and simplifying old security documentation that needed a touch-up. Most notable is the dreaded security policy. You’ll be hard-pressed to find anyone who loves writing (or even reading) security policies. But as they form the skeleton of most enterprise security frameworks, they are quite an important bit of documentation.

    So how does Google Bard stack up to ChatGPT for rewriting security documentation, and specifically security policies? Before I answer, I’ll share some tips for getting started.

    Best Practices for Using LLMs to Write Security Docs

    First thing first: Remove any proprietary data or personally identifiable information (PII) from your documentation. As policies are generally high-level, there shouldn’t be much of this.

    Next, write the prompts you’ll feed into the LLM with the policies you want to update. Here are a few prompts that work well for Google Bard:

    • “Rewrite the following security policy, removing duplicates and being as succinct as possible. Structure the response in bullet-point format.”

    • “Using as few words as possible, rewrite the following security policy. Remove any redundant phrases and structure them an easy-to-read format.”

    • “Make the following security policy easier to read. Remove any legal-sounding words and simplify terminology where possible.”

    Now that you have your prompts, the LLM can start ingesting your policies or procedures.

    Helpful Bard Features That Aren’t in ChatGPT

    Google Bard has several useful features that are not available in ChatGPT.

    One, it understands that it’s writing a security policy so, while it always follows the prompt’s directives, it will also change suggestive language to authoritative language. For example, it will change “should” to “must,” which is important in a policy. This is a nice feature that ChatGPT lacks.

    Bard also has a neat “draft” feature that can be easy to miss. In the top-right corner of the generated document, there’s a “view other drafts” button. By clicking the button, you gain access to two alternative texts generated by your prompt (to give you three drafts in all).

    3 drafts in Google Bard

    You can move between the three drafts and pick the one that best suits your preference. If you’re unsatisfied with any of the drafts, just click the “regenerate drafts” button to the right of the three boxes, and it will generate three more options. While ChatGPT can regenerate options in unitary fashion, it won’t present them in the user interface like Bard does; you have to regenerate them individually.

    Once you pick the draft that suits you, you can modify it again by selecting the “modify response” icon (highlighted below) at the bottom of the draft:

    This gives you options to make your document shorter, longer, simpler, more casual, or more professional.

    Options to modify Bard's response

    The “Simpler” option prompts Bard to reduce word count, simplify language, and shorten sentence length. “More casual” isn’t appropriate for security documentation, as it produces almost comical directives like “don’t do that, man!” This is probably not what you want for an enterprise security policy. The “More professional” option makes sentences longer and words more complex, effectively pushing your policy towards “legalese.” These options impact the tone and readability of your document, so play with them to your heart’s content.

    Bard has a couple of other neat options that don’t exist in ChatGPT. The “Google” button at the bottom of the draft can quickly dig up (via Google search) a comparison of what you’ve written. If you paste in a physical security policy, for example, it will search for something like, “What is the purpose of a physical security policy?” or “What is a physical security policy?” Hopefully, you already know what your security policy is for.

    Once you’re done, you’ve effectively got a nice, shiny new security policy without superfluous language and that’s readable to the common mortal. You’ve also saved yourself a huge amount of time. You can export it directly into Google Docs (no Microsoft integration yet), copy it directly, or share it with a link.

    Google Bard’s Advantages for Writing Security Documentation

    What’s the resource gain on using this method? After running it through 300 pages of documentation, the answer to that is “significant.” It takes an hour or so to manually proofread a single 10-page policy, remove excess verbiage, tidy up grammar, remove duplicates, and improve readability and formatting. The Bard approach reduced it to minutes.

    This effectively compressed weeks’ worth of work into a few hours with significant resource savings. And most important, our policies are now readable and understandable to a layperson. While I still had to review the policies at the end to tidy up sentence structure and formatting, I found that Google Bard is a very good companion for rewriting security documentation that, at this time, has several advantages over ChatGPT.



    [ad_2]

    Source link

    Previous ArticleFBI Takes Down BlackCat Ransomware, Releases Free Decryption Tool
    Next Article Behind the Scenes of Matveev’s Ransomware Empire: Tactics and Team
    justmattg
    • Website

    Related Posts

    Cyber Security

    Name That Toon: Last Line of Defense

    April 16, 2024
    Cyber Security

    OpenJS Foundation Targeted in Potential JavaScript Project Takeover Attempt

    April 16, 2024
    Cyber Security

    Middle East Cyber Ops Intensify, With Israel the Main Target

    April 16, 2024
    Add A Comment

    Leave A Reply Cancel Reply

    Facebook Twitter Instagram Pinterest
    • Privacy Policy
    • Contact Us
    AI Home Security © 2025 All rights reserved | Designed By ESmartsSolution

    Type above and press Enter to search. Press Esc to cancel.

    ↑