Stir in the tomato sauce, beef broth, diced tomatoes, dried basil, oregano, salt, and pepper. Bring to a boil, then reduce the heat and let it simmer for about 10 minutes.
Cook the ditalini pasta separately according to package instructions until al-dente.
Add the drained kidney beans and cannellini beans to the soup and heat through.
Drain the cooked pasta and gently stir it into the soup mixture.
Serve the soup hot, topped with freshly grated Parmesan cheese or fresh herbs.
Notes
For a vegetarian version, swap ground beef for lentils or mushrooms and use vegetable broth.