Chapter 12: Automating your Network Security Using Python and the Firepower APIs
Security has become a central concern for every network operations team in the world. Whether you are securing the network of a global corporation or the wireless access of your local coffee shop, network security touches every aspect of network operations. In this chapter, we are going to focus on the automation abilities of Cisco's Firepower Management Center (FMC) by using its Representational State Transfer (REST) application programming interface (API). Using automation together with FMC allows us to constantly check our enacted access policies or automatically update them.
In this chapter, we are going to cover the following recipes:
- Exploring the API Explorer
- Authenticating against the FMC REST API
- Retrieving access policies
- Changing access policies
- Retrieving access rules
- Changing access rules
- Deleting access rules