> For the complete documentation index, see [llms.txt](https://asafahmadov.gitbook.io/devsecops/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://asafahmadov.gitbook.io/devsecops/2.-approaching-automated-security-testing-in-devsecops/differentiating-the-pros-and-cons-of-automated-security-testing.md).

# Differentiating the Pros and Cons of Automated Security Testing

### Advantages of Automated Security Testing

&#x20;    ▪ Scalable &#x20;

&#x20;    ▪ Repeatable&#x20;

&#x20;    ▪ Automatically block builds when tests fail (gating)&#x20;

&#x20;    ▪ Security becomes a habit, a standard in the development process&#x20;

&#x20;    ▪ Test results can change over time even if the code doesn’t change

### Disadvantages of Automated Security Testing

&#x20;    ▪ Scans can take a long time&#x20;

&#x20;    ▪ Tools are generic&#x20;

&#x20;    ▪ False positives can get in the way&#x20;

&#x20;    ▪ Configuring and maintaining relevant tests is a continuous cost&#x20;

&#x20;    ▪ Security is not static, so test parameters should change over time

### When Automated Security Testing Is <mark style="color:green;">Useful</mark>

&#x20;    ▪ Investment versus reward&#x20;

&#x20;    ▪ When delta scans are easy&#x20;

&#x20;    ▪ To comply with standards&#x20;

&#x20;    ▪ To get a security baseline

### When Automated Security Testing Is <mark style="color:red;">Less Useful</mark>

&#x20;    ▪ Investment versus reward &#x20;

&#x20;    ▪ Complex business rules&#x20;

&#x20;    ▪ Fast-changing environments&#x20;

&#x20;    ▪ Mix of frameworks and languages

#### Some advice for using tools

&#x20;    ▪ Use more than one tool for the same kind of test&#x20;

&#x20;    ▪ Let the team experiment with different tools&#x20;

&#x20;    ▪ Reporting format can make a difference&#x20;

&#x20;    ▪ Implement what works best for the team&#x20;

&#x20;    ▪ Facilitate, not mandate

&#x20;    ▪ Know what to do with non-compliance results before implementing scans


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://asafahmadov.gitbook.io/devsecops/2.-approaching-automated-security-testing-in-devsecops/differentiating-the-pros-and-cons-of-automated-security-testing.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
