Heat olive oil in a large pot over medium heat. Add diced onion and cook until translucent, about 5 minutes. Add minced garlic and cook for another minute.
Add chicken broth, diced tomatoes, cannellini beans, ditalini pasta, dried oregano, and dried basil to the pot. Stir to combine.
Bring the mixture to a boil, then reduce heat and let it simmer for about 15-20 minutes, or until the pasta is tender.
Season with salt and pepper to taste. Serve hot, topped with grated Parmesan cheese.